Skip to content

Commit 257c7fd

Browse files
committed
Fix template typo, 'block' paramerer is default
1 parent 65e4657 commit 257c7fd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

true_dual_port_write_first_2_clock_ram.sv

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module true_dual_port_write_first_2_clock_ram #( parameter
4141
RAM_DEPTH = 8,
4242

4343
// optional initialization parameters
44-
RAM_STYLE = "",
44+
RAM_STYLE = "block",
4545
INIT_FILE = ""
4646
)(
4747
input clka,

true_single_port_write_first_ram.sv

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
true_single_port_write_first_ram #(
1616
.RAM_WIDTH( DATA_W ),
1717
.RAM_DEPTH( DEPTH ),
18-
.RAM_STYLE( "init.mem" ), // "block","register","M10K","logic",...
19-
.INIT_FILE( "" )
18+
.RAM_STYLE( "block" ), // "block","register","M10K","logic",...
19+
.INIT_FILE( "init.mem" )
2020
) SR1 (
2121
.clka( w_clk ),
2222
.addra( w_ptr[DEPTH_W-1:0] ),
@@ -34,7 +34,7 @@ module true_single_port_write_first_ram #( parameter
3434
RAM_DEPTH = 8,
3535

3636
// optional initialization parameters
37-
RAM_STYLE = "",
37+
RAM_STYLE = "block",
3838
INIT_FILE = ""
3939
)(
4040
input clka,

0 commit comments

Comments
 (0)