parent
edfba111c3
commit
79c4fff78c
|
|
@ -497,7 +497,7 @@ public:
|
|||
const TableAxis *capAxis() const { return cap_axis_.get(); }
|
||||
// Make voltage wavefroms from liberty time/current values.
|
||||
// Required before voltageTime, timeVoltage, voltageCurrent.
|
||||
void makeVoltageWaveforms(float vdd);
|
||||
void ensureVoltageWaveforms(float vdd);
|
||||
float timeCurrent(float slew,
|
||||
float cap,
|
||||
float time);
|
||||
|
|
|
|||
|
|
@ -1948,7 +1948,7 @@ LibertyCell::ensureVoltageWaveforms(const DcalcAnalysisPtSeq &dcalc_aps)
|
|||
if (model) {
|
||||
OutputWaveforms *output_waveforms = model->outputWaveforms();
|
||||
if (output_waveforms)
|
||||
output_waveforms->makeVoltageWaveforms(vdd);
|
||||
output_waveforms->ensureVoltageWaveforms(vdd);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1664,8 +1664,9 @@ OutputWaveforms::checkAxes(const TableTemplate *tbl_template)
|
|||
}
|
||||
|
||||
void
|
||||
OutputWaveforms::makeVoltageWaveforms(float vdd)
|
||||
OutputWaveforms::ensureVoltageWaveforms(float vdd)
|
||||
{
|
||||
if (voltage_waveforms_.empty()) {
|
||||
vdd_ = vdd;
|
||||
size_t size = current_waveforms_.size();
|
||||
voltage_waveforms_.resize(size);
|
||||
|
|
@ -1678,6 +1679,7 @@ OutputWaveforms::makeVoltageWaveforms(float vdd)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
OutputWaveforms::findVoltages(size_t wave_index,
|
||||
|
|
|
|||
Loading…
Reference in New Issue