From c31b17a2e28ac5f70600ee8b27f0befb3a1706be Mon Sep 17 00:00:00 2001 From: "William D. Jones" Date: Thu, 26 Nov 2020 22:34:46 -0500 Subject: [PATCH] machxo2: Add believed-to-be-correct tribuf test. --- tests/arch/machxo2/tribuf.ys | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/arch/machxo2/tribuf.ys 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 -- 2.30.2