aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples/tests/wire/run_nexus.tcl
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-06-01 11:45:34 +0100
committerGitHub <noreply@github.com>2021-06-01 11:45:34 +0100
commit665ab09d209d9aa9be4e67ef9401b8c7768e8f3c (patch)
treedd0776a3d57a596b15a3c6c52f7d203cb1094cc1 /fpga_interchange/examples/tests/wire/run_nexus.tcl
parent24ae205f20f0e1a0326e48002ab14d5bacfca1ef (diff)
parent0426ba4e877c0ec1130d8ab7bc74e70cc4e406bf (diff)
downloadnextpnr-665ab09d209d9aa9be4e67ef9401b8c7768e8f3c.tar.gz
nextpnr-665ab09d209d9aa9be4e67ef9401b8c7768e8f3c.tar.bz2
nextpnr-665ab09d209d9aa9be4e67ef9401b8c7768e8f3c.zip
Merge pull request #715 from YosysHQ/gatecat/ic-lifcl40
interchange: Add LIFCL-40 EVN tests
Diffstat (limited to 'fpga_interchange/examples/tests/wire/run_nexus.tcl')
-rw-r--r--fpga_interchange/examples/tests/wire/run_nexus.tcl14
1 files changed, 14 insertions, 0 deletions
diff --git a/fpga_interchange/examples/tests/wire/run_nexus.tcl b/fpga_interchange/examples/tests/wire/run_nexus.tcl
new file mode 100644
index 00000000..cddad3f8
--- /dev/null
+++ b/fpga_interchange/examples/tests/wire/run_nexus.tcl
@@ -0,0 +1,14 @@
+yosys -import
+
+read_verilog $::env(SOURCES)
+
+synth_nexus -nolutram -nowidelut -nobram -noccu2 -nodsp
+
+# opt_expr -undriven makes sure all nets are driven, if only by the $undef
+# net.
+opt_expr -undriven
+opt_clean
+
+setundef -zero -params
+
+write_json $::env(OUT_JSON)