mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-11 09:44:44 +00:00
Merge 9e9213c011
into 63b3ce0c77
This commit is contained in:
commit
d648837b91
4 changed files with 133 additions and 13 deletions
|
@ -2052,7 +2052,7 @@ namespace {
|
|||
param(ID::TYPE);
|
||||
check_expected();
|
||||
std::string scope_type = cell->getParam(ID::TYPE).decode_string();
|
||||
if (scope_type != "module" && scope_type != "struct")
|
||||
if (scope_type != "module" && scope_type != "struct" && scope_type != "blackbox")
|
||||
error(__LINE__);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue