Support unpacked array port in protect-lib and hierarchical verilation (#2672)

* Add a test to use unpacked array port in hierarchical verilation and protect-lib.

* V3EmitV supports unpacked array variables

* Can Emit local unpacked array properly

* Update golden of t_debug_emitv

* Support unpacked array port in protect-lib

* Remove t_prot_lib_unpacked_bad test as unpacked array is supported now.
This commit is contained in:
Yutetsu TAKATSUKASA
2020-12-09 08:29:45 +09:00
committed by GitHub
parent c23de458ed
commit ff3d35ca61
15 changed files with 223 additions and 108 deletions
+1 -2
View File
@@ -39,8 +39,7 @@ public:
static V3TaskConnects taskConnects(AstNodeFTaskRef* nodep, AstNode* taskStmtsp);
static string assignInternalToDpi(AstVar* portp, bool isPtr, const string& frSuffix,
const string& toSuffix, const string& frPrefix = "");
static bool dpiToInternalFrStmt(AstVar* portp, const string& frName, string& frstmt,
string& ket);
static string assignDpiToInternal(const string& lhsName, AstVar* rhsp);
static const char* dpiTemporaryVarSuffix();
};