aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples/tests/obuftds/run.tcl
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-07-06 11:43:24 +0100
committerGitHub <noreply@github.com>2021-07-06 11:43:24 +0100
commitc0bb2fb76a700a1ff3b9aaa663cfd70194df2a3a (patch)
tree11d7496a94275f54e98d566958890285e18a3104 /fpga_interchange/examples/tests/obuftds/run.tcl
parent8a9fb810369aeb5eed128ef4e7d4de456ef1ec8f (diff)
parent31abefc8e49edce55fb42c99ac99b81e948d9004 (diff)
downloadnextpnr-c0bb2fb76a700a1ff3b9aaa663cfd70194df2a3a.tar.gz
nextpnr-c0bb2fb76a700a1ff3b9aaa663cfd70194df2a3a.tar.bz2
nextpnr-c0bb2fb76a700a1ff3b9aaa663cfd70194df2a3a.zip
Merge pull request #750 from YosysHQ/gatecat/io-improve
IO improvements for OBUFTDS
Diffstat (limited to 'fpga_interchange/examples/tests/obuftds/run.tcl')
-rw-r--r--fpga_interchange/examples/tests/obuftds/run.tcl14
1 files changed, 14 insertions, 0 deletions
diff --git a/fpga_interchange/examples/tests/obuftds/run.tcl b/fpga_interchange/examples/tests/obuftds/run.tcl
new file mode 100644
index 00000000..b8d0df72
--- /dev/null
+++ b/fpga_interchange/examples/tests/obuftds/run.tcl
@@ -0,0 +1,14 @@
+yosys -import
+
+read_verilog $::env(SOURCES)
+
+synth_xilinx -nolutram -nowidelut -nosrl -nocarry -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)