synth_ice40: Use opt_dff.
authorMarcelina Kościelnicka <mwk@0x04.net>
Wed, 22 Jul 2020 11:34:11 +0000 (13:34 +0200)
committerMarcelina Kościelnicka <mwk@0x04.net>
Thu, 30 Jul 2020 20:26:20 +0000 (22:26 +0200)
commitcf606998847a286a52f01d748372df396b59dd2b
treef36a622fc878847c6240dbbe5be49a8ef8f1a424
parent8501342fc5898ea1e6aadc33a27df54fa82d9107
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.
passes/pmgen/ice40_dsp.cc
passes/pmgen/ice40_dsp.pmg
techlibs/ice40/Makefile.inc
techlibs/ice40/ice40_ffssr.cc [deleted file]
techlibs/ice40/ice40_opt.cc
techlibs/ice40/synth_ice40.cc
tests/arch/ice40/fsm.ys