machxo2: Add believed-to-be-correct tribuf test.

This commit is contained in:
William D. Jones 2020-11-26 22:34:46 -05:00 committed by Marcelina Kościelnicka
parent c7aaa88f58
commit c31b17a2e2
1 changed files with 9 additions and 0 deletions

View File

@ -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