summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-06-07 11:48:50 +0200
committerClifford Wolf <clifford@clifford.at>2014-06-07 11:48:50 +0200
commite275e8eef9ae47670075bd73a671f3acd3c0ca52 (patch)
tree415c0b5d2de494ac0d72a92745d3a1c0cc703275 /kernel
parent0b1ce63a19025f73fe4d2a54253134ea9a4de625 (diff)
Add support for cell arrays
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rtlil.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc
index 1168102a..028cd6d8 100644
--- a/kernel/rtlil.cc
+++ b/kernel/rtlil.cc
@@ -740,7 +740,8 @@ void RTLIL::Module::check()
for (auto &it2 : it.second->parameters) {
assert(it2.first.size() > 0 && (it2.first[0] == '\\' || it2.first[0] == '$'));
}
- if (it.second->type[0] == '$' && it.second->type.substr(0, 3) != "$__" && it.second->type.substr(0, 8) != "$paramod" && it.second->type.substr(0, 9) != "$verific$") {
+ if (it.second->type[0] == '$' && it.second->type.substr(0, 3) != "$__" && it.second->type.substr(0, 8) != "$paramod" &&
+ it.second->type.substr(0, 9) != "$verific$" && it.second->type.substr(0, 7) != "$array:") {
InternalCellChecker checker(this, it.second);
checker.check();
}