File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
RTL_testcases/RTL_Benchmarks_Gap_Analysis/dmx512 Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,9 @@ parse_cga exit 1; }
259
259
else
260
260
echo " "
261
261
fi
262
+ echo " setup_lec_sim" >> raptor_tcl.tcl
263
+ [ " $tool_name " = " iverilog" ] && echo " simulate gate icarus" >> raptor_tcl.tcl || echo " simulate gate verilator" >> raptor_tcl.tcl
264
+ [ " $tool_name " = " iverilog" ] && echo " simulate pnr icarus" >> raptor_tcl.tcl || echo " simulate pnr verilator" >> raptor_tcl.tcl
262
265
echo " sta" >> raptor_tcl.tcl
263
266
echo " power" >> raptor_tcl.tcl
264
267
echo " bitstream $bitstream " >> raptor_tcl.tcl
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ module dmx_dpram #(
24
24
input [depth- 1 :0 ] a,
25
25
input we,
26
26
input [width- 1 :0 ] di,
27
- output reg [width- 1 :0 ] do ,
27
+ output reg [width- 1 :0 ] dout ,
28
28
29
29
input [depth- 1 :0 ] a2,
30
30
input we2,
@@ -37,7 +37,7 @@ reg [width-1:0] ram[0:(1 << depth)-1];
37
37
always @(posedge clk) begin
38
38
if (we)
39
39
ram[a] <= di;
40
- do <= ram[a];
40
+ dout <= ram[a];
41
41
if (we2)
42
42
ram[a2] <= di2;
43
43
do2 <= ram[a2];
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ dmx_dpram channels(
45
45
.a(csr_a[8 :0 ]),
46
46
.we(csr_channels_we),
47
47
.di(csr_di[7 :0 ]),
48
- .do (csr_do_channels[7 :0 ]),
48
+ .dout (csr_do_channels[7 :0 ]),
49
49
50
50
.a2(channel_a),
51
51
.we2(1'b0 ),
You can’t perform that action at this time.
0 commit comments