WriteSpice::gatePortValues unused rm Instance arg
Signed-off-by: James Cherry <cherry@CerezoBook.local>
This commit is contained in:
parent
c00b847b20
commit
b548398c6c
|
|
@ -766,7 +766,6 @@ WriteSpice::gatePortValues(const Pin *input_pin,
|
|||
bool &is_clked)
|
||||
{
|
||||
is_clked = false;
|
||||
const Instance *inst = network_->instance(input_pin);
|
||||
const LibertyPort *input_port = network_->libertyPort(input_pin);
|
||||
const LibertyPort *drvr_port = network_->libertyPort(drvr_pin);
|
||||
const FuncExpr *drvr_func = drvr_port->function();
|
||||
|
|
@ -774,13 +773,12 @@ WriteSpice::gatePortValues(const Pin *input_pin,
|
|||
if (gate_edge && gate_edge->role()->genericRole() == TimingRole::regClkToQ())
|
||||
regPortValues(input_pin, drvr_rf, drvr_port, drvr_func, port_values, is_clked);
|
||||
else
|
||||
gatePortValues(inst, drvr_func, input_port, input_rf, drvr_rf, port_values);
|
||||
gatePortValues(drvr_func, input_port, input_rf, drvr_rf, port_values);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
WriteSpice::gatePortValues(const Instance *,
|
||||
const FuncExpr *expr,
|
||||
WriteSpice::gatePortValues(const FuncExpr *expr,
|
||||
const LibertyPort *input_port,
|
||||
const RiseFall *input_rf,
|
||||
const RiseFall *drvr_rf,
|
||||
|
|
|
|||
|
|
@ -153,8 +153,7 @@ protected:
|
|||
// Return values.
|
||||
PortLogicValues &port_values,
|
||||
bool &is_clked);
|
||||
void gatePortValues(const Instance *inst,
|
||||
const FuncExpr *expr,
|
||||
void gatePortValues(const FuncExpr *expr,
|
||||
const LibertyPort *input_port,
|
||||
const RiseFall *input_rf,
|
||||
const RiseFall *drvr_rf,
|
||||
|
|
|
|||
Loading…
Reference in New Issue