diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2023-03-09 11:05:20 +0100 |
---|---|---|
committer | myrtle <gatecat@ds0.me> | 2023-03-16 13:37:23 +0100 |
commit | 26798038fe5dc3f9063cd1cc11e67f64df582c3a (patch) | |
tree | b2c57cbd671f8d1069c34c9a3004d6904f56f7e8 /machxo2/examples/demo.sh | |
parent | 7ad9914e519d465cfb36e0114a644e2d03c6f4fa (diff) | |
download | nextpnr-26798038fe5dc3f9063cd1cc11e67f64df582c3a.tar.gz nextpnr-26798038fe5dc3f9063cd1cc11e67f64df582c3a.tar.bz2 nextpnr-26798038fe5dc3f9063cd1cc11e67f64df582c3a.zip |
Fix examples
Diffstat (limited to 'machxo2/examples/demo.sh')
-rw-r--r-- | machxo2/examples/demo.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/machxo2/examples/demo.sh b/machxo2/examples/demo.sh index 634fbb4d..8e8a49a6 100644 --- a/machxo2/examples/demo.sh +++ b/machxo2/examples/demo.sh @@ -16,7 +16,7 @@ fi set -ex -${YOSYS:-yosys} -p "synth_machxo2 -json $1.json" $1.v -${NEXTPNR:-../../nextpnr-machxo2} --1200 --package QFN32 --json $1.json --textcfg $1.txt +${YOSYS:-yosys} -p "read_verilog $1.v; synth_machxo2 -json $1.json" +${NEXTPNR:-../../nextpnr-machxo2} --device LCMXO2-1200HC-4SG32C --json $1.json --textcfg $1.txt ecppack --compress $DB_ARG $1.txt $1.bit tinyproga -b $1.bit |