mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #2199 from YosysHQ/mmicko/sim_memory
sim - error when memrd and memwr detected
This commit is contained in:
commit
3fb5b4fd8a
|
@ -163,7 +163,10 @@ struct SimInstance
|
|||
|
||||
mem_database[cell] = mem;
|
||||
}
|
||||
|
||||
if (cell->type.in(ID($memwr),ID($memrd)))
|
||||
{
|
||||
log_error("$memrd and $memwr cells have to be merged to stand-alone $mem cells (execute memory_collect pass)\n");
|
||||
}
|
||||
if (cell->type.in(ID($assert), ID($cover), ID($assume))) {
|
||||
formal_database.insert(cell);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue