|
1 | 1 | cell inverter(nw: Float, pw: Float) { |
2 | | - let ndiff = rect("diff.drawing", x0=0., y0=0., y1=nw + nw); |
| 2 | + let ndiff = rect("diff.drawing", x0=0., y0=0., y1=nw); |
3 | 3 | let poly = rect("poly.drawing", y0=ndiff.y0-130.); |
4 | 4 | eq(poly.x0 + poly.x1, ndiff.x0 + ndiff.x1); |
5 | 5 | eq(poly.x1 - poly.x0, 150.); |
@@ -55,7 +55,7 @@ cell inverter(nw: Float, pw: Float) { |
55 | 55 |
|
56 | 56 | let nwell = rect("nwell.drawing", x0=ntap.x0-180., x1=ntap.x1+180., y0=pdiff.y0-180., y1=ntap.y1+180.); |
57 | 57 |
|
58 | | - let licon = rect("licon1.drawing", x0=0., x1=170., y0=0., y1=170.); |
| 58 | + let licon = crect(layer="licon1.drawing", x0=0., x1=170., y0=0., y1=170.); |
59 | 59 | let cons = crect(x0=vdd_s.x0, x1=vdd_s.x1, y0=pdiff.y0+40., y1=pdiff.y1-40.); |
60 | 60 | #scope1 std::center_rects(cons, #scope0 std::max_array(licon, cons.w, cons.h, 340., 340.)); |
61 | 61 | let cons = crect(x0=vout.x0, x1=vout.x1, y0=pdiff.y0+40., y1=pdiff.y1-40.); |
|
0 commit comments