mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
feat(ihp-sg13cmos5l): analog project support
This commit is contained in:
@@ -460,8 +460,6 @@ def main():
|
||||
pinout = yaml_data.get("pinout", {})
|
||||
if uses_vapwr and not is_analog:
|
||||
raise PrecheckFailure("Projects with VAPWR power need at least one analog pin")
|
||||
if is_analog and tech == "ihp-sg13cmos5l":
|
||||
raise PrecheckFailure("Analog projects are not supported on ihp-sg13cmos5l yet")
|
||||
def_root = f"../tech/{tech}/def"
|
||||
if is_analog:
|
||||
analog_def = f"{def_root}/analog/tt_analog_{tiles}"
|
||||
@@ -569,7 +567,7 @@ def main():
|
||||
"check": lambda: analog_pin_check(
|
||||
gds_file, tech, is_analog, uses_vapwr, analog_pins, pinout
|
||||
),
|
||||
"techs": ["sky130A", "ihp-sg13g2", "gf180mcuD"],
|
||||
"techs": ["sky130A", "ihp-sg13g2", "ihp-sg13cmos5l", "gf180mcuD"],
|
||||
},
|
||||
{
|
||||
"name": "Verilog syntax check",
|
||||
|
||||
@@ -135,6 +135,17 @@ def analog_pin_rects(tech: str, uses_vapwr: bool):
|
||||
x2, y2 = x1 + 1.75, y1 + 2.0
|
||||
rect = ((x1, y1), (x2, y2))
|
||||
yield (rect, pin_layer, via_layers)
|
||||
elif tech == "ihp-sg13cmos5l":
|
||||
pin_layer = (50, 0) # Metal4
|
||||
via_layers = [(49, 0)] # Via3
|
||||
for pin_number in range(8):
|
||||
if uses_vapwr:
|
||||
x1, y1 = 174.18 - 24.48 * pin_number, 0.0
|
||||
else:
|
||||
x1, y1 = 189.54 - 24.48 * 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 == "gf180mcuD":
|
||||
pin_layer = (46, 0) # Metal4
|
||||
via_layers = [(40, 0)] # Via3
|
||||
|
||||
Reference in New Issue
Block a user