3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 00:55:32 +00:00

machxo2: Add dff.ys test, fix another cells_map.v typo.

This commit is contained in:
William D. Jones 2020-11-17 14:35:17 -05:00 committed by Marcelina Kościelnicka
parent 044393b990
commit 84937e9689
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,10 @@
read_verilog ../common/dffs.v
design -save read
hierarchy -top dff
proc
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 dff # Constrain all select calls below inside the top module
select -assert-count 1 t:FACADE_FF
select -assert-none t:FACADE_FF %% t:* %D