Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating LVS derivations for n/p tap1 devices #344

Merged
merged 3 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/lvs_regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,14 @@ jobs:
- name: Installing Klayout
run: |
sudo apt update -qq -y
wget https://www.klayout.org/downloads/Ubuntu-22/klayout_0.29.8-1_amd64.deb
wget https://www.klayout.org/downloads/Ubuntu-24/klayout_0.29.8-1_amd64.deb
# The dpkg command will fail complaining about missing dependencies.
sudo dpkg -i ./klayout_0.29.8-1_amd64.deb || true
# The apt install command should install the missing dependencies
# needed by KLayout above and finish the install.
sudo apt install -f -y
# Reinstall KLayout After Fixing Dependencies
sudo dpkg -i ./klayout_0.29.8-1_amd64.deb || true
# Check that KLayout was successfully installed!
klayout -v

Expand All @@ -81,12 +83,14 @@ jobs:
- name: Installing Klayout
run: |
sudo apt update -qq -y
wget https://www.klayout.org/downloads/Ubuntu-22/klayout_0.29.8-1_amd64.deb
wget https://www.klayout.org/downloads/Ubuntu-24/klayout_0.29.8-1_amd64.deb
# The dpkg command will fail complaining about missing dependencies.
sudo dpkg -i ./klayout_0.29.8-1_amd64.deb || true
# The apt install command should install the missing dependencies
# needed by KLayout above and finish the install.
sudo apt install -f -y
# Reinstall KLayout After Fixing Dependencies
sudo dpkg -i ./klayout_0.29.8-1_amd64.deb || true
# Check that KLayout was successfully installed!
klayout -v

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,18 @@ nsd_fet = nactiv.not(nwell_drw).interacting(ngate).not(ngate).not_interacting(re
psd_fet = pactiv.and(nwell_drw).interacting(pgate).not(pgate).not_interacting(res_mk)


# n1/p1 taps labels
# tap1 labels
well_patt = glob_to_case_insensitive_glob("well")
sub_patt = glob_to_case_insensitive_glob("sub!")

ntap1_lbl = text_drw.texts(well_patt)
ntap1_mk = nwell_drw.interacting(ntap1_lbl)

ptap1_lbl = text_drw.texts(sub_patt)
# ntap1 marker
ntap1_mk = nwell_drw.interacting(ntap1_lbl)
# ptap1 marker
ptap1_mk = substrate_drw.and(pwell).interacting(ptap1_lbl)

# n & p taps (short connections)
ntap = nactiv.and(nwell_drw).not(recog_diode).not(gatpoly).not(ntap1_mk)
ntap = nactiv.and(nwell_drw).not(ntap1_mk).not(recog_diode).not(gatpoly)
ptap = pactiv.and(pwell).not(ptap1_mk).not(recog_diode).not(gatpoly)
ptap_holes = ptap.holes
ntap_holes = ntap.holes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ taps_exclude = gatpoly.join(nsd_drw).join(trans_drw)
# === ntap1 ===
ntap1_exc = pwell.join(psd_drw).join(taps_exclude)

ntap1_tie = nactiv.and(ntap1_mk).extents.not(ntap1_exc)
ntap1_tie = nactiv.and(ntap1_mk).not(ntap1_exc)
ntap1_well = ntap1_mk.covering(ntap1_tie)

# === ptap1 ===
ptap1_exc = nwell_drw.join(taps_exclude)

ptap1_tie = pactiv.and(ptap1_mk).extents.not(ptap1_exc)
ptap1_sub = pwell.covering(ptap1_tie)
ptap1_tie = pactiv.and(ptap1_mk).not(ptap1_exc)
ptap1_sub = ptap1_mk.covering(ptap1_tie)