make timing model templates

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2022-06-11 17:01:11 -07:00
parent 05cdbd5e8f
commit ef2b2cbaa9
1 changed files with 1 additions and 4 deletions

View File

@ -479,7 +479,6 @@ MakeTimingModel::makeGateModelTable(const Pin *output_pin,
Delay delay,
RiseFall *rf)
{
const char *output_port_name = network_->name(network_->port(output_pin));
const DcalcAnalysisPt *dcalc_ap = corner_->findDcalcAnalysisPt(min_max_);
const Pvt *pvt = dcalc_ap->operatingConditions();
const OperatingConditions *op_cond = dcalc_ap->operatingConditions();
@ -543,9 +542,7 @@ MakeTimingModel::makeGateModelTable(const Pin *output_pin,
Table *delay_table = new Table1(load_values, load_axis, true);
Table *slew_table = new Table1(slew_values, load_axis, true);
string template_name;
template_name += output_port_name;
template_name += "_";;
string template_name = "template_";
template_name += std::to_string(tbl_template_index_++);
TableTemplate *tbl_template = new TableTemplate(template_name.c_str());