From 49c9b63e0fc45d550afa089eff8fb92b6dce88b7 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 7 Dec 2019 11:09:25 +0100 Subject: [PATCH 1/2] Fix for non-deterministic test --- tests/arch/efinix/mux.ys | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/arch/efinix/mux.ys b/tests/arch/efinix/mux.ys index b46f641e1..91c110ae0 100644 --- a/tests/arch/efinix/mux.ys +++ b/tests/arch/efinix/mux.ys @@ -36,6 +36,6 @@ proc equiv_opt -assert -map +/efinix/cells_sim.v synth_efinix # equivalency check design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design) cd mux16 # Constrain all select calls below inside the top module -select -assert-count 12 t:EFX_LUT4 +select -assert-min 11 t:EFX_LUT4 select -assert-none t:EFX_LUT4 %% t:* %D From 94191a93ddf85f8849d40e5ee85fd659b0780994 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 28 Jan 2020 18:26:10 +0100 Subject: [PATCH 2/2] Updated test to use assert-max --- tests/arch/efinix/mux.ys | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/arch/efinix/mux.ys b/tests/arch/efinix/mux.ys index 91c110ae0..a5ab80d8b 100644 --- a/tests/arch/efinix/mux.ys +++ b/tests/arch/efinix/mux.ys @@ -36,6 +36,6 @@ proc equiv_opt -assert -map +/efinix/cells_sim.v synth_efinix # equivalency check design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design) cd mux16 # Constrain all select calls below inside the top module -select -assert-min 11 t:EFX_LUT4 +select -assert-max 12 t:EFX_LUT4 select -assert-none t:EFX_LUT4 %% t:* %D