mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 17:15:33 +00:00
Added $dffe cell type
This commit is contained in:
parent
fad9cec47b
commit
f1764b4fe9
4 changed files with 54 additions and 1 deletions
|
@ -752,6 +752,17 @@ namespace {
|
|||
return;
|
||||
}
|
||||
|
||||
if (cell->type == "$dffe") {
|
||||
param_bool("\\CLK_POLARITY");
|
||||
param_bool("\\EN_POLARITY");
|
||||
port("\\CLK", 1);
|
||||
port("\\EN", 1);
|
||||
port("\\D", param("\\WIDTH"));
|
||||
port("\\Q", param("\\WIDTH"));
|
||||
check_expected();
|
||||
return;
|
||||
}
|
||||
|
||||
if (cell->type == "$dffsr") {
|
||||
param_bool("\\CLK_POLARITY");
|
||||
param_bool("\\SET_POLARITY");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue