Skip to content

Commit

Permalink
Smallfix
Browse files Browse the repository at this point in the history
  • Loading branch information
akashlevy committed Nov 23, 2024
1 parent fc634e4 commit d290890
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion search/MakeTimingModel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,11 @@ MakeTimingModel::makeInputOutputTimingArcs(const Pin *input_pin,
network_->pathName(output_pin),
output_rf->shortName(),
delayAsString(delay, sta_));
TimingModel *gate_model = makeGateModelTable(output_pin, delay, output_rf);
TimingModel *gate_model;
if (scalar_)
gate_model = makeGateModelScalar(delay, output_rf);
else
gate_model = makeGateModelTable(output_pin, delay, output_rf);
if (attrs == nullptr)
attrs = std::make_shared<TimingArcAttrs>();
attrs->setModel(output_rf, gate_model);
Expand Down

0 comments on commit d290890

Please sign in to comment.