Skip to content

Commit 587c414

Browse files
authored
Merge pull request #430 from os-fpga/task/EDA-3187/add_setup_lec_sim
EDA-3187 added setup_lec_sim for counter120bitx5 and cxd9731
2 parents 91475d2 + 27ae55f commit 587c414

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

RTL_testcases/RTL_Benchmarks_Gap_Analysis/counter120bitx5/raptor_run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ parse_cga exit 1; }
258258
else
259259
echo ""
260260
fi
261+
echo "setup_lec_sim 10 2">>raptor_tcl.tcl
262+
[ "$tool_name" = "iverilog" ] && echo "simulate gate icarus">>raptor_tcl.tcl || echo "simulate gate verilator">>raptor_tcl.tcl
263+
[ "$tool_name" = "iverilog" ] && echo "simulate pnr icarus">>raptor_tcl.tcl || echo "simulate pnr verilator">>raptor_tcl.tcl
261264
echo "sta">>raptor_tcl.tcl
262265
echo "power">>raptor_tcl.tcl
263266
echo "bitstream $bitstream">>raptor_tcl.tcl

RTL_testcases/RTL_Benchmarks_Gap_Analysis/cxd9731/raptor_run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,9 @@ parse_cga exit 1; }
270270
else
271271
echo ""
272272
fi
273+
echo "setup_lec_sim">>raptor_tcl.tcl
274+
[ "$tool_name" = "iverilog" ] && echo "simulate gate icarus">>raptor_tcl.tcl || echo "simulate gate verilator">>raptor_tcl.tcl
275+
[ "$tool_name" = "iverilog" ] && echo "simulate pnr icarus">>raptor_tcl.tcl || echo "simulate pnr verilator">>raptor_tcl.tcl
273276
echo "sta">>raptor_tcl.tcl
274277
echo "power">>raptor_tcl.tcl
275278
echo "bitstream $bitstream">>raptor_tcl.tcl

RTL_testcases/RTL_Benchmarks_Gap_Analysis/cxd9731/rtl/Top.v

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ wire [63:0] dna64bits;
1212
wire dna_valid;
1313

1414
wire SR_ena;
15+
wire SR_reg;
1516

1617
wire [9:0] addra;
1718
wire [15:0] douta;

0 commit comments

Comments
 (0)