mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
fix(precheck): hardcoded layer name in error message
This commit is contained in:
@@ -325,9 +325,10 @@ def pin_check(
|
|||||||
else:
|
else:
|
||||||
for layer, lx, by, rx, ty in lef_ports[current_pin]:
|
for layer, lx, by, rx, ty in lef_ports[current_pin]:
|
||||||
width = rx - lx
|
width = rx - lx
|
||||||
if layer != power_pins_layer[tech]:
|
expected_layer = power_pins_layer[tech]
|
||||||
|
if layer != expected_layer:
|
||||||
logging.error(
|
logging.error(
|
||||||
f"Port {current_pin} has wrong layer in {lef}: {layer} != met4"
|
f"Port {current_pin} has wrong layer in {lef}: {layer} != {expected_layer}"
|
||||||
)
|
)
|
||||||
lef_errors += 1
|
lef_errors += 1
|
||||||
if width < 1200:
|
if width < 1200:
|
||||||
|
|||||||
Reference in New Issue
Block a user