vcd coverity whining
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
65ac35c87f
commit
e3bd330756
|
|
@ -78,6 +78,7 @@ ReadVcdActivities::ReadVcdActivities(const char *filename,
|
||||||
filename_(filename),
|
filename_(filename),
|
||||||
scope_(scope),
|
scope_(scope),
|
||||||
vcd_(sta),
|
vcd_(sta),
|
||||||
|
clk_period_(0.0),
|
||||||
sta_(sta),
|
sta_(sta),
|
||||||
power_(sta->power())
|
power_(sta->power())
|
||||||
{
|
{
|
||||||
|
|
@ -141,6 +142,7 @@ ReadVcdActivities::setActivities()
|
||||||
value_bit++;
|
value_bit++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stringDelete(bus_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,11 @@ namespace sta {
|
||||||
|
|
||||||
Vcd::Vcd(StaState *sta) :
|
Vcd::Vcd(StaState *sta) :
|
||||||
StaState(sta),
|
StaState(sta),
|
||||||
time_unit_scale_(0.0),
|
time_scale_(1.0),
|
||||||
|
time_unit_scale_(1.0),
|
||||||
max_var_name_length_(0),
|
max_var_name_length_(0),
|
||||||
max_var_width_(0),
|
max_var_width_(0),
|
||||||
|
min_delta_time_(0),
|
||||||
time_max_(0)
|
time_max_(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -120,6 +120,7 @@ VcdReader::read(const char *filename)
|
||||||
|
|
||||||
VcdReader::VcdReader(StaState *sta) :
|
VcdReader::VcdReader(StaState *sta) :
|
||||||
StaState(sta),
|
StaState(sta),
|
||||||
|
file_line_(0),
|
||||||
stmt_line_(0),
|
stmt_line_(0),
|
||||||
vcd_(nullptr),
|
vcd_(nullptr),
|
||||||
time_(0),
|
time_(0),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue