Fixed "share" for memory read ports

This commit is contained in:
Clifford Wolf 2014-08-03 20:19:50 +02:00
parent 358bf70a21
commit c7f99be3be

View file

@ -419,6 +419,13 @@ struct ShareWorker
return supercell;
}
if (c1->type == "$memrd")
{
RTLIL::Cell *supercell = module->addCell(NEW_ID, c1);
module->connect(c2->getPort("\\DATA"), supercell->getPort("\\DATA"));
return supercell;
}
log_abort();
}