| 1 |
.PS |
| 2 |
# IC10107.m4 |
| 3 |
log_init |
| 4 |
|
| 5 |
right_ |
| 6 |
pinlen = 2*NOT_rad |
| 7 |
hunit = AND_wd*L_unit*1.6 |
| 8 |
B: box invis wid hunit*4 ht hunit*2 |
| 9 |
psep = hunit/2 |
| 10 |
nrad = B.ht*0.06 |
| 11 |
line from B.w+(0,nrad) to B.nw then to B.ne then to B.se then to B.sw \ |
| 12 |
then to B.w-(0,nrad) |
| 13 |
arc ccw to Here+(0,2*nrad) with .c at B.w |
| 14 |
for i = 1 to 8 do { |
| 15 |
line down pinlen from B.sw+(psep/2,0)+((i-1)*psep,0) |
| 16 |
sprintf("\small\sf%g",i) below |
| 17 |
exec sprintf("P%g: last line.start",i) |
| 18 |
line up pinlen from B.ne-(psep/2,0)-((i-1)*psep,0) |
| 19 |
sprintf("\small\sf%g",8+i) above |
| 20 |
exec sprintf("P%g: last line.start",8+i) |
| 21 |
} |
| 22 |
G1: OR_gen(2,PIBANEONSEC) with .Out at P12.x-pinlen,B.y+B.ht/4 |
| 23 |
G2: OR_gen(2,PIBANNEOSEC) with .Out at B.e.x-4*pinlen,B.y |
| 24 |
left_ |
| 25 |
G3: OR_gen(2,PIBANEONSEC) with .NE at P3.x,B.y-B.ht/4-AND_ht/6*L_unit |
| 26 |
|
| 27 |
line from G3.N_NSE.w to (P2,G3.N_NSE) then to P2 |
| 28 |
line from P3 to G3.NE |
| 29 |
line right pinlen from G3.In1 then down 2*pinlen |
| 30 |
contline to (P4,Here) then to P4 |
| 31 |
line from G3.In2 to (P5,G3.In2) then to P5 |
| 32 |
|
| 33 |
line from G2.In2 left pinlen then down 2*pinlen |
| 34 |
contline to (P9,Here) then to P9 |
| 35 |
line from G2.In1 left pinlen*2 then down G2.In1.y-G2.In2.y+3*pinlen |
| 36 |
contline to (P7,Here) then to P7 |
| 37 |
line from G2.SE right NOT_rad+2*pinlen then up B.n.y-pinlen-G2.SE.y |
| 38 |
contline to (P10,Here) then to P10 |
| 39 |
line from G2.N_NNE.e right pinlen then up B.n.y-2*pinlen-G2.N_NNE.y |
| 40 |
contline to (P11,Here) then to P11 |
| 41 |
|
| 42 |
line from P12 to (P12,G1.N_NSE) then to G1.N_NSE.e |
| 43 |
line from P13 down pinlen |
| 44 |
contline to (G1.NE,Here) then to G1.NE |
| 45 |
line from G1.In1 to (P14,G1.In1) then to P14 |
| 46 |
line from G1.In2 to (P15,G1.In2) then to P15 |
| 47 |
|
| 48 |
.PE |