mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-30 05:09:04 +00:00
write_aiger2: Ignore the $input_port cell during indexing.
The $input_port cell is added by the bufnorm code to simplify handling of input ports for new code that uses bufnorm, but the aiger2 backend does already handle input ports separately, so we just ignore those.
This commit is contained in:
parent
4918f37be3
commit
47b3ee8c8b
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ struct Index {
|
||||||
int pos = index_wires(info, m);
|
int pos = index_wires(info, m);
|
||||||
|
|
||||||
for (auto cell : m->cells()) {
|
for (auto cell : m->cells()) {
|
||||||
if (cell->type.in(KNOWN_OPS) || cell->type.in(ID($scopeinfo), ID($specify2), ID($specify3)))
|
if (cell->type.in(KNOWN_OPS) || cell->type.in(ID($scopeinfo), ID($specify2), ID($specify3), ID($input_port)))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
Module *submodule = m->design->module(cell->type);
|
Module *submodule = m->design->module(cell->type);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue