From: William D. Jones Date: Fri, 20 Nov 2020 23:16:45 +0000 (-0500) Subject: machxo2: Add dffe test. X-Git-Tag: working-ls180~68 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19b043344c67a0ce5a8a14ef2960f366980c9873;p=yosys.git machxo2: Add dffe test. --- diff --git a/tests/arch/machxo2/dffs.ys b/tests/arch/machxo2/dffs.ys index 3e9f87fec..83a07cfee 100644 --- a/tests/arch/machxo2/dffs.ys +++ b/tests/arch/machxo2/dffs.ys @@ -8,3 +8,12 @@ design -load postopt # load the post-opt design (otherwise equiv_opt loads the p 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 + +design -load read +hierarchy -top dffe +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 dffe # Constrain all select calls below inside the top module +select -assert-count 2 t:FACADE_FF t:LUT4 +select -assert-none t:FACADE_FF t:LUT4 %% t:* %D