aboutsummaryrefslogtreecommitdiffstats
path: root/examples/gowin/run.sh
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-11-07 12:55:56 +0100
committerClifford Wolf <clifford@clifford.at>2016-11-07 12:55:56 +0100
commit84badc97b374bb5458930217569310b45b188f44 (patch)
tree89c0174a76ee2b53cf805048652fd11da2c6fc59 /examples/gowin/run.sh
parentef603c6fe13f521d774bdc2f0222eb1ee53071f9 (diff)
downloadyosys-84badc97b374bb5458930217569310b45b188f44.tar.gz
yosys-84badc97b374bb5458930217569310b45b188f44.tar.bz2
yosys-84badc97b374bb5458930217569310b45b188f44.zip
Added examples/gowin/
Diffstat (limited to 'examples/gowin/run.sh')
-rw-r--r--examples/gowin/run.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/gowin/run.sh b/examples/gowin/run.sh
new file mode 100644
index 000000000..738e845e5
--- /dev/null
+++ b/examples/gowin/run.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+set -ex
+yosys -p "synth_gowin -top demo -vout demo_syn.v" demo.v
+$GOWIN_HOME/bin/gowin -d demo_syn.v -cst demo.cst -sdc demo.sdc -p GW2A55-PBGA484-6 \
+ -warning_all -out demo_out.v -rpt demo.rpt -tr demo_tr.html -bit demo.bit