diff options
author | Eddie Hung <eddie@fpgeh.com> | 2020-01-15 16:42:16 -0800 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-01-15 16:42:16 -0800 |
commit | 03ce2c72bb4e8cd32df994dec04815fa5ecec6fe (patch) | |
tree | 3da287c8f88b731668c5f93f29a73fc5b000f9bc /frontends/aiger/aigerparse.cc | |
parent | d6da9c0c0f3b59706f509b7fd96ea793491a2307 (diff) | |
parent | 2bda51ac34d6f542d1d6477eecede1d6527c10b3 (diff) | |
download | yosys-03ce2c72bb4e8cd32df994dec04815fa5ecec6fe.tar.gz yosys-03ce2c72bb4e8cd32df994dec04815fa5ecec6fe.tar.bz2 yosys-03ce2c72bb4e8cd32df994dec04815fa5ecec6fe.zip |
Merge remote-tracking branch 'origin/master' into eddie/abc9_refactor
Diffstat (limited to 'frontends/aiger/aigerparse.cc')
-rw-r--r-- | frontends/aiger/aigerparse.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/aiger/aigerparse.cc b/frontends/aiger/aigerparse.cc index cf9b33b3c..b5c861936 100644 --- a/frontends/aiger/aigerparse.cc +++ b/frontends/aiger/aigerparse.cc @@ -922,9 +922,9 @@ void AigerReader::post_process() if (cell->type != "$lut") continue; auto y_port = cell->getPort("\\Y").as_bit(); if (y_port.wire->width == 1) - module->rename(cell, stringf("%s$lut", y_port.wire->name.c_str())); + module->rename(cell, stringf("$lut%s", y_port.wire->name.c_str())); else - module->rename(cell, stringf("%s[%d]$lut", y_port.wire->name.c_str(), y_port.offset)); + module->rename(cell, stringf("$lut%s[%d]", y_port.wire->name.c_str(), y_port.offset)); } } |