Bugfix in mapping $tribuf to $_TBUF_
authorClifford Wolf <clifford@clifford.at>
Thu, 5 Nov 2015 11:37:43 +0000 (12:37 +0100)
committerClifford Wolf <clifford@clifford.at>
Thu, 5 Nov 2015 11:37:43 +0000 (12:37 +0100)
passes/techmap/simplemap.cc

index 956cd48fe9cf2c83fe94c162b1484079f90fdf85..f6ac3964bcab70c30dfa434cc5fa846b903dbceb 100644 (file)
@@ -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]);
        }
 }