Skip to content

Commit d74383b

Browse files
committed
added setup_lec_sim for cic_core
1 parent 84e8b01 commit d74383b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

RTL_testcases/RTL_Benchmarks_Gap_Analysis/cic_core/raptor_run.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ parse_cga exit 1; }
209209
[ -z "$synthesis_type" ] && echo "" || echo "synthesis_type $synthesis_type">>raptor_tcl.tcl
210210
[ -z "$custom_synth_script" ] && echo "" || echo "custom_synth_script $custom_synth_script">>raptor_tcl.tcl
211211
[ -z "$synth_options" ] && echo "" || echo "synth_options $synth_options">>raptor_tcl.tcl
212-
[ -z "$strategy" ] && echo "" || echo "synthesize $strategy">>raptor_tcl.tcl
212+
[ -z "$strategy" ] && echo "" || echo "synthesize $strategy">>raptor_tcl.tcl
213213
if [ "$post_synth_sim" == true ]; then
214214
echo "# Open the input file in read mode">>raptor_tcl.tcl
215215
echo "set input_file [open \"$design/run_1/synth_1_1/synthesis/$design\_post_synth.v\" r]">>raptor_tcl.tcl
@@ -263,6 +263,9 @@ parse_cga exit 1; }
263263
else
264264
echo ""
265265
fi
266+
echo "setup_lec_sim 10 2">>raptor_tcl.tcl
267+
[ "$tool_name" = "iverilog" ] && echo "simulate gate icarus">>raptor_tcl.tcl || echo "simulate gate verilator">>raptor_tcl.tcl
268+
[ "$tool_name" = "iverilog" ] && echo "simulate pnr icarus">>raptor_tcl.tcl || echo "simulate pnr verilator">>raptor_tcl.tcl
266269
echo "sta">>raptor_tcl.tcl
267270
echo "power">>raptor_tcl.tcl
268271
echo "bitstream $bitstream">>raptor_tcl.tcl

0 commit comments

Comments
 (0)