mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix checking for parameter and port connections in the wrong place (#4428)
This commit is contained in:
+1
-1
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user