From 6edc11de4de20aa5194f5cf3705a320b1891a2d6 Mon Sep 17 00:00:00 2001 From: Alessandro Comodi Date: Mon, 5 Jul 2021 13:34:34 +0200 Subject: interchange: tests: add obuftds test Signed-off-by: Alessandro Comodi --- fpga_interchange/examples/tests/obuftds/run.tcl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 fpga_interchange/examples/tests/obuftds/run.tcl (limited to 'fpga_interchange/examples/tests/obuftds/run.tcl') 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) -- cgit v1.2.3