foreach_in_collection obj [get_attr [get_timing_path -through inst_0/inst_1/inst_2/Y ] points ] {
set j_cell_name [get_attr [get_cells -of [get_attr $obj object.full_name ] ] ref_name ]
if { [get_attr $obj object.direction ] == "out" && [regexp PHY $j_cell_name ] } {
puts $j_cell_name
puts [get_attr $obj object.full_name ]
set j_ddrphy_output_arrival [expr [get_attr $obj arrival ] + 1.396 ]
puts $j_ddrphy_output_arrival
}
if { [get_attr $obj object.direction ] == "in" && [regexp IO $j_cell_name ] } {
puts $j_cell_name
puts [get_attr $obj object.full_name ]
set j_io_input_arrival [expr [get_attr $obj arrival ] + 1.396 ]
puts $j_io_input_arrival
}
}
puts "The delay between DDRPHY output to IO input is : [expr $j_io_input_arrival - $j_ddrphy_output_arrival ]"
|