
report \
    -type     timing \
    -analysis max \
    -format   text \
    MDDR_TA_top_timing_r2_s18.rpt
report \
    -type     timing_violations \
    -analysis max \
    -format   text \
    -use_slack_threshold no \
    -max_paths 100 \
    MDDR_TA_top_timing_violations_max_r2_s18.rpt
report \
    -type     timing_violations \
    -analysis min \
    -format   text \
    -use_slack_threshold no \
    -max_paths 100 \
    MDDR_TA_top_timing_violations_min_r2_s18.rpt
set has_violations {MDDR_TA_top_has_violations}
set fp [open $has_violations w]
puts $fp [has_violations -short]
close $fp
