aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/ff.h
Commit message (Collapse)AuthorAgeFilesLines
* dfflegalize: Refactor, add aldff support.Marcelina Kościelnicka2021-10-271-1/+16
|
* FfData: some refactoring.Marcelina Kościelnicka2021-10-071-448/+24
| | | | | | | | | | - FfData now keeps track of the module and underlying cell, if any (so calling emit on FfData created from a cell will replace the existing cell) - FfData implementation is split off to its own .cc file for faster compilation - the "flip FF data sense by inserting inverters in front and after" functionality that zinit uses is moved onto FfData class and beefed up to have dffsr support, to support more use cases
* Hook up $aldff support in various passes.Marcelina Kościelnicka2021-10-021-2/+41
|
* kernel/ff: Refactor FfData to enable FFs with async load.Marcelina Kościelnicka2021-10-021-114/+211
| | | | | | | | | | - *_en is split into *_ce (clock enable) and *_aload (async load aka latch gate enable), so both can be present at once - has_d is removed - has_gclk is added (to have a clear marker for $ff) - d_is_const and val_d leftovers are removed - async2sync, clk2fflogic, opt_dff are updated to operate correctly on FFs with async load
* simplemap: refactor to use FfData.Marcelina Kościelnicka2021-10-021-3/+6
|
* Add new helper class for merging FFs into cells, use for memory_dff.Marcelina Kościelnicka2021-05-231-1/+1
| | | | Fixes #1854.
* async2sync: Support all FF types.Marcelina Kościelnicka2020-07-301-0/+46
|
* Add utility module for representing flip-flops.Marcelina Kościelnicka2020-07-231-0/+440