aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples/tests/ram_nexus/run_nexus.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'fpga_interchange/examples/tests/ram_nexus/run_nexus.tcl')
-rw-r--r--fpga_interchange/examples/tests/ram_nexus/run_nexus.tcl15
1 files changed, 15 insertions, 0 deletions
diff --git a/fpga_interchange/examples/tests/ram_nexus/run_nexus.tcl b/fpga_interchange/examples/tests/ram_nexus/run_nexus.tcl
new file mode 100644
index 00000000..4ea5e282
--- /dev/null
+++ b/fpga_interchange/examples/tests/ram_nexus/run_nexus.tcl
@@ -0,0 +1,15 @@
+yosys -import
+
+read_verilog $::env(SOURCES)
+
+synth_nexus -nolutram -nowidelut -noccu2 -nodsp
+techmap -max_iter 1 -map $::env(TECHMAP)
+
+# 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)