add broken TCL run script
authorPepijn de Vos <pepijndevos@gmail.com>
Wed, 4 Sep 2019 12:47:59 +0000 (14:47 +0200)
committerPepijn de Vos <pepijndevos@gmail.com>
Wed, 4 Sep 2019 12:47:59 +0000 (14:47 +0200)
examples/gowin/pnr.cfg [new file with mode: 0644]
examples/gowin/run.tcl [new file with mode: 0644]

diff --git a/examples/gowin/pnr.cfg b/examples/gowin/pnr.cfg
new file mode 100644 (file)
index 0000000..a1b43cc
--- /dev/null
@@ -0,0 +1,8 @@
+-sdf
+-oc
+-ibs
+-posp
+-o
+-warning_all
+-tt
+-timing
diff --git a/examples/gowin/run.tcl b/examples/gowin/run.tcl
new file mode 100644 (file)
index 0000000..7bb5648
--- /dev/null
@@ -0,0 +1,10 @@
+# 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