3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

cutpoint: Add $scopeinfo cell

Also adds "blackbox" as a valid TYPE.
This commit is contained in:
Krystine Sherwin 2025-04-11 04:12:34 +12:00
parent 583771ef5b
commit ca57df8927
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View file

@ -2140,7 +2140,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;
}