File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131elif [[ $1 == " VERILOG" || $1 == " verilog" || $1 == " Verilog" ]]
3232then
3333 # Run 1.) - 13.)
34- 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;' ;
34+ 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;' ;
3535else
3636 echo " Command " $1 " is not supported." ;
3737fi
You can’t perform that action at this time.
0 commit comments