aboutsummaryrefslogtreecommitdiffstats
path: root/passes/opt
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-07-21 13:34:33 +0200
committerClifford Wolf <clifford@clifford.at>2016-07-21 13:34:33 +0200
commitd7763634b68a735443c61aa32918ee0cdd6e9250 (patch)
treed04a1d072d727d0776c42f68668785403cc92bf5 /passes/opt
parent721f1f5ecfb6334904f6058d6d376d21b5efc438 (diff)
downloadyosys-d7763634b68a735443c61aa32918ee0cdd6e9250.tar.gz
yosys-d7763634b68a735443c61aa32918ee0cdd6e9250.tar.bz2
yosys-d7763634b68a735443c61aa32918ee0cdd6e9250.zip
After reading the SV spec, using non-standard predict() instead of expect()
Diffstat (limited to 'passes/opt')
-rw-r--r--passes/opt/opt_clean.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/opt/opt_clean.cc b/passes/opt/opt_clean.cc
index d905a30bf..1546ec3fc 100644
--- a/passes/opt/opt_clean.cc
+++ b/passes/opt/opt_clean.cc
@@ -64,7 +64,7 @@ struct keep_cache_t
bool query(Cell *cell)
{
- if (cell->type.in("$memwr", "$meminit", "$assert", "$assume", "$expect"))
+ if (cell->type.in("$memwr", "$meminit", "$assert", "$assume", "$predict"))
return true;
if (cell->has_keep_attr())