Skip to content

Commit

Permalink
Add the first draft of layout report and GDS w/o I/O port yet
Browse files Browse the repository at this point in the history
  • Loading branch information
tsengs0 committed Nov 10, 2024
1 parent ecabeed commit 929bf0b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,11 @@ def tg_with_inv(pdk: MappedPDK, pmos_width, pmos_length, nmos_width, nmos_length

return top_level #top_level.flatten()

tg_with_inv(pdk=sky130, pmos_width=1, pmos_length=0.15, nmos_width=1, nmos_length=0.15).show()
def display_component(component, scale = 3):
# Save to a GDS file
with hide:
component.write_gds("out.gds")

tg_inst = tg_with_inv(pdk=sky130, pmos_width=1, pmos_length=0.15, nmos_width=1, nmos_length=0.15)
tg_inst.show()
tg_inst.write_gds("gds/tg_with_inv.gds")

0 comments on commit 929bf0b

Please sign in to comment.