mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
feat(precheck/gf180mcuD): analog template selection + pin check
This commit is contained in:
@@ -119,6 +119,17 @@ def analog_pin_rects(tech: str, uses_3v3: bool):
|
||||
x2, y2 = x1 + 1.75, y1 + 2.0
|
||||
rect = ((x1, y1), (x2, y2))
|
||||
yield (rect, pin_layer, via_layers)
|
||||
elif tech == "gf180mcuD":
|
||||
pin_layer = (46, 0) # Metal4
|
||||
via_layers = [(40, 0)] # Via3
|
||||
for pin_number in range(8):
|
||||
if uses_3v3:
|
||||
x1, y1 = 307.90 - 43.68 * pin_number, 0.0
|
||||
else:
|
||||
x1, y1 = 325.82 - 43.68 * pin_number, 0.0
|
||||
x2, y2 = x1 + 3.0, y1 + 1.0
|
||||
rect = ((x1, y1), (x2, y2))
|
||||
yield (rect, pin_layer, via_layers)
|
||||
elif tech in tech_names:
|
||||
raise NotImplementedError
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user