Fix checking for parameter and port connections in the wrong place (#4428)

This commit is contained in:
Anthony Donlon
2023-08-20 08:55:16 -04:00
committed by GitHub
parent 4370254e73
commit 768b78e7d0
7 changed files with 90 additions and 18 deletions
+1 -1
View File
@@ -677,7 +677,7 @@ class EmitCTrace final : EmitCFunc {
string fstvt;
// Doubles have special decoding properties, so must indicate if a double
if (nodep->dtypep()->basicp()->isDouble()) {
if (vartype == VVarType::GPARAM || vartype == VVarType::LPARAM) {
if (vartype.isParam()) {
fstvt = "FST_VT_VCD_REAL_PARAMETER";
} else {
fstvt = "FST_VT_VCD_REAL";