3
0
Fork 0
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:
AdvaySingh1 2026-02-19 11:45:33 -08:00
parent 723ddd74cf
commit b29514fafc
4 changed files with 25 additions and 0 deletions

View file

@ -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);