Move dpiTemporaryVarSuffix() to header. (#4474)

Co-authored-by: Mariusz Glebocki <[email protected]>
This commit is contained in:
Kamil Rakoczy
2023-09-11 09:01:09 -04:00
committed by GitHub
co-authored by Mariusz Glebocki
parent c446cc2596
commit 0baee84e96
2 changed files with 5 additions and 6 deletions
+2 -5
View File
@@ -1554,6 +1554,8 @@ public:
//######################################################################
// Task class functions
const char* const V3Task::s_dpiTemporaryVarSuffix = "__Vcvt";
V3TaskConnects V3Task::taskConnects(AstNodeFTaskRef* nodep, AstNode* taskStmtsp) {
// Output list will be in order of the port declaration variables (so
// func calls are made right in C)
@@ -1811,11 +1813,6 @@ string V3Task::assignDpiToInternal(const string& lhsName, AstVar* varp) {
return statements;
}
const char* V3Task::dpiTemporaryVarSuffix() {
static const char* const suffix = "__Vcvt";
return suffix;
}
void V3Task::taskAll(AstNetlist* nodep) {
UINFO(2, __FUNCTION__ << ": " << endl);
{