From f401eeb0cf43f8b0e9431a02b3dd0780dcbceb32 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 5 Nov 2015 12:37:43 +0100 Subject: [PATCH] Bugfix in mapping $tribuf to $_TBUF_ --- passes/techmap/simplemap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passes/techmap/simplemap.cc b/passes/techmap/simplemap.cc index 956cd48fe..f6ac3964b 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]); } } -- 2.30.2