@@ -2582,18 +2582,19 @@ def draw_pin_io(self, x_distance, y_distance, scale=1, width=-1, direction=HORIZ
25822582 label_x = (x_distance + x_origin + 5 * scale ,)
25832583 label_y = (y_distance + y_origin - 17 * scale ,)
25842584
2585- label_tag = f"{ element_id } _label"
2586- text_id = self .canvas .create_text (
2587- label_x ,
2588- label_y ,
2589- text = pin_number ,
2590- font = ("FiraCode-Bold" , int (7 * scale )),
2591- fill = "#000000" ,
2592- anchor = "center" ,
2593- tags = (element_id , label_tag ),
2594- )
2595- params ["label_tag" ] = label_tag
2596- params ["tags" ].append (text_id )
2585+ if element_type != CLOCK :
2586+ label_tag = f"{ element_id } _label"
2587+ text_id = self .canvas .create_text (
2588+ label_x ,
2589+ label_y ,
2590+ text = pin_number ,
2591+ font = ("FiraCode-Bold" , int (7 * scale )),
2592+ fill = "#000000" ,
2593+ anchor = "center" ,
2594+ tags = (element_id , label_tag ),
2595+ )
2596+ params ["label_tag" ] = label_tag
2597+ params ["tags" ].append (text_id )
25972598
25982599 if element_type == INPUT :
25992600 # Arrow pointing down
@@ -2648,7 +2649,7 @@ def draw_pin_io(self, x_distance, y_distance, scale=1, width=-1, direction=HORIZ
26482649
26492650 elif element_type == CLOCK :
26502651 x_start = x_distance + x_origin + 0 * scale
2651- y_start = y_distance + y_origin - 7 * scale
2652+ y_start = y_distance + y_origin - 13 * scale
26522653
26532654
26542655 l1 = 5 * scale
0 commit comments