summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-11-05 12:37:43 +0100
committerClifford Wolf <clifford@clifford.at>2015-11-05 12:37:43 +0100
commitf401eeb0cf43f8b0e9431a02b3dd0780dcbceb32 (patch)
tree1c3b5cb2b548bd8a6b5e42f2b696b3c969068386
parentddf3e2dc657da5e441bd9315bf1a86959a07cab9 (diff)
Bugfix in mapping $tribuf to $_TBUF_
-rw-r--r--passes/techmap/simplemap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/simplemap.cc b/passes/techmap/simplemap.cc
index 956cd48f..f6ac3964 100644
--- a/passes/techmap/simplemap.cc
+++ b/passes/techmap/simplemap.cc
@@ -293,7 +293,7 @@ void simplemap_tribuf(RTLIL::Module *module, RTLIL::Cell *cell)
RTLIL::Cell *gate = module->addCell(NEW_ID, "$_TBUF_");
gate->add_strpool_attribute("\\src", cell->get_strpool_attribute("\\src"));
gate->setPort("\\A", sig_a[i]);
- gate->setPort("\\E", sig_e[i]);
+ gate->setPort("\\E", sig_e);
gate->setPort("\\Y", sig_y[i]);
}
}