diff --git a/Bender.yml b/Bender.yml index d4b3b7b4..36e428e8 100644 --- a/Bender.yml +++ b/Bender.yml @@ -61,6 +61,14 @@ sources: # Level 2 - src/frontends/register_64bit/idma_reg64_frontend.sv + - files: # 2D 64bit register frontend + # Level 0 + - src/frontends/register_64bit_2d/idma_reg64_2d_frontend_reg_pkg.sv + # Level 1 + - src/frontends/register_64bit_2d/idma_reg64_2d_frontend_reg_top.sv + # Level 2 + - src/frontends/register_64bit_2d/idma_reg64_2d_frontend.sv + - files: # 64bit descriptor frontend # Level 0 - src/frontends/desc64/idma_desc64_reg_pkg.sv diff --git a/Makefile b/Makefile index 2479e7ae..1c19606b 100644 --- a/Makefile +++ b/Makefile @@ -283,12 +283,14 @@ REG32_2D_FE_DIR = src/frontends/register_32bit_2d/ REG32_2D_HJSON = $(REG32_2D_FE_DIR)/idma_reg32_2d_frontend.hjson REG64_FE_DIR = src/frontends/register_64bit/ REG64_HJSON = $(REG64_FE_DIR)/idma_reg64_frontend.hjson +REG64_2D_FE_DIR = src/frontends/register_64bit_2d/ +REG64_2D_HJSON = $(REG64_2D_FE_DIR)/idma_reg64_2d_frontend.hjson DESC64_FE_DIR = src/frontends/desc64/ DESC64_HJSON = $(DESC64_FE_DIR)/idma_desc64_frontend.hjson REG_HTML_STRING = "\n\n
\n\n\n" -gen_regs: reg32_2d_regs reg64_regs desc64_regs +gen_regs: reg32_2d_regs reg64_regs desc64_regs reg64_2d_regs reg32_2d_regs: $(PYTHON) $(REG_TOOL) $(REG32_2D_HJSON) -t $(REG32_2D_FE_DIR) -r @@ -306,6 +308,14 @@ reg64_regs: printf "\n" >> $(REG64_FE_DIR)/idma_reg64_frontend.html cp $(REG_PATH)/vendor/lowrisc_opentitan/util/reggen/reg_html.css $(REG64_FE_DIR) +reg64_2d_regs: + $(PYTHON) $(REG_TOOL) $(REG64_2D_HJSON) -t $(REG64_2D_FE_DIR) -r + $(PYTHON) $(REG_TOOL) $(REG64_2D_HJSON) -D > $(REG64_2D_FE_DIR)/idma_reg64_2d_frontend.h + printf $(REG_HTML_STRING) > $(REG64_2D_FE_DIR)/idma_reg64_2d_frontend.html + $(PYTHON) $(REG_TOOL) $(REG64_2D_HJSON) -d >> $(REG64_2D_FE_DIR)/idma_reg64_2d_frontend.html + printf "