summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/doc/sampleIC.m4
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/circuit_macros/doc/sampleIC.m4')
-rw-r--r--graphics/circuit_macros/doc/sampleIC.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/circuit_macros/doc/sampleIC.m4 b/graphics/circuit_macros/doc/sampleIC.m4
new file mode 100644
index 0000000000..bf2bb2358e
--- /dev/null
+++ b/graphics/circuit_macros/doc/sampleIC.m4
@@ -0,0 +1,16 @@
+.PS
+log_init
+command "\small\sf"
+
+ U: box wid 18*L_unit ht 9*lg_pinsep
+
+ Loopover_(`x',
+ `lg_pin(U.nw-(0,m4Lx*lg_pinsep),,,w`'x)',
+ nul,L,M,I,O,N,E,NE)
+
+ define(`Upin',
+ `lg_pin(U.ne-(0,(17-`$1')*lg_pinsep),`$2',Pin`$1',e`$3',`$1',8*L_unit)')
+ Loopover_(`x',
+ `Upin(patsubst(x,;,`,'))',
+ 16;Vin;, 15;D0;L, 14;D1;M, 13;D2;I, 12;D3;O, 11;D4;N, 10;D5;E, 9;D6;NE )
+.PE