Implement scrolling segment

This commit is contained in:
2022-11-20 15:47:57 +01:00
parent bf2b307f38
commit 94f916d624
7 changed files with 566 additions and 137 deletions

View File

@@ -41,7 +41,7 @@ package config is
constant CFG_BADR_LED : generic_addr_type := 16#000F0000#;
constant CFG_BADR_SW : generic_addr_type := 16#000F0004#;
constant CFG_BADR_TIMER : generic_addr_type := 16#000F0008#;
constant CFG_BADR_SEG : generic_addr_type := 16#000F00A0#;
constant CFG_BADR_SCR : generic_addr_type := 16#000F00A0#;
-- mask addr
constant CFG_MADR_ZERO : generic_mask_type := 0;
@@ -51,7 +51,7 @@ package config is
constant CFG_MADR_LED : generic_mask_type := 16#3FFFFF#; -- size=1 byte
constant CFG_MADR_SW : generic_mask_type := 16#3FFFFF# - (4 - 1); -- size=4 byte
constant CFG_MADR_TIMER : generic_mask_type := 16#3FFFFF# - (8 - 1); -- size=8 byte (2 words)
constant CFG_MADR_SEG : generic_mask_type := 16#3FFFFF# - (4 - 1); -- size=4 byte
constant CFG_MADR_SCR : generic_mask_type := 16#3FFFFF# - (8 - 1); -- size=8 byte
end package config;