From 1cd2901d854b969a8cb1afc66e3f3388766776a0 Mon Sep 17 00:00:00 2001 From: Tomasz Michalak Date: Wed, 9 Jun 2021 23:01:27 +0200 Subject: fpga_interchange: Add initial site router test framework Signed-off-by: Tomasz Michalak --- fpga_interchange/site_router_tests/common/synth.tcl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 fpga_interchange/site_router_tests/common/synth.tcl (limited to 'fpga_interchange/site_router_tests/common/synth.tcl') diff --git a/fpga_interchange/site_router_tests/common/synth.tcl b/fpga_interchange/site_router_tests/common/synth.tcl new file mode 100644 index 0000000..cba4503 --- /dev/null +++ b/fpga_interchange/site_router_tests/common/synth.tcl @@ -0,0 +1,14 @@ +yosys -import + +read_verilog $::env(SOURCES) + +synth_xilinx -flatten -abc9 -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