|
|
@@ -74,18 +74,28 @@ set false_path_pairs {
|
|
|
}
|
|
|
foreach pair $false_path_pairs {
|
|
|
lassign $pair source endpoint
|
|
|
- set_false_path -from [get_ports $source] -to [get_regs -quiet $endpoint]
|
|
|
- puts $cdc_report "false_path=$source:$endpoint"
|
|
|
+ set source_obj [get_ports -quiet $source]
|
|
|
+ set endpoint_obj [get_regs -quiet $endpoint]
|
|
|
+ if {[llength $source_obj] == 1 && [llength $endpoint_obj] == 1} {
|
|
|
+ set_false_path -from $source_obj -to $endpoint_obj
|
|
|
+ puts $cdc_report "false_path=$source:$endpoint"
|
|
|
+ } else {
|
|
|
+ lappend cdc_failures "false_path_object_count:$source:[llength $source_obj]:$endpoint:[llength $endpoint_obj]"
|
|
|
+ puts $cdc_report "failure=false_path_object_count:$source:[llength $source_obj]:$endpoint:[llength $endpoint_obj]"
|
|
|
+ }
|
|
|
+}
|
|
|
+if {[llength $cdc_failures] != 0} {
|
|
|
+ puts $cdc_report {status=fail}
|
|
|
+ close $cdc_report
|
|
|
+ error "PROD2U_SIMPLE_CDC_FALSE_PATH_GATE_FAIL:[join $cdc_failures ,]"
|
|
|
}
|
|
|
puts $cdc_report {status=pass}
|
|
|
close $cdc_report
|
|
|
|
|
|
report_area -io_info -file prod2u_p4_normal_v3_rtl.area
|
|
|
-report_timing_summary -file prod2u_p4_normal_v3_rtl.timing
|
|
|
export_db prod2u_p4_normal_v3_rtl.db
|
|
|
set_param gate opt_area high
|
|
|
set_param gate pack_effort high
|
|
|
optimize_gate prod2u_p4_normal_v3_gate.area
|
|
|
report_area -io_info -file prod2u_p4_normal_v3_gate.area
|
|
|
-report_timing_summary -file prod2u_p4_normal_v3_gate.timing
|
|
|
export_db prod2u_p4_normal_v3_gate.db
|