aboutsummaryrefslogtreecommitdiffstats
path: root/tests/arch
diff options
context:
space:
mode:
authorMarcelina Koƛcielnicka <mwk@0x04.net>2020-07-22 13:34:11 +0200
committerMarcelina Koƛcielnicka <mwk@0x04.net>2020-07-30 22:26:20 +0200
commitcf606998847a286a52f01d748372df396b59dd2b (patch)
treef36a622fc878847c6240dbbe5be49a8ef8f1a424 /tests/arch
parent8501342fc5898ea1e6aadc33a27df54fa82d9107 (diff)
downloadyosys-cf606998847a286a52f01d748372df396b59dd2b.tar.gz
yosys-cf606998847a286a52f01d748372df396b59dd2b.tar.bz2
yosys-cf606998847a286a52f01d748372df396b59dd2b.zip
synth_ice40: Use opt_dff.
The main part is converting ice40_dsp to recognize the new FF types created in opt_dff instead of trying to recognize the mux patterns on its own. The fsm call has been moved upwards because the passes cannot deal with $dffe/$sdff*, and other optimizations don't help it much anyway.
Diffstat (limited to 'tests/arch')
-rw-r--r--tests/arch/ice40/fsm.ys2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/arch/ice40/fsm.ys b/tests/arch/ice40/fsm.ys
index 223ba070e..e3b746202 100644
--- a/tests/arch/ice40/fsm.ys
+++ b/tests/arch/ice40/fsm.ys
@@ -12,5 +12,5 @@ cd fsm # Constrain all select calls below inside the top module
select -assert-count 4 t:SB_DFF
select -assert-count 2 t:SB_DFFESR
-select -assert-count 15 t:SB_LUT4
+select -assert-max 15 t:SB_LUT4
select -assert-none t:SB_DFFESR t:SB_DFF t:SB_LUT4 %% t:* %D