diff options
author | Marcelina KoĆcielnicka <mwk@0x04.net> | 2020-04-08 21:42:50 +0200 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2020-06-23 15:40:02 +0200 |
commit | b0bee396a8edec360616b68e97a3bd373b700b26 (patch) | |
tree | a7be69423be3e9879c049bb11c2b26f56882ba4c /kernel/constids.inc | |
parent | 8c4cb1885b2cb6b7b26d7b9b7113e174c0eefffd (diff) | |
download | yosys-b0bee396a8edec360616b68e97a3bd373b700b26.tar.gz yosys-b0bee396a8edec360616b68e97a3bd373b700b26.tar.bz2 yosys-b0bee396a8edec360616b68e97a3bd373b700b26.zip |
Add new builtin FF types
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).
Diffstat (limited to 'kernel/constids.inc')
-rw-r--r-- | kernel/constids.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/constids.inc b/kernel/constids.inc index 383d7c615..69bc06d2c 100644 --- a/kernel/constids.inc +++ b/kernel/constids.inc @@ -158,6 +158,9 @@ X(SRC_EN) X(SRC_PEN) X(SRC_POL) X(SRC_WIDTH) +X(SRST) +X(SRST_POLARITY) +X(SRST_VALUE) X(STATE_BITS) X(STATE_NUM) X(STATE_NUM_LOG2) |