mirror of https://github.com/YosysHQ/yosys.git
read_aiger: also rename "$0"
This commit is contained in:
parent
ee95fa959a
commit
f63f76c372
|
@ -255,7 +255,7 @@ end_of_header:
|
||||||
else
|
else
|
||||||
log_abort();
|
log_abort();
|
||||||
|
|
||||||
RTLIL::Wire* n0 = module->wire("$0");
|
RTLIL::Wire* n0 = module->wire(stringf("$aiger%d$0", aiger_autoidx));
|
||||||
if (n0)
|
if (n0)
|
||||||
module->connect(n0, State::S0);
|
module->connect(n0, State::S0);
|
||||||
|
|
||||||
|
@ -383,7 +383,7 @@ void AigerReader::parse_xaiger()
|
||||||
else
|
else
|
||||||
log_abort();
|
log_abort();
|
||||||
|
|
||||||
RTLIL::Wire* n0 = module->wire("$0");
|
RTLIL::Wire* n0 = module->wire(stringf("$aiger%d$0", aiger_autoidx));
|
||||||
if (n0)
|
if (n0)
|
||||||
module->connect(n0, State::S0);
|
module->connect(n0, State::S0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue