Skip to content

Commit

Permalink
Merge pull request #429 from os-fpga/EDA-3187-add-setup-lec-sim
Browse files Browse the repository at this point in the history
EDA-3187 add setup lec sim
  • Loading branch information
NadeemYaseen authored Oct 29, 2024
2 parents ef06ce9 + d74383b commit 91475d2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@ parse_cga exit 1; }
echo ""
fi
echo "clear_simulation_files">>raptor_tcl.tcl
echo "setup_lec_sim">>raptor_tcl.tcl
echo "simulate gate icarus">>raptor_tcl.tcl
echo "simulate pnr icarus">>raptor_tcl.tcl
echo "setup_lec_sim 10 2">>raptor_tcl.tcl
[ "$tool_name" = "iverilog" ] && echo "simulate gate icarus">>raptor_tcl.tcl || echo "simulate gate verilator">>raptor_tcl.tcl
[ "$tool_name" = "iverilog" ] && echo "simulate pnr icarus">>raptor_tcl.tcl || echo "simulate pnr verilator">>raptor_tcl.tcl
echo "sta">>raptor_tcl.tcl
echo "power">>raptor_tcl.tcl
echo "bitstream $bitstream">>raptor_tcl.tcl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ parse_cga exit 1; }
else
echo ""
fi
echo "setup_lec_sim 10 2">>raptor_tcl.tcl
[ "$tool_name" = "iverilog" ] && echo "simulate gate icarus">>raptor_tcl.tcl || echo "simulate gate verilator">>raptor_tcl.tcl
[ "$tool_name" = "iverilog" ] && echo "simulate pnr icarus">>raptor_tcl.tcl || echo "simulate pnr verilator">>raptor_tcl.tcl
echo "sta">>raptor_tcl.tcl
echo "power">>raptor_tcl.tcl
echo "bitstream $bitstream">>raptor_tcl.tcl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ parse_cga exit 1; }
[ -z "$synthesis_type" ] && echo "" || echo "synthesis_type $synthesis_type">>raptor_tcl.tcl
[ -z "$custom_synth_script" ] && echo "" || echo "custom_synth_script $custom_synth_script">>raptor_tcl.tcl
[ -z "$synth_options" ] && echo "" || echo "synth_options $synth_options">>raptor_tcl.tcl
[ -z "$strategy" ] && echo "" || echo "synthesize $strategy">>raptor_tcl.tcl
[ -z "$strategy" ] && echo "" || echo "synthesize $strategy">>raptor_tcl.tcl
if [ "$post_synth_sim" == true ]; then
echo "# Open the input file in read mode">>raptor_tcl.tcl
echo "set input_file [open \"$design/run_1/synth_1_1/synthesis/$design\_post_synth.v\" r]">>raptor_tcl.tcl
Expand Down Expand Up @@ -263,6 +263,9 @@ parse_cga exit 1; }
else
echo ""
fi
echo "setup_lec_sim 10 2">>raptor_tcl.tcl
[ "$tool_name" = "iverilog" ] && echo "simulate gate icarus">>raptor_tcl.tcl || echo "simulate gate verilator">>raptor_tcl.tcl
[ "$tool_name" = "iverilog" ] && echo "simulate pnr icarus">>raptor_tcl.tcl || echo "simulate pnr verilator">>raptor_tcl.tcl
echo "sta">>raptor_tcl.tcl
echo "power">>raptor_tcl.tcl
echo "bitstream $bitstream">>raptor_tcl.tcl
Expand Down

0 comments on commit 91475d2

Please sign in to comment.