[i=s] 本帖最后由 走来走去 于 2019-7-25 16:50 编辑 [/i]
set current_cell_name [get_attribute [current_block ] design_name ]
set drc_errors [ get_drc_errors -error_data zroute.err -filter "type_name == Short" ]
set objects [ get_attribute ${drc_errors} objects ]
set shorted_nets [get_nets $objects -filter "net_type==signal" ]
query_objects $shorted_nets
remove_shapes [get_shapes -of_objects [get_nets ${shorted_nets} -segment ] ]
set shorted_nets [get_nets $objects -filter "net_type==clock" ]
query_objects $shorted_nets
remove_shapes [get_shapes -of_objects [get_nets ${shorted_nets} -segment ] ]
|