diff --git a/include/microwatt_soc.h b/include/microwatt_soc.h index 4d61d27..a224d74 100644 --- a/include/microwatt_soc.h +++ b/include/microwatt_soc.h @@ -39,6 +39,7 @@ #define SYS_REG_INFO_HAS_LITEETH (1ull << 4) #define SYS_REG_INFO_HAS_LARGE_SYSCON (1ull << 5) #define SYS_REG_INFO_HAS_UART1 (1ull << 6) +#define SYS_REG_INFO_HAS_ARTB (1ull << 7) #define SYS_REG_BRAMINFO 0x10 #define SYS_REG_BRAMINFO_SIZE_MASK 0xfffffffffffffull #define SYS_REG_DRAMINFO 0x18 diff --git a/syscon.vhdl b/syscon.vhdl index 05f95a7..31d8d0a 100644 --- a/syscon.vhdl +++ b/syscon.vhdl @@ -64,6 +64,7 @@ architecture behaviour of syscon is constant SYS_REG_INFO_HAS_LETH : integer := 4; -- Has LiteEth ethernet constant SYS_REG_INFO_HAS_LSYS : integer := 5; -- Has 6-bit address syscon constant SYS_REG_INFO_HAS_URT1 : integer := 6; -- Has second UART + constant SYS_REG_INFO_HAS_ARTB : integer := 7; -- Has architected TB frequency -- BRAMINFO contains the BRAM size in the bottom 52 bits -- DRAMINFO contains the DRAM size if any in the bottom 52 bits