report_check_types format tweaks
This commit is contained in:
parent
1560a77ba5
commit
1aadb2d895
|
|
@ -1600,6 +1600,10 @@ ReportPath::reportLimitShort(const ReportField *field,
|
||||||
reportField(value, field, result);
|
reportField(value, field, result);
|
||||||
result += ' ';
|
result += ' ';
|
||||||
reportField(slack, field, result);
|
reportField(slack, field, result);
|
||||||
|
result += (slack >= 0.0)
|
||||||
|
? " (MET)"
|
||||||
|
: " (VIOLATED)";
|
||||||
|
reportEndOfLine(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -1632,7 +1636,7 @@ ReportPath::reportLimitVerbose(const ReportField *field,
|
||||||
if (rf)
|
if (rf)
|
||||||
result += rf->shortName();
|
result += rf->shortName();
|
||||||
else
|
else
|
||||||
result += ' ';
|
result += ' ';
|
||||||
reportEndOfLine(result);
|
reportEndOfLine(result);
|
||||||
|
|
||||||
result += min_max->asString();
|
result += min_max->asString();
|
||||||
|
|
@ -1646,10 +1650,17 @@ ReportPath::reportLimitVerbose(const ReportField *field,
|
||||||
result += " ";
|
result += " ";
|
||||||
reportField(value, field, result);
|
reportField(value, field, result);
|
||||||
reportEndOfLine(result);
|
reportEndOfLine(result);
|
||||||
reportDashLine(strlen(field->name()) + field->width() + 5, result);
|
int name_width = strlen(field->name()) + 5;
|
||||||
|
reportDashLine(name_width + field->width(), result);
|
||||||
|
|
||||||
result += "Slack ";
|
result += "Slack";
|
||||||
|
for (int i = strlen("Slack"); i < name_width; i++)
|
||||||
|
result += ' ';
|
||||||
reportField(slack, field, result);
|
reportField(slack, field, result);
|
||||||
|
result += (slack >= 0.0)
|
||||||
|
? " (MET)"
|
||||||
|
: " (VIOLATED)";
|
||||||
|
reportEndOfLine(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////
|
||||||
|
|
|
||||||
|
|
@ -257,7 +257,7 @@ proc parse_report_path_options { cmd args_var default_format
|
||||||
foreach field {total incr} {
|
foreach field {total incr} {
|
||||||
set_report_path_field_width $field $delay_field_width
|
set_report_path_field_width $field $delay_field_width
|
||||||
}
|
}
|
||||||
foreach field {capacitance slew fanout} {
|
foreach field {capacitance slew} {
|
||||||
set_report_path_field_width $field $field_width
|
set_report_path_field_width $field $field_width
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ proc define_report_path_fields {} {
|
||||||
set_report_path_field_properties "incr" "Delay" $width 0
|
set_report_path_field_properties "incr" "Delay" $width 0
|
||||||
set_report_path_field_properties "capacitance" "Cap" $width 0
|
set_report_path_field_properties "capacitance" "Cap" $width 0
|
||||||
set_report_path_field_properties "slew" "Slew" $width 0
|
set_report_path_field_properties "slew" "Slew" $width 0
|
||||||
set_report_path_field_properties "fanout" "Fanout" 5 0
|
set_report_path_field_properties "fanout" "Fanout" 6 0
|
||||||
set_report_path_field_properties "edge" " " 1 0
|
set_report_path_field_properties "edge" " " 1 0
|
||||||
set_report_path_field_properties "case" " " 11 0
|
set_report_path_field_properties "case" " " 11 0
|
||||||
}
|
}
|
||||||
|
|
@ -390,7 +390,9 @@ proc_redirect report_check_types {
|
||||||
set min_period 1
|
set min_period 1
|
||||||
set max_skew 1
|
set max_skew 1
|
||||||
set max_fanout 0
|
set max_fanout 0
|
||||||
|
set min_fanout 0
|
||||||
set max_capacitance 0
|
set max_capacitance 0
|
||||||
|
set min_capacitance 0
|
||||||
} else {
|
} else {
|
||||||
parse_key_args "report_check_types" args keys {} \
|
parse_key_args "report_check_types" args keys {} \
|
||||||
flags {-max_delay -min_delay -recovery -removal \
|
flags {-max_delay -min_delay -recovery -removal \
|
||||||
|
|
@ -482,10 +484,10 @@ proc_redirect report_check_types {
|
||||||
report_fanout_limits "min" $violators $verbose $nosplit
|
report_fanout_limits "min" $violators $verbose $nosplit
|
||||||
}
|
}
|
||||||
if { $max_capacitance } {
|
if { $max_capacitance } {
|
||||||
# report_capacitance_limits $corner "max" $violators $verbose $nosplit
|
report_capacitance_limits $corner "max" $violators $verbose $nosplit
|
||||||
}
|
}
|
||||||
if { $min_capacitance } {
|
if { $min_capacitance } {
|
||||||
# report_capacitance_limits $corner "min" $violators $verbose $nosplit
|
report_capacitance_limits $corner "min" $violators $verbose $nosplit
|
||||||
}
|
}
|
||||||
if { $min_pulse_width } {
|
if { $min_pulse_width } {
|
||||||
if { $violators } {
|
if { $violators } {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue