Skip to content

Instantly share code, notes, and snippets.

@urish
Last active February 15, 2024 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save urish/ba71f2fa68505a1b665000bce08d3874 to your computer and use it in GitHub Desktop.
Save urish/ba71f2fa68505a1b665000bce08d3874 to your computer and use it in GitHub Desktop.
Minimal analog project for TT06 (just bare minimum to pass tapeout)
# Important: before running this script, download the the .def file from
# https://github.com/TinyTapeout/tt-support-tools/blob/tt06/def/analog/tt_block_1x2_pg_ana.def
def read tt_block_1x2_pg_ana.def
cellname rename tt_um_template tt_um_analog_example
# VPWR
box 100 500 250 22076
paint met4
label VPWR FreeSans met4
port VPWR make n
port VPWR use power
port VPWR class bidirectional
port conn n s e w
# VGND
box 4900 500 5050 22076
paint met4
label VGND FreeSans met4
port VGND make n
port VGND use ground
port VGND class bidirectional
port conn n s e w
# Export
gds write gds/tt_um_analog_example.gds
lef write lef/tt_um_analog_example.lef -pinonly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment