From: William D. Jones Date: Fri, 27 Nov 2020 03:34:46 +0000 (-0500) Subject: machxo2: Add believed-to-be-correct tribuf test. X-Git-Tag: working-ls180~56 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c31b17a2e28ac5f70600ee8b27f0befb3a1706be;p=yosys.git machxo2: Add believed-to-be-correct tribuf test. --- diff --git a/tests/arch/machxo2/tribuf.ys b/tests/arch/machxo2/tribuf.ys new file mode 100644 index 000000000..7f3cd326e --- /dev/null +++ b/tests/arch/machxo2/tribuf.ys @@ -0,0 +1,9 @@ +read_verilog ../common/tribuf.v +hierarchy -top tristate +proc +flatten +equiv_opt -assert -map +/machxo2/cells_sim.v synth_machxo2 # equivalency check +design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design) +cd tristate # Constrain all select calls below inside the top module +select -assert-count 3 t:FACADE_IO +select -assert-none t:FACADE_IO %% t:* %D