mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-01 05:29:29 +00:00
portarcs: Ignore all bufnorm helper cells
The `portarcs` pass was already ignoring `$buf` cells when loading timing data, but now bufnorm will also emit `$input_port` and `$connect` helper cells, which need to be ignored as well.
This commit is contained in:
parent
7ebd972165
commit
9396e5e5fe
1 changed files with 2 additions and 1 deletions
|
@ -124,7 +124,8 @@ struct PortarcsPass : Pass {
|
|||
TopoSort<SigBit> sort;
|
||||
|
||||
for (auto cell : m->cells())
|
||||
if (cell->type != ID($buf)) {
|
||||
// Ignore all bufnorm helper cells
|
||||
if (!cell->type.in(ID($buf), ID($input_port), ID($connect))) {
|
||||
auto tdata = tinfo.find(cell->type);
|
||||
if (tdata == tinfo.end())
|
||||
log_cmd_error("Missing timing data for module '%s'.\n", log_id(cell->type));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue