vcd transition count
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
aff6342435
commit
a48bb7dbe5
|
|
@ -190,7 +190,8 @@ ReadVcdActivities::findVarActivity(const VcdValues &var_values,
|
|||
}
|
||||
if (prev_value == '1')
|
||||
high_time += time - prev_time;
|
||||
transition_count++;
|
||||
if (value != prev_value)
|
||||
transition_count++;
|
||||
prev_time = time;
|
||||
prev_value = value;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue