@@ -598,7 +598,7 @@ proc define_layer_range { layers } {
598598 [ord::db_layer_has_ver_tracks $db_layer ])
599599 } {
600600 set layer_name [$db_layer getName]
601- utl::error GRT 57 " Missing track structure for layer $layer_name ."
601+ utl::error ODB 139 " Missing track structure for layer $layer_name ."
602602 }
603603 }
604604}
@@ -622,7 +622,7 @@ proc define_clock_layer_range { layers } {
622622 $block setMinLayerForClock $min_clock_layer
623623 $block setMaxLayerForClock $max_clock_layer
624624 } else {
625- utl::error GRT 56 " In argument -clock_layers, min routing layer is\
625+ utl::error ODB 137 " In argument -clock_layers, min routing layer is\
626626 greater than max routing layer."
627627 }
628628}
@@ -709,11 +709,11 @@ proc set_io_pin_constraint { args } {
709709 set lef_units [$tech getLefUnits]
710710
711711 if { [info exists keys(-region)] && [info exists keys(-mirrored_pins)] } {
712- utl::error PPL 83 " Both -region and -mirrored_pins constraints not allowed."
712+ utl::error ODB 144 " Both -region and -mirrored_pins constraints not allowed."
713713 }
714714
715715 if { [info exists keys(-mirrored_pins)] && [info exists flags(-group)] } {
716- utl::error PPL 87 " Both -mirrored_pins and -group constraints not allowed."
716+ utl::error ODB 146 " Both -mirrored_pins and -group constraints not allowed."
717717 }
718718
719719 if { [info exists keys(-region)] } {
@@ -735,12 +735,12 @@ proc set_io_pin_constraint { args } {
735735 set begin [ppl::get_edge_extreme " -region" 1 $edge ]
736736 set end [ppl::get_edge_extreme " -region" 0 $edge ]
737737 } else {
738- utl::error PPL 212 " Invalid value for \' -region edge:interval\' . Set the interval as the\
738+ utl::error ODB 261 " Invalid value for \' -region edge:interval\' . Set the interval as the\
739739 wildcard \' *\' or as a range \' begin-end\' in microns."
740740 }
741741
742742 if { [info exists keys(-direction)] && [info exists keys(-pin_names)] } {
743- utl::error PPL 16 " Both -direction and -pin_names constraints not allowed."
743+ utl::error ODB 17 " Both -direction and -pin_names constraints not allowed."
744744 }
745745
746746 if { [info exists keys(-direction)] } {
@@ -772,37 +772,37 @@ proc set_io_pin_constraint { args } {
772772 set urx [ord::microns_to_dbu $urx ]
773773 set ury [ord::microns_to_dbu $ury ]
774774 } else {
775- utl::error PPL 59 " Box at top layer must have 4 values (llx lly urx ury)."
775+ utl::error ODB 145 " Box at top layer must have 4 values (llx lly urx ury)."
776776 }
777777
778778 if { [info exists keys(-pin_names)] } {
779779 set names $keys(-pin_names)
780780 odb::add_pins_to_top_layer $names $llx $lly $urx $ury
781781 }
782782 } else {
783- utl::warn PPL 73 " Constraint with region $region has an invalid edge."
783+ utl::warn ODB 142 " Constraint with region $region has an invalid edge."
784784 }
785785 }
786786
787787 if { [info exists flags(-group)] } {
788788 if { [info exists keys(-pin_names)] } {
789789 set group $keys(-pin_names)
790790 } else {
791- utl::error PPL 58 " The -pin_names argument is required when using -group flag."
791+ utl::error ODB 140 " The -pin_names argument is required when using -group flag."
792792 }
793793
794794 set pin_list [ppl::parse_pin_names " place_pins -group_pins" $group ]
795795 if { [llength $pin_list ] != 0 } {
796796 odb::add_pin_group $pin_list [info exists flags(-order)]
797797 }
798798 } elseif { [info exists flags(-order)] } {
799- utl::error PPL 95 " -order cannot be used without -group."
799+ utl::error ODB 147 " -order cannot be used without -group."
800800 }
801801
802802 if { [info exists keys(-mirrored_pins)] } {
803803 set mirrored_pins $keys(-mirrored_pins)
804804 if { [llength $mirrored_pins ] % 2 != 0 } {
805- utl::error PPL 81 " List of pins must have an even number of pins."
805+ utl::error ODB 143 " List of pins must have an even number of pins."
806806 }
807807
808808 foreach {pin1 pin2} $mirrored_pins {
@@ -859,7 +859,7 @@ proc exclude_io_pin_region { args } {
859859 }
860860 }
861861 } else {
862- utl::error PPL 10 " The -region keyword is required for exclude_io_pin_region command."
862+ utl::error ODB 12 " The -region keyword is required for exclude_io_pin_region command."
863863 }
864864}
865865
@@ -991,17 +991,17 @@ proc define_pin_shape_pattern { args } {
991991 set layer [ppl::parse_layer_name $layer_name ]
992992
993993 if { $layer == 0 } {
994- utl::error PPL 52 " Routing layer not found for name $layer_name ."
994+ utl::error ODB 96 " Routing layer not found for name $layer_name ."
995995 }
996996 } else {
997- utl::error PPL 53 " -layer is required."
997+ utl::error ODB 150 " -layer is required."
998998 }
999999
10001000 if { [info exists keys(-x_step)] && [info exists keys(-y_step)] } {
10011001 set x_step [ord::microns_to_dbu $keys(-x_step) ]
10021002 set y_step [ord::microns_to_dbu $keys(-y_step) ]
10031003 } else {
1004- utl::error PPL 54 " -x_step and -y_step are required."
1004+ utl::error ODB 102 " -x_step and -y_step are required."
10051005 }
10061006
10071007 set block [ord::get_db_block]
@@ -1023,23 +1023,23 @@ proc define_pin_shape_pattern { args } {
10231023 set urx [$die_area xMax]
10241024 set ury [$die_area yMax]
10251025 } else {
1026- utl::error PPL 63 " -region is not a list of 4 values {llx lly urx ury}."
1026+ utl::error ODB 141 " -region is not a list of 4 values {llx lly urx ury}."
10271027 }
10281028 odb::Rect region $llx $lly $urx $ury
10291029 } else {
1030- utl::error PPL 55 " -region is required."
1030+ utl::error ODB 135 " -region is required."
10311031 }
10321032
10331033 if { [info exists keys(-size)] } {
10341034 set size $keys(-size)
10351035 if { [llength $size ] != 2 } {
1036- utl::error PPL 56 " -size is not a list of 2 values."
1036+ utl::error ODB 136 " -size is not a list of 2 values."
10371037 }
10381038 lassign $size width height
10391039 set width [ord::microns_to_dbu $width ]
10401040 set height [ord::microns_to_dbu $height ]
10411041 } else {
1042- utl::error PPL 57 " -size is required."
1042+ utl::error ODB 138 " -size is required."
10431043 }
10441044
10451045 if { [info exists keys(-pin_keepout)] } {
0 commit comments