Skip to content

Improving resistor connections for LVS for proper detection with poly conn #293

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

Merged
merged 1 commit into from
Dec 17, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
logger.info('Starting RESISTOR CONNECTIONS')

# === rsil ===
connect(rsil_ports, cont_drw)
connect(rsil_ports, poly_con)

# === rppd ===
connect(rppd_ports, cont_drw)
connect(rppd_ports, poly_con)

# === rhigh ===
connect(rhigh_ports, cont_drw)
connect(rhigh_ports, poly_con)

# === Metal Res ===
# Added in general connections
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,19 @@ polyres_mk = polyres_drw.and(extblock_drw).interacting(gatpoly).not(polyres_excl

## rhigh
rhigh_res = polyres_mk.and(psd_drw).and(nsd_drw).and(salblock_drw)
rhigh_ports = gatpoly.interacting(rhigh_res).not(rhigh_res)
rhigh_ports_pre = gatpoly.interacting(rhigh_res).not(rhigh_res)
rhigh_ports = rhigh_ports_pre.edges.and(rhigh_res.edges).extended(0, 0, 5.nm, 5.nm).not(rhigh_res)

## rppd
rppd_res = polyres_mk.and(psd_drw).and(salblock_drw).not(nsd_block).not(nsd_drw)
rppd_ports = gatpoly.interacting(rppd_res).not(rppd_res)
rppd_ports_pre = gatpoly.interacting(rppd_res).not(rppd_res)
rppd_ports = rppd_ports_pre.edges.and(rppd_res.edges).extended(0, 0, 5.nm, 5.nm).not(rppd_res)

## rsil
rsil_exc = psd_drw.join(salblock_drw).join(nsd_drw).join(nsd_block)
rsil_res = polyres_mk.and(res_drw).not(rsil_exc)
rsil_ports = gatpoly.interacting(rsil_res).not(rsil_res)
rsil_ports_pre = gatpoly.interacting(rsil_res).not(rsil_res)
rsil_ports = rsil_ports_pre.edges.and(rsil_res.edges).extended(0, 0, 5.nm, 5.nm).not(rsil_res)

# ===============
# ---- METAL ----
Expand Down
Loading