Skip to content

Commit

Permalink
nexus: Fix format strings to remove space padding
Browse files Browse the repository at this point in the history
Signed-off-by: gatecat <[email protected]>
  • Loading branch information
gatecat committed Dec 1, 2023
1 parent 8614d9b commit 0f5563d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions techlibs/nexus/brams_map.v
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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),
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 0f5563d

Please sign in to comment.