From 19b043344c67a0ce5a8a14ef2960f366980c9873 Mon Sep 17 00:00:00 2001 From: "William D. Jones" Date: Fri, 20 Nov 2020 18:16:45 -0500 Subject: [PATCH] machxo2: Add dffe test. --- tests/arch/machxo2/dffs.ys | 9 +++++++++ 1 file changed, 9 insertions(+) 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