diff --git a/techlibs/nexus/brams_map.v b/techlibs/nexus/brams_map.v index cec56cec4ab..dbcee5c41c7 100644 --- a/techlibs/nexus/brams_map.v +++ b/techlibs/nexus/brams_map.v @@ -134,8 +134,8 @@ DP16K #( .INITVAL_3D($sformatf("0x%080x", init_slice('h3d))), .INITVAL_3E($sformatf("0x%080x", init_slice('h3e))), .INITVAL_3F($sformatf("0x%080x", init_slice('h3f))), - .DATA_WIDTH_A($sformatf("X%d", PORT_A_WIDTH)), - .DATA_WIDTH_B($sformatf("X%d", PORT_B_WIDTH)), + .DATA_WIDTH_A($sformatf("X%0d", PORT_A_WIDTH)), + .DATA_WIDTH_B($sformatf("X%0d", PORT_B_WIDTH)), .OUTREG_A("BYPASSED"), .OUTREG_B("BYPASSED"), .RESETMODE_A(PORT_A_OPTION_RESETMODE), @@ -298,8 +298,8 @@ PDPSC16K #( .INITVAL_3D($sformatf("0x%080x", init_slice('h3d))), .INITVAL_3E($sformatf("0x%080x", init_slice('h3e))), .INITVAL_3F($sformatf("0x%080x", init_slice('h3f))), - .DATA_WIDTH_W($sformatf("X%d", PORT_W_WIDTH)), - .DATA_WIDTH_R($sformatf("X%d", PORT_R_WIDTH)), + .DATA_WIDTH_W($sformatf("X%0d", PORT_W_WIDTH)), + .DATA_WIDTH_R($sformatf("X%0d", PORT_R_WIDTH)), .OUTREG("BYPASSED"), .RESETMODE(PORT_R_OPTION_RESETMODE), .ASYNC_RST_RELEASE(PORT_R_OPTION_RESETMODE), @@ -389,8 +389,8 @@ PDP16K #( .INITVAL_3D($sformatf("0x%080x", init_slice('h3d))), .INITVAL_3E($sformatf("0x%080x", init_slice('h3e))), .INITVAL_3F($sformatf("0x%080x", init_slice('h3f))), - .DATA_WIDTH_W($sformatf("X%d", PORT_W_WIDTH)), - .DATA_WIDTH_R($sformatf("X%d", PORT_R_WIDTH)), + .DATA_WIDTH_W($sformatf("X%0d", PORT_W_WIDTH)), + .DATA_WIDTH_R($sformatf("X%0d", PORT_R_WIDTH)), .OUTREG("BYPASSED"), .RESETMODE(PORT_R_OPTION_RESETMODE), .ASYNC_RST_RELEASE(PORT_R_OPTION_RESETMODE),