Public interface params (#2901)

This commit is contained in:
Todd Strader
2021-04-21 13:46:13 -04:00
committed by GitHub
parent f450d51de1
commit f446295274
4 changed files with 61 additions and 41 deletions
+2
View File
@@ -218,6 +218,8 @@ private:
if (v3Global.opt.publicFlatRW()) {
switch (nodep->varType()) {
case AstVarType::VAR: // FALLTHRU
case AstVarType::GPARAM: // FALLTHRU
case AstVarType::LPARAM: // FALLTHRU
case AstVarType::PORT: // FALLTHRU
case AstVarType::WIRE: nodep->sigUserRWPublic(true); break;
default: break;