aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/common/gen_fine_ffs.py
Commit message (Collapse)AuthorAgeFilesLines
* Add $aldff and $aldffe: flip-flops with async load.Marcelina Kościelnicka2021-10-021-0/+49
|
* simcells: Fix reset polarity for $_DLATCH_???_ cells.Marcelina Kościelnicka2020-06-301-1/+1
|
* Add new builtin FF typesMarcelina Kościelnicka2020-06-231-0/+153
| | | | | | | | | | | | | | The new types include: - FFs with async reset and enable (`$adffe`, `$_DFFE_[NP][NP][01][NP]_`) - FFs with sync reset (`$sdff`, `$_SDFF_[NP][NP][01]_`) - FFs with sync reset and enable, reset priority (`$sdffs`, `$_SDFFE_[NP][NP][01][NP]_`) - FFs with sync reset and enable, enable priority (`$sdffce`, `$_SDFFCE_[NP][NP][01][NP]_`) - FFs with async reset, set, and enable (`$dffsre`, `$_DFFSRE_[NP][NP][NP][NP]_`) - latches with reset or set (`$adlatch`, `$_DLATCH_[NP][NP][01]_`) The new FF types are not actually used anywhere yet (this is left for future commits).
* Fix the truth table for $_SR_* cells.Marcelina Kościelnicka2020-04-151-5/+4
| | | | | | | | This brings the documented behavior for these cells in line with $_DFFSR_* and $_DLATCHSR_*, which is that R has priority over S. The models were already reflecting that behavior. Also get rid of sim-synth mismatch in the models while we're at it.
* simcells.v: Generate the fine FF cell types by a python script.Marcin Kościelnicki2020-04-021-0/+239
This makes adding more FF types in the future much more manageable. Fixes #1824.