Skip to content

Commit 307e412

Browse files
authored
Merge pull request #410 from os-fpga/constraint
updated pnr sim and added constraint file for queue
2 parents 49d18ee + 7214d2b commit 307e412

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
create_clock -period 2.5 clk

RTL_testcases/io_constraint_testcases/queue/raptor_run.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ parse_cga exit 1; }
191191

192192
##vary design to design
193193
[ -z "$add_constraint_file" ] && echo "" || echo "add_constraint_file $add_constraint_file">>raptor_tcl.tcl
194-
194+
echo "add_constraint_file constraint.sdc">>raptor_tcl.tcl
195+
195196
if [ "$post_synth_sim" == true ] || [ "$post_route_sim" == true ] || [ "$bitstream_sim" == true ]; then
196197
echo "add_simulation_file ./sim/co_sim_tb/co_sim_$design.v ./rtl/$design.v">>raptor_tcl.tcl
197198
echo "set_top_testbench co_sim_$design">>raptor_tcl.tcl
@@ -257,7 +258,8 @@ parse_cga exit 1; }
257258
[ "$tool_name" = "iverilog" ] && echo "simulate pnr icarus">>raptor_tcl.tcl || echo "simulate pnr verilator">>raptor_tcl.tcl
258259
echo "clear_simulation_files">>raptor_tcl.tcl
259260
echo "setup_lec_sim 10">>raptor_tcl.tcl
260-
echo "simulate timed_pnr icarus">>raptor_tcl.tcl
261+
echo "simulate gate icarus">>raptor_tcl.tcl
262+
echo "simulate pnr icarus">>raptor_tcl.tcl
261263
else
262264
echo ""
263265
fi

0 commit comments

Comments
 (0)