3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 14:13:23 +00:00

Fixed some visual studio warnings

This commit is contained in:
Clifford Wolf 2016-02-13 17:31:24 +01:00
parent 6f1d694171
commit bcc873b805
8 changed files with 10 additions and 10 deletions

View file

@ -313,7 +313,7 @@ struct TechmapWorker
if (c->type == "$memrd" || c->type == "$memwr" || c->type == "$meminit") {
IdString memid = c->getParam("\\MEMID").decode_string();
log_assert(memory_renames.count(memid));
log_assert(memory_renames.count(memid) != 0);
c->setParam("\\MEMID", Const(memory_renames[memid].str()));
}