3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 09:05:32 +00:00

Add support for cell arrays

This commit is contained in:
Clifford Wolf 2014-06-07 11:48:50 +02:00
parent 0b1ce63a19
commit e275e8eef9
6 changed files with 70 additions and 1 deletions

View file

@ -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();
}