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
1 changed files with 7 additions and 0 deletions

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();
}