aboutsummaryrefslogtreecommitdiffstats
path: root/machxo2/examples/mitertest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'machxo2/examples/mitertest.sh')
-rw-r--r--machxo2/examples/mitertest.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/machxo2/examples/mitertest.sh b/machxo2/examples/mitertest.sh
index cfae28b7..b7ec2695 100644
--- a/machxo2/examples/mitertest.sh
+++ b/machxo2/examples/mitertest.sh
@@ -61,6 +61,7 @@ do_smt() {
miter -equiv -make_assert gold gate ${2}${1}_miter
hierarchy -top ${2}${1}_miter; proc;
opt_clean
+ flatten t:*FACADE_IO*
write_verilog ${2}${1}_miter.v
write_smt2 ${2}${1}_miter.smt2"
@@ -71,8 +72,8 @@ do_smt() {
set -ex
${YOSYS:-yosys} -p "read_verilog ${1}.v
- synth_machxo2 -noiopad -json ${1}.json"
-${NEXTPNR:-../../nextpnr-machxo2} $NEXTPNR_MODE --1200 --package QFN32 --no-iobs --json ${1}.json --write ${2}${1}.json
+ synth_machxo2 -json ${1}.json"
+${NEXTPNR:-../../nextpnr-machxo2} $NEXTPNR_MODE --1200 --package QFN32 --json ${1}.json --write ${2}${1}.json
${YOSYS:-yosys} -p "read_verilog -lib +/machxo2/cells_sim.v
read_json ${2}${1}.json
clean -purge