Design rules#
GDSFactory+ runs the QPDK DRC deck for any project set to the QPDK project identifier. This page is the contract with that deck: what the masks mean, which rules run, how to select a profile, and which layers carry design intent.
The numbers below are what the cells currently draw, not an independent process specification. Confirm them with your fab before tapeout, and treat a change to the table as a change to the process.
Mask model#
QPDK is a subtractive process. Each metal face has a *_ETCH mask that removes a blanket film and a *_DRAW mask that
adds metal back, with the additive mask winning where they overlap. The deck therefore does not check the draw mask
directly:
Metal width runs on the blanket film minus the etch mask. Additive metal drawn inside an etched window is fill, not a process feature. Nanowire pads and the
open_2_portport strap are drawn that way.Metal spacing is the width of the etch gap,
ETCH - DRAW, because in a subtractive process two pieces of metal are separated by an etched slot and nothing else.Optical minimums skip e-beam geometry.
JJ_AREA,NbTiN,CNT_CONTACTandTOP_GATEare e-beam layers, and the optical minimums ignore everything within 2 µm of them. That is what lets oneM1_ETCHmask carry 6 µm CPW slots and 0.09 µm nanowire gaps.
Rules#
Each check sits under the layer it measures. The layer is named once, and a blank cell means the same layer.
Layer |
Rule |
Check |
Default |
|---|---|---|---|
|
|
minimum effective width |
2.0 µm |
|
minimum metal spacing (etch slot width) |
2.0 µm |
|
|
|
minimum effective top-chip front metal width |
2.0 µm |
|
minimum top-chip front metal spacing |
2.0 µm |
|
|
|
minimum bottom-chip backside metal width |
2.0 µm |
|
minimum bottom-chip backside metal spacing |
2.0 µm |
|
|
|
minimum top-chip backside metal width |
2.0 µm |
|
minimum top-chip backside metal spacing |
2.0 µm |
|
|
|
minimum nanowire width |
0.04 µm |
|
minimum spacing |
0.09 µm |
|
|
|
minimum width |
0.09 µm |
|
|
contact overlap along the junction |
0.3 µm |
|
|
enclosed by effective M1 |
1.0 µm |
|
landing pad touches the |
contact |
|
|
must not land on a CPW centre conductor |
none |
|
|
|
enclosed by landing metal on both faces |
2.0 µm |
|
|
indium bump enclosed by landing metal on both chips |
5.0 µm |
|
|
no drawn metal, via, bump or bridge inside the frame |
none |
|
|
a die frame needs both |
present |
|
|
unrelated nets closer than the crosstalk distance |
20.0 µm |
|
|
covers a real conductor gap |
none |
Two notes on the junction rules. JJ_PATCH is shared with the gatemon process, where it is the Al reconnection film on
a nanotube and has no junction below it, so JJ.O.1 ignores patches that touch the gatemon layers. The overlap is
measured along the long axis of the intersection, because a QPDK junction wire is 0.2 µm wide and an overlap measured
across the wire can never reach 0.3 µm.
IND.E.1 and DICE.K.1 need a chip. They read SUBSTRATE or SUBSTRATE_TOP, which only a die footprint draws, and
return nothing on a packed cell library like all_cells.
Profiles#
The deck selects its rules with the DRC process value, which means the same thing as a rule profile here.
Profile |
Rules |
Use on |
|---|---|---|
|
process geometry and 3D rules |
anything, including |
|
default plus |
a chip with coupling markers |
|
design plus |
the final chip GDS |
Select a profile per project in pyproject.toml:
[tool.gdsfactoryplus.drc]
timeout = 300
process = "design"
or per run with gfp check drc --process design. The project identifier still selects the deck, and the process selects
the profile.
Intent layers#
Two non-fabrication layers carry design intent. Both are stripped by qpdk.utils.remove_metadata_layers.
WG(102/0) marks every CPW centre conductor.coplanar_waveguideemits it automatically, so the PDK, not the designer, keeps it current.RF.C.1measures signal-line spacing on these markers, and merging them first turns each connected net into one polygon, so a meander’s folds are not mistaken for crosstalk.COUPLING(103/0) marks a corridor where two nets are coupled on purpose.RF.C.1waives crosstalk markers inside it, andRF.C.2reports markers that cover no gap.RF.C.2measures the drawn metal masks, not theWGmarkers, so a coupling between two plates, or between an island and a line, is valid even though neither part has a centre conductor.qpdk.cells._coupling.mark_coupling_regionsdraws the corridor between the two parts from thegapparameter of the cell that owns both nets.coupler_straight,plate_capacitorandunimon_coupledemit it today. Add the call to a composite cell when it couples two elements on purpose, and only around those two elements.
The alternative, hand-drawn waiver polygons, is easy to overuse: one polygon can silence every rule at once. Generated
markers carry the cell’s own parameter, cannot be forgotten, and are auditable in review. The deck also keeps a short
list of cells whose geometry is a layout artefact rather than a process feature, currently the open_2_port port strap,
which is why it does not appear as an M1 width violation.
Known DRC findings on the cell library#
The all_cells run of the default profile is not clean today, and the hits are geometry to review, not deck bugs:
M1.W.1reports narrow metal inneck_termination, where the smooth window leaves a strip under 2 µm.M1.S.1reports 2 µm wide wedges where the launcher andcpw_bulgetapers cut the etch slot.M2.S.1reports two slots in the flip-chip transitions.
The design profile on all_cells also reports RF.C.1 hits in coupler_ring, tee and unimon variants that are
not marked as coupling. Run it on a chip, where the coupling regions the cells emit are present.
Graphene JoFET rules (proposed)#
The hosted deck does not yet run these proposed graphene JoFET rules. tests/test_jofet_drc.py implements the checks
and tests layouts on both sides of the proposed limits.
Layer |
Rule |
Check |
Proposed limit |
|---|---|---|---|
|
|
graphene runs at least this far under each contact |
0.5 µm |
|
contact extends past the graphene edge |
0.25 µm |
|
|
each mesa touches exactly two separate contacts |
two |
|
|
|
contact spacing, except across a channel |
1.0 µm |
|
|
gate runs at least this far over each contact |
0.05 µm |
|
gate extends past the graphene edge of the channel |
0.5 µm |
|
|
gate covers the whole channel |
none |
The channel is the graphene outside the contacts. It must lie between the facing edges of two separate contacts at most
2 µm apart; graphene anywhere else fails GR.E.1. There is no channel marker layer, and the gate oxide is a blanket ALD
film with no mask, so no rule checks it. GR.O.1 and TG.O.1 also fail when the overlap is missing, not only when it
is short. TG.O.1 counts only the gate that covers the channel, so a floating gate island on a contact does not satisfy
it. The overlap and enclosure limits are half of what jofet draws by default, and TG.E.1 and GRC.S.1 are round
values below the defaults. All seven checks and the 2 µm channel-gap limit are provisional and need fab confirmation.
The process paper sets the reference device dimensions and film stack. It does not specify these mask rules.
Limits of the proposal:
The overlap rules are width checks, so a graphene ribbon or a gate lead narrower than the limit fails wherever it crosses a contact.
GRC.S.1waives a spacing when both edges border the channel. Contact metal that juts into the channel borders it, so the waiver passes it, and no rule sets a minimum channel length.GR.E.1checks both the lateral contact enclosure and the outer contact ends. Forjofet, the latter margin iscontact_length - contact_overlap. Graphene that leaves the channel in y but stays within the height of the contacts passes.GR.C.1assumes every mesa is a transistor. Test structures with one contact or more than two, such as a transfer-length ladder or a continuous multi-finger mesa, need a waiver.The reference checks assume the device is placed at a multiple of 90°. Other angles snap the edges off-grid and trigger false
TG.E.1andGRC.S.1markers.
GR.C.1 catches a contact strap across the channel and a missing contact. LVS treats jofet as a black box and checks
the ports and the external nets they land on. It detects dropped or swapped terminals and shorts in the external wiring.
GRAPHENE_CONTACT is extracted as a standalone metal layer with no connection to TOP_GATE or M1_DRAW.
Changing a rule#
Rule implementations live in the hosted deck, not in this repository. Open an issue with the rule, the value you need and a small layout that fails without it. The deck and the table above change together, and every rule needs a synthetic case that flips its verdict.