projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffd6f54
)
read_aiger: $lut prefix in front
author
Eddie Hung
<eddie@fpgeh.com>
Wed, 15 Jan 2020 22:31:32 +0000
(14:31 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Wed, 15 Jan 2020 22:31:32 +0000
(14:31 -0800)
frontends/aiger/aigerparse.cc
patch
|
blob
|
history
diff --git
a/frontends/aiger/aigerparse.cc
b/frontends/aiger/aigerparse.cc
index f6b2a639d80602c2408173bb2e0d7a208471a03b..a4b1e6fec3d300a22872e7d6224ac000f714619e 100644
(file)
--- a/
frontends/aiger/aigerparse.cc
+++ b/
frontends/aiger/aigerparse.cc
@@
-1001,9
+1001,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));
}
}