aboutsummaryrefslogtreecommitdiffstats
path: root/passes/sat
diff options
context:
space:
mode:
Diffstat (limited to 'passes/sat')
-rw-r--r--passes/sat/sim.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/sat/sim.cc b/passes/sat/sim.cc
index 922be886c..2e7a92cec 100644
--- a/passes/sat/sim.cc
+++ b/passes/sat/sim.cc
@@ -164,7 +164,7 @@ struct SimInstance
ff_database[cell] = ff;
}
- if (cell->type.in(ID($mem), ID($meminit), ID($memwr), ID($memrd)))
+ if (cell->is_mem_cell())
{
mem_cells[cell] = cell->parameters.at(ID::MEMID).decode_string();
}