mirror of https://github.com/YosysHQ/yosys.git
11 lines
275 B
Tcl
11 lines
275 B
Tcl
|
# gw_sh run.tcl
|
||
|
exec yosys -p "synth_gowin -top demo -vout demo_syn.v" demo.v
|
||
|
add_file -cst demo.cst
|
||
|
add_file -sdc demo.sdc
|
||
|
add_file -vm demo_syn.v
|
||
|
add_file -cfg device.cfg
|
||
|
add_setting -pnr pnr.cfg
|
||
|
set_option -device GW1NR-9-QFN88-6
|
||
|
set_option -pn GW1NR-LV9QN88C6/I5
|
||
|
run_pnr
|