mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-25 00:22:34 +00:00
Added built in cell alongside sim support for cell
This commit is contained in:
parent
723ddd74cf
commit
b29514fafc
4 changed files with 25 additions and 0 deletions
|
|
@ -2083,6 +2083,15 @@ namespace {
|
|||
return;
|
||||
}
|
||||
|
||||
if (cell->type == ID($icg)) {
|
||||
port(ID::CLK, 1);
|
||||
port(ID::EN, 1);
|
||||
port(ID::SE, 1);
|
||||
port(ID::GCLK, 1);
|
||||
check_expected();
|
||||
return;
|
||||
}
|
||||
|
||||
if (cell->type == ID($dffsr)) {
|
||||
param_bool(ID::CLK_POLARITY);
|
||||
param_bool(ID::SET_POLARITY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue