InputDrive::driveCell init from/to_port return values
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
5e506940a7
commit
b405ef2a6b
|
|
@ -57,6 +57,7 @@ public:
|
||||||
const MinMaxAll *min_max);
|
const MinMaxAll *min_max);
|
||||||
void driveCell(const RiseFall *rf,
|
void driveCell(const RiseFall *rf,
|
||||||
const MinMax *min_max,
|
const MinMax *min_max,
|
||||||
|
// Return values.
|
||||||
LibertyCell *&cell,
|
LibertyCell *&cell,
|
||||||
LibertyPort *&from_port,
|
LibertyPort *&from_port,
|
||||||
float *&from_slews,
|
float *&from_slews,
|
||||||
|
|
|
||||||
|
|
@ -108,6 +108,7 @@ InputDrive::setDriveCell(LibertyLibrary *library,
|
||||||
void
|
void
|
||||||
InputDrive::driveCell(const RiseFall *rf,
|
InputDrive::driveCell(const RiseFall *rf,
|
||||||
const MinMax *min_max,
|
const MinMax *min_max,
|
||||||
|
// Return values.
|
||||||
LibertyCell *&cell,
|
LibertyCell *&cell,
|
||||||
LibertyPort *&from_port,
|
LibertyPort *&from_port,
|
||||||
float *&from_slews,
|
float *&from_slews,
|
||||||
|
|
@ -120,8 +121,12 @@ InputDrive::driveCell(const RiseFall *rf,
|
||||||
from_slews = drive->fromSlews();
|
from_slews = drive->fromSlews();
|
||||||
to_port = drive->toPort();
|
to_port = drive->toPort();
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
cell = nullptr;
|
cell = nullptr;
|
||||||
|
from_port = nullptr;
|
||||||
|
from_slews = nullptr;
|
||||||
|
to_port = nullptr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
InputDriveCell *
|
InputDriveCell *
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue