3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Add new helper class for merging FFs into cells, use for memory_dff.

Fixes #1854.
This commit is contained in:
Marcelina Kościelnicka 2021-03-15 15:38:45 +01:00
parent a23d9409e7
commit 1eea06bcc0
7 changed files with 600 additions and 244 deletions

View file

@ -57,7 +57,7 @@ struct FfData {
int width;
dict<IdString, Const> attributes;
FfData(FfInitVals *initvals, Cell *cell = nullptr) : initvals(initvals) {
FfData(FfInitVals *initvals = nullptr, Cell *cell = nullptr) : initvals(initvals) {
width = 0;
has_d = true;
has_clk = false;