set_net_priority
set_net_priority -all | -nets_netName| -setd_setObj-priorityi_priority
Description
Sets the priority property for all nets, a given net, or nets in a set.
Use this command to assign a higher net priority to critical nets or any nets that you want to route using more direct paths. If a net is long due to some other constraint, then you can apply your own formula to determine when a net is unacceptably routed and then re-route it using global_route -mode eco. Use report_net_stats and the Net Manager to determine the quality of the length of the net.
There are eleven levels of net priority available in any given run, with 0 being the lowest priority and 10 the highest priority. Some data translation utilities include net priority assignments. Unless you know that there are previously set net priorities that you want to keep, it is advisable to reset all net priorities prior to setting a few. The priority is relative, therefore, setting a net priority to 10 does nothing more than setting it to 1 over a default of 0.
Arguments
Examples
The following example resets the net priority for all nets, then sets the net priority for nets whose names begin with data_input_bus.
set_net_priority -all -priority 0
replace_set -set1 [find_net -name {data_input_bus*} -ignore_case true -no_wildcard false ] -set2 [get_selection_set]
set_net_priority -set [get_selection_set] -priority 1
Related Topics
Return to top