From 950db1b6054195a1f45be95ae47f71d518ea9692 Mon Sep 17 00:00:00 2001 From: dam1n19 <dam1n19@soton.ac.uk> Date: Fri, 23 Jun 2023 11:24:33 +0100 Subject: [PATCH] Changed ROMTABLE Value calculation method to improve lint --- src/verilog/slcorem0_integration.v | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/verilog/slcorem0_integration.v b/src/verilog/slcorem0_integration.v index 4698c15..78748de 100644 --- a/src/verilog/slcorem0_integration.v +++ b/src/verilog/slcorem0_integration.v @@ -170,7 +170,11 @@ module slcorem0_integration input wire SE, input wire RSTBYPASS ); - + // ------------------------------------------------------------ + // ROM Table Value Calculation + // ------------------------------------------------------------ + wire [31:0] ROMTABLE_VAL; + assign ROMTABLE_VAL = {ROMTABLE_BASE[31:2],2'd3}; // ------------------------------------------------------------ // Configurability // ------------------------------------------------------------ @@ -379,7 +383,7 @@ module slcorem0_integration .SLVRDATA (slv_rdata_dap[31:0]), .SLVREADY (slv_ready_dap), .SLVRESP (slv_resp_dap), - .BASEADDR (ROMTABLE_BASE + 32'h00000003), + .BASEADDR (ROMTABLE_VAL), .ECOREVNUM (ECOREVNUM[27:20]), .SE (SE) ); -- GitLab