mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 21:27:00 +00:00
sta: use ID::sta_arrival
This commit is contained in:
parent
cf6b60f79c
commit
10eaeabe1e
3 changed files with 10 additions and 9 deletions
|
@ -154,6 +154,7 @@ X(SRC_EN)
|
|||
X(SRC_PEN)
|
||||
X(SRC_POL)
|
||||
X(SRC_WIDTH)
|
||||
X(sta_arrival)
|
||||
X(STATE_BITS)
|
||||
X(STATE_NUM)
|
||||
X(STATE_NUM_LOG2)
|
||||
|
|
|
@ -141,8 +141,8 @@ struct TimingInfo
|
|||
}
|
||||
}
|
||||
else if (cell->type == ID($specrule)) {
|
||||
auto type = cell->getParam(ID::TYPE).decode_string();
|
||||
if (type != "$setup" && type != "$setuphold")
|
||||
IdString type = cell->getParam(ID::TYPE).decode_string();
|
||||
if (type != ID($setup) && type != ID($setuphold))
|
||||
continue;
|
||||
auto src = cell->getPort(ID::SRC);
|
||||
auto dst = cell->getPort(ID::DST).as_bit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue