summaryrefslogtreecommitdiff
path: root/backends/blif/blif.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-08-15 14:18:40 +0200
committerClifford Wolf <clifford@clifford.at>2014-08-15 14:18:40 +0200
commitb64b38eea2e9a7de30d6045f069c86bf4446134f (patch)
tree1792429b244f7af0b4ed33f8e57c1e591c8efd02 /backends/blif/blif.cc
parentf092b5014895dc5dc62b8103fcedf94cfa9f85a8 (diff)
Renamed $lut ports to follow A-Y naming scheme
Diffstat (limited to 'backends/blif/blif.cc')
-rw-r--r--backends/blif/blif.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/blif/blif.cc b/backends/blif/blif.cc
index 386d68d8..b9b68b97 100644
--- a/backends/blif/blif.cc
+++ b/backends/blif/blif.cc
@@ -188,13 +188,13 @@ struct BlifDumper
if (!config->icells_mode && cell->type == "$lut") {
fprintf(f, ".names");
- auto &inputs = cell->getPort("\\I");
+ auto &inputs = cell->getPort("\\A");
auto width = cell->parameters.at("\\WIDTH").as_int();
log_assert(inputs.size() == width);
for (int i = 0; i < inputs.size(); i++) {
fprintf(f, " %s", cstr(inputs.extract(i, 1)));
}
- auto &output = cell->getPort("\\O");
+ auto &output = cell->getPort("\\Y");
log_assert(output.size() == 1);
fprintf(f, " %s", cstr(output));
fprintf(f, "\n");