OutputWaveforms init vdd

Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
James Cherry
2024-02-11 11:45:40 -07:00
parent 4541e83b3b
commit c3ecde1105
11 changed files with 136 additions and 93 deletions
+2
View File
@@ -319,6 +319,7 @@ public:
DriverWaveform *findDriverWaveform(const char *name);
DriverWaveform *driverWaveformDefault() { return driver_waveform_default_; }
void addDriverWaveform(DriverWaveform *driver_waveform);
void ensureVoltageWaveforms();
protected:
float degradeWireSlew(const TableModel *model,
@@ -370,6 +371,7 @@ protected:
DriverWaveformMap driver_waveform_map_;
// Unnamed driver waveform.
DriverWaveform *driver_waveform_default_;
bool have_voltage_waveforms_;
static constexpr float input_threshold_default_ = .5;
static constexpr float output_threshold_default_ = .5;
+2 -3
View File
@@ -487,8 +487,7 @@ public:
TableAxisPtr cap_axis,
const RiseFall *rf,
Table1Seq &current_waveforms,
Table1 *ref_times,
LibertyLibrary *library);
Table1 *ref_times);
~OutputWaveforms();
const RiseFall *rf() const { return rf_; }
const TableAxis *slewAxis() const { return slew_axis_.get(); }
@@ -510,10 +509,10 @@ public:
float cap,
float volt);
float referenceTime(float slew);
void makeVoltageWaveforms(float vdd);
static bool checkAxes(const TableTemplate *tbl_template);
private:
void makeWaveforms();
void findVoltages(size_t wave_index,
float cap);
float waveformValue(float slew,