Skip to content

Commit 8be48b5

Browse files
committed
added setup_lec_sim for 2 designs
1 parent 2f23396 commit 8be48b5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

RTL_testcases/RTL_Benchmarks_Gap_Analysis/ftdi_wb_bridge/raptor_run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,9 @@ parse_cga exit 1; }
259259
else
260260
echo ""
261261
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
262265
echo "sta">>raptor_tcl.tcl
263266
echo "power">>raptor_tcl.tcl
264267
echo "bitstream $bitstream">>raptor_tcl.tcl

RTL_testcases/RTL_Benchmarks_Gap_Analysis/gcm-aes/raptor_run.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ start=`date +%s`
77
design="gcm-aes"
88
ip_name="" #design_level
99
#select tool (verilator, vcs, ghdl, iverilog)
10-
tool_name="iverilog"
10+
tool_name="verilator"
1111

1212
#simulation stages
1313
post_synth_sim=false
@@ -263,6 +263,9 @@ parse_cga exit 1; }
263263
else
264264
echo ""
265265
fi
266+
echo "setup_lec_sim">>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)