Skip to content

Commit

Permalink
Update synthesize.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaimueller authored Oct 28, 2024
1 parent eb3e9b2 commit 51d1447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yosys/syn/synthesize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ then
elif [[ $1 == "VERILOG" || $1 == "verilog" || $1 == "Verilog" ]]
then
# Run 1.) - 13.)
yosys -m ghdl -p 'read_verilog '"$2"'*.v; read_verilog -lib '"$LIBRARY_PATH"'custom_cells.v; setattr -set keep_hierarchy 1; synth -top '"$3"'; dfflibmap -liberty '"$LIBRARY_PATH"'custom_cells.lib; abc -liberty '"$LIBRARY_PATH"'custom_cells.lib; opt_clean; stat -liberty '"$LIBRARY_PATH"'custom_cells.lib; setattr -set keep_hierarchy 0; flatten; select '"$3"'; insbuf -buf BUF A Y; write_verilog -noattr -selected design.v;';
yosys -p 'read_verilog '"$2"'*.v; read_verilog -lib '"$LIBRARY_PATH"'custom_cells.v; setattr -set keep_hierarchy 1; synth -top '"$3"'; dfflibmap -liberty '"$LIBRARY_PATH"'custom_cells.lib; abc -liberty '"$LIBRARY_PATH"'custom_cells.lib; opt_clean; stat -liberty '"$LIBRARY_PATH"'custom_cells.lib; setattr -set keep_hierarchy 0; flatten; select '"$3"'; insbuf -buf BUF A Y; write_verilog -noattr -selected design.v;';
else
echo "Command " $1 " is not supported.";
fi

0 comments on commit 51d1447

Please sign in to comment.