Commit 051a7e57 authored by Dick Hollenbeck's avatar Dick Hollenbeck

move import directory to new branch kicad-contrib

parent 1ad84c07
File: README
Wed May 2 13:26:24 MDT 2012 fwb
This import directory contains tools for importing
to Kicad from other EDA tools.
edif2kicad / EDIF to EEschema schematic import
Tools with EDIF out writer:
o OrCad
o DataXpress
o Viewlogic
o IntuSoft ICAP
o Protel nVisage
o PADS ?
o P-CAD ?
o EDIF viewer (www.cimmetry.com)
o EDIF translator (www.elgris.com/content/edif_overview.html)
pcb123net2kicad / converts a pcb123 netlist to Kicad default format
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
edif.y, e2net, e2sch - Frank Bennett
see change_log.txt for status
Tools with EDIF out writer:
o OrCad
o DataXpress
o Viewlogic
o IntuSoft ICAP
o Protel nVisage
o PADS ?
o P-CAD ?
o EDIF viewer (www.cimmetry.com)
o EDIF translator (www.elgris.com/content/edif_overview.html)
Modified to output a KiCad Netlist
1) find/store InstanceNameDef. ViewRef - i.e. CMP31.cap
2) find/store Nets: NetNameDef, InstRef, PortRef
3) sort Nets by InstRef
Files:
makefile - Unix style makefile, runs Bison & runs gcc
ppedif.c - pretty print EDIF
edif.y - edif BNF Grammer, yylex, & main.c
savlib.c - output format
e2net.c - EDIF to netlist main
e2sch.c - EDIF to libs, schematic main
e2lib.c - EDIF to libs (obsolete)
examples/
eyespy - ORCad schematic (ATX PS)
PS10 - OrCad schematic in EDIF format(reformated)
PS10.EDF - Original PS10
PS10.pdf - PS10 schematic
PS10.net - KiCad netlist output see below
batest.1 - edif test file
batest.2 - edif test file
hptest - edif test file
hptest.net - KiCad netlist output see below
Tested under Linux and cygwin (http://www.cygwin.com)
Install: (./run_tests or)
make
cd examples
../ppedif < PS10.EDF > PS10
../e2net < PS10 > PS10.net or
../e2net PS10 or
../e2net hptest or
../e2sch examples/eyespy
../e2sch examples/PS10
../e2sch examples/BCD
Notes:
e2lib is now obsolute
Edif Notes:
o hptest is more readable for parser debugging. This begs for
EdifBeautifier for the OrCad output (use ppedif)
o EDIF schematic file contain
- symbol ports names, Direction, Designator
- symbol graphics, justification, orientation, origin
- sheet ports, instances, instance location, symbol reference
- sheet Netlist, wire paths
Doesn't seem to include footprint references
TODO:
o find/output schematic drawing, symbol graphics
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
roger's previous comments:
This is an EDIF 2.0.0 parser, well more like a recognizer. If
you build the test case and run it with a valid EDIF file on the
standard input the program will just terminate normally. Sounds
real useful, huh. The nifty part is that the core of the parser
is YACC-able, almost. The problem is that the EDIF grammer is
so large that standard YACC just can't swallow it. So you need
to either super charge your YACC or use a YACC clone like BISON.
I used BISON, which is GNU-ware and so is freely available besides
being a terrific program. I think BISON is available from the
Free Software Foundation or on systems near you; even I am happy
to pass it on to whoever wants it.
Enough BISON praise. The reason I made the parser YACC-able is
because past experience indicates this one of the easiest forms
to add actions too, as well as put in updates or fixes. EDIF is
hardly context free though, and so I had to fold all sorts of
ugliness into the lexical analyzer to keep the YACC part clean.
This version is raw, it doesn't build symbol tables, do
semantic checking or create a database. The parser itself won't
even run though a wrapper has been included for testing. I wanted
to get out one version before I started adding such junk to it.
Again experience indicates that it is no fun lobotimizing parsers
so that you can do the low level stuff your way. Besides somebody
might even find a bug in the code ... naw, that's a silly
justification.
The 'makefile' I've included is not the one I use (and probably
will get me in lots of trouble). I invoke gobs of debugging and
profiling switches which are specific to our compilers, the
'makefile' is intended to be generic and may require some diddling.
I developed the code on a BSD 4.3 system and haven't added the
changes for SYS V, though they should be minor. The parser was too
large to post in one piece, so it got split and the 'makefile'
should know how to patch it together. There is one definition of
possible interest. Compiling with a '-DDEBUG' will cause the 8 most
recently consumed tokens to be displayed in the event of a parse
error. Profiling indicates a pretty costly item though.
Three test cases are included:
hptest - by Fabio Angelillis of Hewlett-Packard
batest.1
batest.2 - by Bill Ames of Silicon Compilers
Many thanks to them and the files are provide as is, no warrenty
implied and brush after every meal ...
I find the parser code to be easily immediately obvious and so
no documentation is included in the release. Humm ... don't buy that.
Actually documentation is in the works but it would delay this
posting too long if I waited for it to be completed. If you find
the parser totally incomprehensible, E-mail me a request and I'll
send you whatever I have written by the time I get your mail.
Lastly, as far as I'm concerned this parser is now in the public
domain and you can do anything you want with it. My next task is
to make it build a database and when that's through I'll probably
post it again ... you have been warned! Enjoy, and I'd be happy to
get bug reports or stories of how many ways you found to delete
the source ...
--
-your friendly neighborhood Rogue Monster roger@mips.com
UUCP: {decvax,ucbvax,ihnp4,hplabs,sun,ames,prls}!decwrl!mips!roger
USPS: MIPS Computer Systems, 930 Arques, Sunnyvale, CA 94086, (408) 991-0220
FILE: change_log.txt
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2012-Apr-27 fwb
-EDIF added OrCad test/openrd.edf & test/OPENRD_16-00050-02.pdf files
-See OpenRD.org - Open Reference Designs
-Marvel Sheeva 88F6281 ARM SOC, USB, DDR2, PCIe, SATA
-multiple sheet symbol (netlister gives warning for
multiple U1 - sheet 2,3,4,6) need to fix EEschema netlister
-sheet ref [1,2,3] -> {1,2,3} (not bus members)
-bus range DDR2[15:0] ->DDR2[15..0]
-pickup footprint, manufacture and MFG part number
TODO fixme
-PARTSVALUE coordinates are wild
-get rid of all the ANNOTATION "COMMENT" OutText
-PORT LEFT,RIGHT,BOTH oxy s/b 0,0 not PWR symbols
testing
$make
$cd test
$../e2sch openrd.edf
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2008-Apr-28 fwb
fix sig segv for eample/X375D_VER72.EDF
some bug with ARCS position??
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2008-Apr-1 fwb
match top.sch sheet names with sch files
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2008-Mar-31 fwb
cleanup module, pin names
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2008-Mar-28 fwb
generate a top.sch if # pages >1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2008-Mar-26 fwb
first attempt to write multi-page schematics
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2008-Mar-3 fwb
Ref Desig, value location move with symbol
netlist improved
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2008-Feb-13 fwb
Reference and value move with Instance
added symbol text
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2008-Feb-10 fwb
Improved Instance reference, value positions
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2008-Feb-7 fwb
1) OrCad version 10 doesn't xmit PIN_32_NUMBER_32_IS_32_VISIBLE
so for now all pins are visable
2) Verion 10 uses portInstance to display PIN name/number but
the coordinates are messed and without 1) no pin hotspots are shown
3) added PCB_FOOTPRINT Instance property
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2008-Feb-6 fwb
improved text scaling
automatically compute pin lenght and orientation
Instances were getting confused with CellDefs
Circles & Rectangles seem to be correct now
Design can now include CellDefs
e2sch works with OrCad version 9 , EDIF from ver 10 has problems
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2007-dec-3 fwb
demote symbols (*XTIE* or *JUNCTION*) to connections
improving netlist quality
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2007-nov-21 fwb
fixed property property integer
multi segment WIRE - OrCad ver 10
text size per FigGrp
pick up Instance Ref Designator
TODO
remove XTIEs form netlist
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2007-nov-16 fwb
removed strndup from edif.y
added OutPro function to generate a .pro file with libs listed
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2007-oct-30 fwb
fixed CAPSYM.lib - power syms
better netlist - caps have VCC & GND
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2007-oct-23 fwb - clean up, fix core crash, pin visability
TODO:
o fix Power connections
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2007-oct-17 fwb - Schematic is useable, not perfect
eyespy works, PS10 doesn't
need to hand edit
o library for PinUP, PinDown
o OrCad mistakes (couple Cap positions)
TODO:
o debug/fix PS10
o add TIE points
o try to generate a netlist from EEschema
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2007-Oct-12 fwb - multiple libs, fixed ARC, DESIGNATOR/VALUE
position Demorgan convert & pin name renames
Looks good enough to start schematic
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2007-Oct-10 fwb - major rewrite, cleanup
produces separate libs, KiCad style
symbol pins are close
but not quite ready for primetime
ARC needs some work
Note:OrCad puts out multiple Instance designators
Program warnings only
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2007-oct-06 fwb - fewer errors on lib browse
symbls are recognizable
need to work on text orientation
e2net broken
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2007-oct-05 fwb - produces almost readable eyespy.lib
need to fix:
DRAW
P 0 0 0 0
after this error, ok, library browse
draws some stuff.
need to add curve/arc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2007-oct-03 fwb - initial ci e2lib.c
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
20071003 fwb - split main out of edif. Now have e2net, e2sch
this also might keep the parser clean, which will
just build the structs
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2007-oct-02 fwb - added a pretty print edif program (ppedif.c) and
updated makefile
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2007-sep-19 fwb - Original release
/*
* e2lib - EDIF to KiCad library
*/
#define global
#include <stdio.h>
#include <string.h>
#include "ed.h"
#include "eelibsl.h"
int yydebug=0;
int bug=0; // debug level:
char *InFile = "-";
char FileNameNet[64], FileNameLib[64], FileNameEESchema[64], FileNameKiPro[64];
FILE * FileEdf, * FileNet, * FileEESchema, * FileLib=NULL, * FileKiPro=NULL;
global char *cur_nnam=NULL;
global struct inst *insts=NULL, *iptr=NULL;
global struct con *cons=NULL, *cptr=NULL;
global float scale;
main(int argc, char *argv[])
{
char * version = "0.9";
char * progname;
progname = strrchr(argv[0],'/');
if (progname)
progname++;
else
progname = argv[0];
fprintf(stderr,"*** %s Version %s ***\n", progname, version);
if( argc != 2 ) {
fprintf(stderr, " usage: %s EDIFsrc \n") ; return(1);
}
InFile= argv[1];
if( (FileEdf = fopen( InFile, "rt" )) == NULL ) {
fprintf(stderr, " %s non trouve\n", InFile);
return(-1);
}
sprintf(FileNameEESchema,"%s.sch",argv[1]);
if( (FileEESchema = fopen( FileNameEESchema, "wt" )) == NULL ) {
fprintf(stderr, " %s impossible a creer\n", FileNameEESchema);
return(-1);
}
sprintf(FileNameKiPro,"%s.pro",argv[1]);
if( (FileKiPro = fopen( FileNameKiPro, "wt" )) == NULL ) {
fprintf(stderr, " %s impossible a creer\n", FileNameKiPro);
return(-1);
}
fprintf(stderr, "Parsing %s\n", InFile);
Libs=NULL;
ParseEDIF(FileEdf, stderr);
fprintf(FileEESchema,"$EndSCHEMATC\n");
for( ; Libs != NULL; Libs = Libs->nxt ){
// fprintf(FileLib,"### Library: %s ###\n", Libs->Name);
sprintf(FileNameLib,"%s.lib", Libs->Name);
if( (FileLib = fopen( FileNameLib, "wt" )) == NULL ) {
printf( " %s impossible a creer\n", FileNameLib);
return(-1);
}
fprintf(stderr," writing %s\n", FileNameLib);
SaveActiveLibrary(FileLib, Libs );
fclose(FileLib);
}
fclose(FileEESchema);
fprintf(stderr, " BonJour\n");
return(0);
}
/*
* e2net - EDIF to KiCad netlist
*/
#define global
#include <stdio.h>
#include <string.h>
#include "ed.h"
#include "eelibsl.h"
int yydebug=0;
int bug=0; // debug level: >2 netlist, >5 schematic, >8 all
char *InFile = "-";
char FileNameNet[64], FileNameSdtLib[64], FileNameEESchema[64], FileNameKiPro[64];
FILE * FileEdf, * FileNet, * FileEESchema, * FileSdtLib=NULL, * FileKiPro=NULL;
global char *cur_nnam=NULL;
global struct inst *insts=NULL, *iptr=NULL;
global struct con *cons=NULL, *cptr=NULL;
global float scale;
main(int argc, char *argv[])
{
char * version = "0.91";
char * progname;
progname = strrchr(argv[0],'/');
if (progname)
progname++;
else
progname = argv[0];
fprintf(stderr, "*** %s Version %s ***\n", progname, version);
// if( argc != 2 ) {
// fprintf(stderr, " usage: %s EDIDsrc \n") ; return(1);
// }
if( argc != 2 ){
FileEdf = stdin;
FileNet = stdout;
}else{
InFile= argv[1];
sprintf(FileNameNet,"%s.net",argv[1]);
fprintf(stderr, "Parsing %s\n", InFile);
if( (FileEdf = fopen( InFile, "rt" )) == NULL ) {
fprintf(stderr, " %s non trouve\n", InFile);
return(-1);
}
if( (FileNet = fopen( FileNameNet, "wt" )) == NULL ) {
fprintf(stderr, " %s impossible a creer\n", FileNameNet);
return(-1);
}
}
Libs=NULL;
FileEESchema = NULL;
ParseEDIF(FileEdf, stderr);
fprintf(stderr,"Parse Complete\n");
// bubble sort cons by ref
struct con *start, *a, *b, *c, *e = NULL, *tmp;
char line[80], s1[40], s2[40], *s;
// for (start=cons ; start != NULL ; start = start->nxt ){
// fprintf(stderr,"%s %25s %s\n", start->ref, start->pin, start->nnam);
// }
if(cons != NULL)
while (e != cons->nxt ) {
c = a = cons; b = a->nxt;
while(a != e) {
sprintf(s1, "%s%25s", a->ref, a->pin);
sprintf(s2, "%s%25s", b->ref, b->pin);
if( strcmp( s1, s2 ) >0 ) {
if(a == cons) {
tmp = b->nxt; b->nxt = a; a->nxt = tmp;
cons = b; c = b;
} else {
tmp = b->nxt; b->nxt = a; a->nxt = tmp;
c->nxt = b; c = b;
}
} else {
c = a; a = a->nxt;
}
b = a->nxt;
if(b == e)
e = a;
}
}
// dump connections by component
strcpy(s1, "" );
for (start=cons ; start != NULL ; start = start->nxt ){
if(strcmp(s1, start->ref) != 0)
printf("\n");
printf("%4s %3s %s\n", start->ref, start->pin, start->nnam);
strcpy(s1, start->ref);
}
#ifdef NOT
while(insts != NULL){
printf("%5s %s\n", insts->ins, insts->sym);
insts = insts->nxt;
}
#endif
// output kicad netlist
int first=1;
fprintf(FileNet,"( { netlist created 13/9/2007-18:11:44 }\n");
// by component
strcpy(s1, "" );
while (cons != NULL){
if(strcmp(s1, cons->ref) != 0) {
if(!first) fprintf(FileNet," )\n");
for( s=NULL, iptr=insts ; iptr != NULL && iptr->ins != NULL ; iptr = iptr->nxt ){
if( !strcmp(cons->ref, iptr->ins)){
s = iptr->sym;
break;
}
}
fprintf(FileNet," ( 84DFBB8F $noname %s %s {Lib=%s}\n", cons->ref, s, s);
first=0;
}
fprintf(FileNet," (%5s %s )\n",cons->pin, cons->nnam);
strcpy(s1, cons->ref);
cons = cons->nxt;
}
fprintf(FileNet," )\n)\n");
fclose(FileEdf);
fclose(FileNet);
if( FileNet != stdout )
fprintf(stderr," output is %s \n", FileNameNet);
fprintf(stderr, " BonJour\n");
return(0);
}
/*
* e2sch - EDIF to KiCad schematic
*/
#define global
#include <stdio.h>
#include <string.h>
#include "ed.h"
#include "eelibsl.h"
int bug=3; // debug level:
int yydebug=0;
char *InFile = "-";
char FileNameNet[64], FileNameLib[64], FileNameEESchema[64], FileNameKiPro[64];
FILE *FileEdf, *FileNet, *FileEESchema=NULL, *FileLib=NULL, *FileKiPro=NULL;
global struct inst *insts=NULL, *iptr=NULL;
global struct con *cons=NULL, *cptr=NULL;
global int pass2=0;
global float scale;
global char efName[50];
main(int argc, char *argv[])
{
char * version = "0.97";
char * progname;
extern int nPages;
extern struct pwr *pgs;
progname = strrchr(argv[0],'/');
if (progname)
progname++;
else
progname = argv[0];
fprintf(stderr,"*** %s Version %s ***\n", progname, version);
if( argc != 2 ) {
fprintf(stderr, " usage: EDIFfile \n") ; return(1);
}
InFile= argv[1];
if( (FileEdf = fopen( InFile, "r" )) == NULL ) {
fprintf(stderr, " '%s' doesn't exist\n", InFile);
return(-1);
}
Libs=NULL; strcpy(schName,"");
fprintf(stderr, "Parsing %s & writing .sch file\n", InFile);
ParseEDIF(FileEdf, stderr);
fprintf(stderr, "\n%s Libs -> cache <<<<\n", progname);
sprintf(FileNameLib,"%s.cache.lib", schName);
if( (FileLib = fopen( FileNameLib, "wt" )) == NULL ) {
printf( " %s impossible too create\n", FileNameLib);
return(-1);
}
OutLibHead(FileLib, Libs );
for( ; Libs != NULL; Libs = Libs->nxt ){
//fprintf(stderr, " Lib:%s %s\n", Libs->Name, schName);
SaveActiveLibrary(FileLib, Libs );
}
OutLibEnd(FileLib);
pass2++;
// freopen(InFile, "rt", FileEdf);
fprintf(stderr, " %d Pages\n",nPages);
fprintf(stderr, " BonJour\n");
return(0);
}
/*
* ed.h
*/
#ifndef E_H
#define E_H
#ifndef global
#define global extern
#endif
#define YYDEBUG 1
#define IDENT_LENGTH 255
#define Malloc(s) malloc(s)
#define Free(p) free(p)
#define ABS(v) ((v) < 0 ? -(v) : (v))
#define Getc(s) getc(s)
#define Ungetc(c) ungetc(c,Input);
extern int atoi();
extern int bug;
struct inst {
char *ins, *sym;
struct inst *nxt;
};
char *cur_nnam;
struct con {
char *ref;
char *pin;
char *nnam;
struct con *nxt;
};
struct FigGrpStruct {
char Name[20];
int PathWidth, Color, TextHeight, Visible;
struct FigGrpStruct * nxt;
};
struct plst { int x, y; struct plst *nxt;};
struct st { char *s; struct plst *p; int n; struct st *nxt;};
struct pwr { char *s, *r ; struct pwr *nxt;};
#endif
/*
ViewRef : VIEWREF ViewNameRef _ViewRef PopC
{
$$=$2; if(bug>2)fprintf(Error,"ViewRef: %25s ", $3);
iptr = (struct inst *)Malloc(sizeof (struct inst));
iptr->sym = $3;
iptr->nxt = insts;
insts = iptr;
}
*/
This source diff could not be displayed because it is too large. You can view the blob instead.
/************************************************/
/* Local definitions of the EELibs?.c modules. */
/************************************************/
#ifndef EELIBSL_H
#define EELIBSL_H
#ifndef global
#define global extern
#endif
#define DEFAULT_SIZE_TEXT 60 /* Hauteur (en 1/000" par defaut des textes */
#define BooleanType char
// TODO get rid of PART_NAME_LEN, use char * && strncpy
#define PART_NAME_LEN 64 /* Maximum length of part name. */
#define PREFIX_NAME_LEN 5 /* Maximum length of prefix (IC, R, SW etc.). */
#define FOOT_NAME_LEN 40 /* Maximum length of footprint name. */
#define MFG_NAME_LEN 30 /* Maximum length of manufacture name. */
#define MFG_PART_LEN 40 /* Maximum length of manf part name. */
#define PIN_SEPERATOR "\n" /* See Pins in LibraryEntryStruct. */
#define FILE_IDENT "EESchema-LIBRARY Version 2.0" /* Must be at the lib file start. */
#define PIN_WIDTH 100 /* Width between 2 pins in internal units. */
#define PIN_LENGTH 300 /* Default Length of each pin to be drawn. */
#define INVERT_PIN_RADIUS 40 /* Radius of inverted pin circle. */
#define CLOCK_PIN_DIM 40 /* Dim of clock pin symbol. */
#define IEEE_SYMBOL_PIN_DIM 40 /* Dim of special pin symbol. */
/* Normalize angle to be in the 0..360 range: */
#define NORMALIZE_ANGLE(Angle) { while (Angle < 0) Angle += 3600; \
while (Angle > 3600) Angle -= 3600; }
/* definition des types des structures d'elements de librairie */
typedef enum {
ROOT, /* La structure est du type LibraryEntryStruct */
ALIAS /* La structure est un alias */
} LibrEntryType;
/* Definitions des Pins */
typedef enum { /* Type des Pins */
PIN_INPUT,
PIN_OUTPUT,
PIN_BIDI,
PIN_TRISTATE,
PIN_PASSIVE,
PIN_UNSPECIFIED,
PIN_POWER,
PIN_OPENCOLLECTOR,
PIN_OPENEMITTER
} ElectricPinType;
/* Autres bits: bits du membre .Flag des Pins */
#define PINNOTDRAW 1 /* si 1: pin invisible */
typedef enum { /* Forme des Pins */
NONE = 0,
INVERT = 1,
CLOCK = 2,
LOWLEVEL_IN = 4,
LOWLEVEL_OUT = 8
} DrawPinShape;
typedef enum { /* Orientation des Pins */
PIN_N = 'N', // normal, no rotation
PIN_RIGHT = 'R',
PIN_LEFT = 'L',
PIN_UP = 'U',
PIN_DOWN = 'D',
} DrawPinOrient;
typedef enum
{
REFERENCE = 0, /* Champ Reference of part, i.e. "IC21" */
VALUE, /* Champ Value of part, i.e. "3.3K" */
FIELD1,
FIELD2,
FIELD3,
FIELD4,
FIELD5,
FIELD6,
FIELD7,
FIELD8,
MODULE_PCB, /* Champ Name Module PCB, i.e. "16DIP300" */
SHEET_NAME /* Champ Name Schema componant, i.e. "cnt16.sch" */
} NumFieldType;
typedef struct LibraryFieldEntry /* Fields auxiliaires identiques aux fields
des composants, pouvant etre predefinis en lib */
{
int StructType;
int FieldId; /* 1 a 11, mais usuellement MODULE_PCB et SHEET_PART */
int PosX, PosY, Size;
int Orient; /* Orientation */
int Flags; /* Attributs (Non visible ...) */
char *Text; /* Pointeur sur le texte */
struct LibraryFieldEntry *nxt;
}LibraryFieldEntry;
/* Structures de dessin des composants : */
typedef struct LibraryAliasStruct {
LibrEntryType Type; /* Type = ALIAS pour cette struct */
char Name[PART_NAME_LEN + 1]; /* Alias Part name. */
char RootName[PART_NAME_LEN + 1]; /* Part name pour le composant de reference */
struct LibraryEntryStruct * RootEntry; /* Pointeur sur le composant de ref */
} LibraryAliasStruct;
typedef enum {
ARC_DRAW_TYPE,
CIRCLE_DRAW_TYPE,
TEXT_DRAW_TYPE,
SQUARE_DRAW_TYPE,
LINE_DRAW_TYPE,
POLYLINE_DRAW_TYPE,
SEGMENT_DRAW_TYPE,
PIN_DRAW_TYPE
} DrawStructType;
typedef struct LibraryDrawArc {
int x, y, r, t1, t2, width;
} LibraryDrawArc;
typedef struct LibraryDrawCircle {
int x, y, r, width;
} LibraryDrawCircle;
typedef struct LibraryDrawText {
int Horiz, x, y, size, type;
char *Text;
} LibraryDrawText;
typedef struct LibraryDrawSquare {
int x1, y1, x2, y2, width;
} LibraryDrawSquare;
typedef struct LibraryDrawPolyline {
int n, *PolyList;
BooleanType Fill;
int width;
} LibraryDrawPolyline;
typedef struct LibraryDrawSegment {
int x1, y1, x2, y2, width;
} LibraryDrawSegment;
typedef struct LibraryDrawPin {
int posX, posY; /* Position du point de reference de la Pin */
short Len; /* longueur de la Pin */
short Orient; /* Orientation de la Pin (Up, Down, Left, Right) */
short PinShape; /* Bit a bit: forme de la pin (voir enum prec) */
char PinType; /* type electrique de la pin */
char Flags; /* bit 0 != 0: pin invisible */
char Num[5]; /* numero / ref grid array, si .Num < 0 4 chars */
char * Name;
char * ReName;
short SizeNum, SizeName; /* taille des num pin et name pin */
} LibraryDrawPin;
typedef struct LibraryDrawEntryStruct {
int DrawType;
short Unit; /* identification de l'unite */
short Convert; /* identification de la forme en multiples rep. */
union {
LibraryDrawArc Arc;
LibraryDrawCircle Circ;
LibraryDrawText Text;
LibraryDrawSquare Sqr;
LibraryDrawPolyline Poly;
LibraryDrawSegment Segm;
LibraryDrawPin Pin;
} U;
struct LibraryDrawEntryStruct *nxt;
} LibraryDrawEntryStruct;
typedef struct LibraryEntryStruct {
LibrEntryType Type; /* Type = ROOT;
= ALIAS pour struct LibraryAliasType */
char Name[PART_NAME_LEN + 1]; /* Part name. */
char Prefix[PREFIX_NAME_LEN + 1]; /* Prefix ( U, IC ... ) */
char * AliasList; /* Pointeur sur la liste des ALIAS de ce composant */
int NamePosX, NamePosY, NameOrient, NameSize;
int PrefixPosX, PrefixPosY, PrefixOrient, PrefixSize;
int NumOfUnits;
int TextInside;
BooleanType DrawPinNum, DrawPinName, DrawName, DrawPrefix;
LibraryFieldEntry *Fields; /* Liste des Champs auxiliaires */
LibraryDrawEntryStruct *Drawings; /* How to draw this part */
int BBoxMinX, BBoxMaxX, BBoxMinY, BBoxMaxY; /* BBox around the part. */
struct LibraryEntryStruct *nxt;
} LibraryEntryStruct;
typedef struct LibraryStruct {
char *Name; /* Name of library loaded. */
int isSheet;
int NumOfParts; /* Number of parts this library has. */
struct LibraryEntryStruct *Entries; /* Parts themselves are saved here. */
struct LibraryStruct *nxt; /* Point on next lib in chain. */
} LibraryStruct;
global LibraryStruct *Libs, *CurrentLib, *DesignName, *LSptr;
global LibraryEntryStruct *LibEntry, *LEptr;
global LibraryDrawEntryStruct *Drawing, *LDptr;
global LibraryFieldEntry *InsEntry;
global char schName[50];
#endif // EELIBSL_H
/*
ViewRef : VIEWREF ViewNameRef _ViewRef PopC
{
$$=$2; if(bug>2)fprintf(Error,"ViewRef: %25s ", $3);
iptr = (struct inst *)Malloc(sizeof (struct inst));
iptr->sym = $3;
iptr->nxt = insts;
insts = iptr;
}
*/
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
( { netlist created 13/9/2007-18:11:44 }
( 84DFBB8F $noname I_45_115838881 (null) {Lib=(null)}
( A ENABLE )
( B BCD3 )
( C BCD0 )
( Y N00168 )
)
( 84DFBB8F $noname I_45_115968994 (null) {Lib=(null)}
( A N00168 )
( B N00040 )
( Y RCO )
)
( 84DFBB8F $noname I_45_238411093 (null) {Lib=(null)}
( A BCD2 )
( B BCD1 )
( Y N00040 )
)
( 84DFBB8F $noname I_45_238416467 (null) {Lib=(null)}
( D N00128 )
( E ENABLE )
( Q BCD0 )
( CLK CLOCK )
( CLR CLEAR )
)
( 84DFBB8F $noname I_45_238416503 (null) {Lib=(null)}
( D N00106 )
( Q BCD1 )
( CLK CLOCK )
( CLR CLEAR )
(CLEAR ENABLE )
)
( 84DFBB8F $noname I_45_238416604 (null) {Lib=(null)}
( E ENABLE )
( Q BCD2 )
( CLK CLOCK )
( CLR CLEAR )
(CLOCK N00084 )
)
( 84DFBB8F $noname I_45_238416651 (null) {Lib=(null)}
( E ENABLE )
( Q BCD3 )
( CLK CLOCK )
( CLR CLEAR )
(ENABLE N00052 )
)
( 84DFBB8F $noname I_45_238421660 (null) {Lib=(null)}
( A BCD0 )
( B BCD3 )
( Y N00160 )
)
( 84DFBB8F $noname I_45_238421799 (null) {Lib=(null)}
( A BCD0 )
( B BCD1 )
( C BCD2 )
( Y N00158 )
)
( 84DFBB8F $noname I_45_238422793 (null) {Lib=(null)}
( A BCD0 )
( B BCD3 )
( C BCD1 )
( Y N00156 )
)
( 84DFBB8F $noname I_45_238423509 (null) {Lib=(null)}
( A BCD1 )
( B BCD3 )
( C BCD0 )
( Y N00154 )
)
( 84DFBB8F $noname I_45_238425335 (null) {Lib=(null)}
( A BCD0 )
( B BCD3 )
( C BCD2 )
( Y N00152 )
)
( 84DFBB8F $noname I_45_238426442 (null) {Lib=(null)}
( A BCD1 )
( B BCD3 )
( C BCD2 )
( Y N39975231091 )
)
( 84DFBB8F $noname I_45_238427502 (null) {Lib=(null)}
( A BCD2 )
( B BCD3 )
( C BCD0 )
( D BCD1 )
( Y N00150 )
)
( 84DFBB8F $noname I_45_238429437 (null) {Lib=(null)}
( A BCD0 )
( B BCD1 )
( C BCD2 )
( D BCD3 )
( Y N00148 )
)
( 84DFBB8F $noname I_45_238430999 (null) {Lib=(null)}
( A BCD3 )
( B BCD0 )
( C BCD1 )
( D BCD2 )
( Y N00146 )
)
( 84DFBB8F $noname I_45_297432317 (null) {Lib=(null)}
( A N00146 )
( B N00148 )
( Y N00052 )
)
( 84DFBB8F $noname I_45_297444187 (null) {Lib=(null)}
( A N00150 )
( B N39975231091 )
( C N00152 )
( Y N00084 )
)
( 84DFBB8F $noname I_45_297454133 (null) {Lib=(null)}
( A N00154 )
( B N00156 )
( Y N00106 )
)
( 84DFBB8F $noname I_45_297458928 (null) {Lib=(null)}
( B N00160 )
( Y N00128 )
( RCO N00158 )
)
( 84DFBB8F $noname XRIP35DF890 (null) {Lib=(null)}
( &1 BCD2 )
( &2 BCD0 )
)
( 84DFBB8F $noname XRIP36E21F8 (null) {Lib=(null)}
( &1 BCD2 )
( &2 BCD3 )
)
( 84DFBB8F $noname XRIP36E2230 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &1 BCD2 )
)
( 84DFBB8F $noname XRIP36E2268 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD3 )
)
( 84DFBB8F $noname XRIP36E22A0 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD0 )
)
( 84DFBB8F $noname XRIP36E22D8 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD2 )
)
( 84DFBB8F $noname XRIP36E2310 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD1 )
)
( 84DFBB8F $noname XRIP36E2618 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD3 )
)
( 84DFBB8F $noname XRIP36E2650 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD0 )
)
( 84DFBB8F $noname XRIP36E2688 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD0 )
)
( 84DFBB8F $noname XRIP36E26C0 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD3 )
)
( 84DFBB8F $noname XRIP36E26F8 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD1 )
)
( 84DFBB8F $noname XRIP36E2730 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD0 )
)
( 84DFBB8F $noname XRIP36E2768 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD1 )
)
( 84DFBB8F $noname XRIP36E27A0 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
(BCD_91_3_46__46_0_93_ BCD2 )
)
( 84DFBB8F $noname XRIP36E27D8 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD0 )
)
( 84DFBB8F $noname XRIP36E2A38 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD0 )
)
( 84DFBB8F $noname XRIP36E2A70 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD1 )
)
( 84DFBB8F $noname XRIP36E2AA8 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD1 )
)
( 84DFBB8F $noname XRIP36E2AE0 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD3 )
)
( 84DFBB8F $noname XRIP36E2B18 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD2 )
)
( 84DFBB8F $noname XRIP36E2B50 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD0 )
)
( 84DFBB8F $noname XRIP36E2B88 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD3 )
)
( 84DFBB8F $noname XRIP36E2BC0 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD2 )
)
( 84DFBB8F $noname XRIP36E2BF8 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD1 )
)
( 84DFBB8F $noname XRIP36E2E58 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD0 )
)
( 84DFBB8F $noname XRIP36E2E90 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD1 )
)
( 84DFBB8F $noname XRIP36E2EC8 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD2 )
)
( 84DFBB8F $noname XRIP36E2F00 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD0 )
)
( 84DFBB8F $noname XRIP36E2F38 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD1 )
)
( 84DFBB8F $noname XRIP36E2F70 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD2 )
)
( 84DFBB8F $noname XRIP36E2FA8 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD3 )
)
( 84DFBB8F $noname XRIP36E2FE0 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD2 )
)
( 84DFBB8F $noname XRIP36E3018 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD3 )
)
( 84DFBB8F $noname XRIP36E33A0 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD1 )
)
( 84DFBB8F $noname XRIP36E33D8 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD2 )
)
( 84DFBB8F $noname XRIP36E3410 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD3 )
)
( 84DFBB8F $noname XRIP36E3448 (null) {Lib=(null)}
( &1 BCD2 )
( &1 BCD2 )
( &2 BCD3 )
)
)
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
( { netlist created 13/9/2007-18:11:44 }
( 84DFBB8F $noname I78969 (null) {Lib=(null)}
( &1 N79094 )
( &2 N79128 )
( &3 N79140 )
( &4 N79173 )
( &5 GND )
( &6 N79192 )
( &7 GND )
( &9 GND )
( &10 VPLUS )
)
( 84DFBB8F $noname I78971 (null) {Lib=(null)}
( &1 VPLUS )
( &2 GND )
)
( 84DFBB8F $noname I78973 (null) {Lib=(null)}
( &1 VPLUS )
( &2 GND )
)
( 84DFBB8F $noname I78975 (null) {Lib=(null)}
( &1 N79332 )
( &2 GND )
)
( 84DFBB8F $noname I78977 (null) {Lib=(null)}
( &1 GND )
( &2 N79368 )
)
( 84DFBB8F $noname I78979 (null) {Lib=(null)}
( &1 &_43_5S )
( &2 GND )
)
( 84DFBB8F $noname I78981 (null) {Lib=(null)}
( &1 &_43_3_46_3S )
( &2 GND )
)
( 84DFBB8F $noname I78983 (null) {Lib=(null)}
( &1 GND )
( &2 &_43_5S )
( &3 &_43_3_46_3S )
( &4 N79332 )
( &5 N79368 )
( &6 COMMON )
( &7 &_43_5 )
( &8 &_43_3_46_3 )
( &9 &_43_13 )
( &10 &_45_13 )
)
( 84DFBB8F $noname I78985 (null) {Lib=(null)}
( FB N84443 )
( VC N79868 )
( GND GND )
( GND GND )
( VIN VPLUS )
( VSW N79094 )
)
( 84DFBB8F $noname I78987 (null) {Lib=(null)}
( &1 VIN2 )
( &4 GND )
( &5 VPLUS )
( &8 VIN1 )
)
( 84DFBB8F $noname I78991 (null) {Lib=(null)}
( &1 VIN1 )
( &2 VIN2 )
)
( 84DFBB8F $noname I78993 (null) {Lib=(null)}
( &1 VPLUS )
( &2 N79112 )
)
( 84DFBB8F $noname I78995 (null) {Lib=(null)}
( &1 N79112 )
( &2 N79094 )
)
( 84DFBB8F $noname I78997 (null) {Lib=(null)}
(ANODE N79128 )
(CATHODE &_43_5S )
)
( 84DFBB8F $noname I78999 (null) {Lib=(null)}
(ANODE N79140 )
(CATHODE &_43_3_46_3S )
)
( 84DFBB8F $noname I79001 (null) {Lib=(null)}
(ANODE N79173 )
(CATHODE N79332 )
)
( 84DFBB8F $noname I79003 (null) {Lib=(null)}
(ANODE N79368 )
(CATHODE N79192 )
)
( 84DFBB8F $noname I79007 (null) {Lib=(null)}
( &1 N79691 )
( &2 SHUTDOWN )
)
( 84DFBB8F $noname I79009 (null) {Lib=(null)}
( &1 VIN1 )
( &2 VIN2 )
( &3 SHUTDOWN )
( &4 COMMON )
( &5 &_43_5 )
( &6 &_43_3_46_3 )
( &7 &_43_13 )
( &8 &_45_13 )
)
( 84DFBB8F $noname I79756 (null) {Lib=(null)}
( BASE N80336 )
(EMITTER GND )
(COLLECTOR N79868 )
)
( 84DFBB8F $noname I79885 (null) {Lib=(null)}
( &1 N79868 )
( &2 N80145 )
)
( 84DFBB8F $noname I79906 (null) {Lib=(null)}
(ANODE N80336 )
(CATHODE VPLUS )
)
( 84DFBB8F $noname I80033 (null) {Lib=(null)}
( &1 N80145 )
( &2 GND )
)
( 84DFBB8F $noname I80035 (null) {Lib=(null)}
( &1 N80336 )
( &2 GND )
)
( 84DFBB8F $noname I80051 (null) {Lib=(null)}
( &1 GND )
( &2 N79691 )
( &3 N79868 )
)
( 84DFBB8F $noname I80699 (null) {Lib=(null)}
( &1 &_43_5 )
( &2 COMMON )
)
( 84DFBB8F $noname I80701 (null) {Lib=(null)}
( &1 &_43_3_46_3 )
( &2 COMMON )
)
( 84DFBB8F $noname I80705 (null) {Lib=(null)}
( &1 &_43_13 )
( &2 COMMON )
)
( 84DFBB8F $noname I80709 (null) {Lib=(null)}
( &1 &_45_13 )
( &2 COMMON )
)
( 84DFBB8F $noname I80877 (null) {Lib=(null)}
( &1 VIN1 )
( &2 VIN2 )
)
( 84DFBB8F $noname I80976 (null) {Lib=(null)}
( &1 GND )
( &2 N81061 )
( &2 GND )
)
( 84DFBB8F $noname I81059 (null) {Lib=(null)}
( &1 N84443 )
( &2 N81061 )
)
( 84DFBB8F $noname I81066 (null) {Lib=(null)}
( &1 N81111 )
( &2 &_43_5S )
)
( 84DFBB8F $noname I81109 (null) {Lib=(null)}
( &1 N81111 )
( &2 &_43_3_46_3S )
)
( 84DFBB8F $noname I81207 (null) {Lib=(null)}
( &1 GND )
( &2 SHUTDOWN )
)
( 84DFBB8F $noname I81967 (null) {Lib=(null)}
( &1 &_43_5S )
( &2 GND )
)
( 84DFBB8F $noname I81971 (null) {Lib=(null)}
( &1 &_43_3_46_3S )
( &2 GND )
)
( 84DFBB8F $noname I82267 (null) {Lib=(null)}
( &1 &_43_5 )
( &2 COMMON )
)
( 84DFBB8F $noname I82271 (null) {Lib=(null)}
( &1 &_43_3_46_3 )
( &2 COMMON )
)
( 84DFBB8F $noname I82326 (null) {Lib=(null)}
( &1 &_43_13 )
( &2 COMMON )
)
( 84DFBB8F $noname I82330 (null) {Lib=(null)}
( &1 COMMON )
( &2 &_45_13 )
)
( 84DFBB8F $noname I84174 (null) {Lib=(null)}
( &1 VPLUS )
( GND GND )
)
( 84DFBB8F $noname I84244 (null) {Lib=(null)}
( &1 N84443 )
( &2 N81111 )
)
)
(EDIF T1
(EDIFVersion 2 0 0)
(EDIFLevel 0)
(keywordMap
(keywordLevel 0))
(status
(written
(timeStamp 2008 3 9 23 12 3)
(dataOrigin "OrCAD Capture on WIN32 EDX ID 0")
(program "cap2edi - Engineering DataXpress, Inc."
(version "2.5 - OrCAD Capture Version 7.20"))))
(library
(rename DISCRETE "DISCRETE")
(EDIFLevel 0)
(technology
(numberDefinition
(scale 1
(e 254 -7)
(unit DISTANCE)))
(figureGroup BODY
(pathWidth 10)
(textHeight 100))
(figureGroup PINNAME
(pathWidth 10)
(textHeight 90)
(property
(rename FONT "font")
(string "Arial")))
(figureGroup PINNUMBER
(pathWidth 10)
(textHeight 90)
(property
(rename FONT "font")
(string "Arial")))
(figureGroup PORT
(pathWidth 10)
(textHeight 90)
(property
(rename FONT "font")
(string "Arial")))
(figureGroup PROPERTY
(pathWidth 10)
(textHeight 90)
(property
(rename FONT "font")
(string "Arial")))
(userData GRIDRESOLUTION
(integer 100 100)))
(cell
(rename &1N4755 "1N4755")
(cellType GENERIC)
(view
(rename NORMAL "Normal")
(viewType SCHEMATIC)
(interface
(designator "D")
(port
(rename A "A")
(property
(rename PORTTYPE "PORTTYPE")
(string "nonLogical")
(owner "Schematic_TSC"))
(designator "")
(property
(rename PIN_32_SHARED "Pin shared")
(string "FALSE"))
(property
(rename TYPE "Type")
(string "Passive"))
(property
(rename ORDER "Order")
(string "0"))
(property
(rename LONG "Long")
(string "False"))
(property
(rename CLOCK "Clock")
(string "False"))
(property
(rename DOT "Dot")
(string "False"))
(property
(rename PIN_32_NUMBER_32_IS_32_VISIBLE "Pin Number Is Visible")
(string "True")))
(port
(rename C "C")
(property
(rename PORTTYPE "PORTTYPE")
(string "nonLogical")
(owner "Schematic_TSC"))
(designator "")
(property
(rename PIN_32_SHARED "Pin shared")
(string "FALSE"))
(property
(rename TYPE "Type")
(string "Passive"))
(property
(rename ORDER "Order")
(string "1"))
(property
(rename LONG "Long")
(string "False"))
(property
(rename CLOCK "Clock")
(string "False"))
(property
(rename DOT "Dot")
(string "False"))
(property
(rename PIN_32_NUMBER_32_IS_32_VISIBLE "Pin Number Is Visible")
(string "True")))
(property
(rename NAME "Name")
(string "1N4755.Normal"))
(property
(rename VALUE "Value")
(string ""))
(property
(rename IMPLEMENTATION_32_PATH "Implementation Path")
(string ""))
(property
(rename IMPLEMENTATION_32_TYPE "Implementation Type")
(string "<none>"))
(property
(rename IMPLEMENTATION "Implementation")
(string ""))
(property
(rename PIN_32_NUMBERS_32_VISIBLE "Pin Numbers Visible")
(string "True"))
(property
(rename PIN_32_NAMES_32_VISIBLE "Pin Names Visible")
(string "False"))
(property
(rename PIN_32_NAMES_32_ROTATE "Pin Names Rotate")
(string "True"))
(symbol
(commentGraphics)
(boundingBox
(rectangle
(pt -100 0)
(pt 400 -200)))
(portImplementation A
(connectLocation
(figure PORT
(dot
(pt -100 -100))))
(figure BODY
(path
(pointList
(pt -100 -100)
(pt 0 -100))))
(keywordDisplay DESIGNATOR
(display PINNUMBER
(justify LOWERRIGHT)
(origin
(pt -70 -90)))))
(portImplementation C
(connectLocation
(figure PORT
(dot
(pt 400 -100))))
(figure BODY
(path
(pointList
(pt 400 -100)
(pt 300 -100))))
(keywordDisplay DESIGNATOR
(display PINNUMBER
(origin
(pt 370 -90)))))
(figure BODY
(path
(pointList
(pt 100 0)
(pt 100 -200)))
(path
(pointList
(pt 100 -200)
(pt 200 -100)))
(path
(pointList
(pt 200 -100)
(pt 100 0)))
(path
(pointList
(pt 100 0)
(pt 100 0)))
(path
(pointList
(pt 0 -100)
(pt 100 -100)))
(path
(pointList
(pt 200 -100)
(pt 300 -100)))
(path
(pointList
(pt 150 0)
(pt 200 -50)))
(path
(pointList
(pt 200 -50)
(pt 200 -150)))
(path
(pointList
(pt 200 -150)
(pt 250 -200))))
(keywordDisplay DESIGNATOR
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 50 90))))
(propertyDisplay VALUE
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 50 -210))))))))
(cell
(rename CAPACITOR_32_NON_45_POL "CAPACITOR NON-POL")
(cellType GENERIC)
(view
(rename NORMAL "Normal")
(viewType SCHEMATIC)
(interface
(designator "C")
(port
(rename &1 "1")
(property
(rename PORTTYPE "PORTTYPE")
(string "nonLogical")
(owner "Schematic_TSC"))
(designator "1")
(property
(rename PIN_32_SHARED "Pin shared")
(string "FALSE"))
(property
(rename TYPE "Type")
(string "Passive"))
(property
(rename ORDER "Order")
(string "0"))
(property
(rename LONG "Long")
(string "False"))
(property
(rename CLOCK "Clock")
(string "False"))
(property
(rename DOT "Dot")
(string "False"))
(property
(rename PIN_32_NUMBER_32_IS_32_VISIBLE "Pin Number Is Visible")
(string "True")))
(port
(rename &2 "2")
(property
(rename PORTTYPE "PORTTYPE")
(string "nonLogical")
(owner "Schematic_TSC"))
(designator "2")
(property
(rename PIN_32_SHARED "Pin shared")
(string "FALSE"))
(property
(rename TYPE "Type")
(string "Passive"))
(property
(rename ORDER "Order")
(string "1"))
(property
(rename LONG "Long")
(string "False"))
(property
(rename CLOCK "Clock")
(string "False"))
(property
(rename DOT "Dot")
(string "False"))
(property
(rename PIN_32_NUMBER_32_IS_32_VISIBLE "Pin Number Is Visible")
(string "True")))
(property
(rename NAME "Name")
(string "CAPACITOR NON-POL.Normal"))
(property
(rename VALUE "Value")
(string ""))
(property
(rename IMPLEMENTATION_32_PATH "Implementation Path")
(string ""))
(property
(rename IMPLEMENTATION_32_TYPE "Implementation Type")
(string "<none>"))
(property
(rename IMPLEMENTATION "Implementation")
(string ""))
(property
(rename PIN_32_NUMBERS_32_VISIBLE "Pin Numbers Visible")
(string "False"))
(property
(rename PIN_32_NAMES_32_VISIBLE "Pin Names Visible")
(string "False"))
(property
(rename PIN_32_NAMES_32_ROTATE "Pin Names Rotate")
(string "True"))
(symbol
(commentGraphics)
(boundingBox
(rectangle
(pt 0 100)
(pt 200 -200)))
(portImplementation &1
(connectLocation
(figure PORT
(dot
(pt 100 100))))
(figure BODY
(path
(pointList
(pt 100 100)
(pt 100 0)))))
(portImplementation &2
(connectLocation
(figure PORT
(dot
(pt 100 -200))))
(figure BODY
(path
(pointList
(pt 100 -200)
(pt 100 -100)))))
(figure BODY
(path
(pointList
(pt 100 0)
(pt 100 -20)))
(path
(pointList
(pt 10 -70)
(pt 190 -70)))
(path
(pointList
(pt 10 -20)
(pt 190 -20)))
(path
(pointList
(pt 100 -100)
(pt 100 -70))))
(keywordDisplay DESIGNATOR
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 290 0))))
(propertyDisplay VALUE
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 290 -90)))))))))
(library
(rename CAPSYM "CAPSYM")
(EDIFLevel 0)
(technology
(numberDefinition
(scale 1
(e 254 -7)
(unit DISTANCE)))
(figureGroup BODY
(pathWidth 10)
(textHeight 100))
(figureGroup COMMENT
(pathWidth 10)
(textHeight 90)
(property
(rename FONT "font")
(string "Courier New")))
(figureGroup PORT
(pathWidth 10)
(textHeight 90)
(property
(rename FONT "font")
(string "Arial")))
(figureGroup PROPERTY
(pathWidth 10)
(textHeight 90)
(property
(rename FONT "font")
(string "Arial")))
(userData GRIDRESOLUTION
(integer 100 100)))
(cell
(rename GND "GND")
(cellType GENERIC)
(view
(rename &1 "1")
(viewType SCHEMATIC)
(interface
(port
(rename PORT "PORT")
(property
(rename PORTTYPE "PORTTYPE")
(string "supply")
(owner "Schematic_TSC"))
(property
(rename SUPPLYTYPE "SUPPLYTYPE")
(string "power")
(owner "Schematic_TSC"))
(property
(rename IMPLICITPORTCLASS "IMPLICITPORTCLASS")
(string "PORT")
(owner "Schematic_TSC")))
(property
(rename SDTSOURCELIBNAME "SDTSourceLibName")
(string "C:\rd\ui\DEVICE.LIB"))
(property
(rename ORCADVIEWTYPE "OrCADviewType")
(string "GLOBAL_SYMBOL"))
(property
(rename NAME "Name")
(string "GND"))
(symbol
(commentGraphics)
(portImplementation PORT
(connectLocation
(figure PORT
(dot
(pt 100 0))))
(figure BODY
(path
(pointList
(pt 100 0)
(pt 100 0)))))
(figure BODY
(path
(pointList
(pt 0 0)
(pt 200 0)))
(path
(pointList
(pt 30 -30)
(pt 170 -30)))
(path
(pointList
(pt 140 -60)
(pt 60 -60)))
(path
(pointList
(pt 90 -90)
(pt 110 -90))))))))
(cell
(rename VCC "VCC")
(cellType GENERIC)
(view
(rename &1 "1")
(viewType SCHEMATIC)
(interface
(port
(rename PORT "PORT")
(property
(rename PORTTYPE "PORTTYPE")
(string "supply")
(owner "Schematic_TSC"))
(property
(rename SUPPLYTYPE "SUPPLYTYPE")
(string "power")
(owner "Schematic_TSC"))
(property
(rename IMPLICITPORTCLASS "IMPLICITPORTCLASS")
(string "PORT")
(owner "Schematic_TSC")))
(property
(rename ORCADVIEWTYPE "OrCADviewType")
(string "GLOBAL_SYMBOL"))
(property
(rename NAME "Name")
(string "VCC"))
(symbol
(commentGraphics)
(portImplementation PORT
(connectLocation
(figure PORT
(dot
(pt 100 -100))))
(figure BODY
(path
(pointList
(pt 100 -100)
(pt 100 -100)))))
(figure BODY
(path
(pointList
(pt 100 -60)
(pt 100 -100)))
(circle
(pt 70 -30)
(pt 130 -30)))
(propertyDisplay NAME
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 0 100))))))))
(cell
(rename OFFPAGELEFT_45_L "OFFPAGELEFT-L")
(cellType GENERIC)
(view
(rename &1 "1")
(viewType SCHEMATIC)
(interface
(port
(rename PORT "PORT")
(direction INPUT))
(property
(rename ORCADVIEWTYPE "OrCADviewType")
(string "OFF_PAGE_SYMBOL"))
(property
(rename NAME "Name")
(string "OFFPAGELEFT-L"))
(symbol
(commentGraphics)
(portImplementation PORT
(connectLocation
(figure PORT
(dot
(pt 0 -100))))
(figure BODY
(path
(pointList
(pt 0 -100)
(pt 0 -100)))))
(figure BODY
(path
(pointList
(pt 0 -100)
(pt 50 -50)))
(path
(pointList
(pt 0 -100)
(pt 50 -150)))
(path
(pointList
(pt 50 -100)
(pt 100 -150)))
(path
(pointList
(pt 50 -100)
(pt 100 -50))))
(propertyDisplay NAME
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 120 -50))))))))
(cell
(rename TITLEBLOCK0 "TitleBlock0")
(cellType GENERIC)
(view
(rename &1 "1")
(viewType SCHEMATIC)
(interface
(property
(rename PAGE_32_CREATE_32_DATE "Page Create Date")
(string " March 8, 1995"))
(property
(rename DOC "Doc")
(string ""))
(property
(rename REVCODE "RevCode")
(string "?"))
(property
(rename TITLE "Title")
(string ""))
(property
(rename PAGE_32_SIZE "Page Size")
(string "A"))
(property
(rename PAGE_32_NUMBER "Page Number")
(string "1"))
(property
(rename PAGE_32_COUNT "Page Count")
(string "1"))
(property
(rename ORCADVIEWTYPE "OrCADviewType")
(string "Titleblock_Symbol"))
(property
(rename PAGE_32_MODIFY_32_DATE "Page Modify Date")
(string ""))
(property
(rename NAME "Name")
(string "TitleBlock0"))
(symbol
(commentGraphics)
(figure BODY
(rectangle
(pt 0 0)
(pt 3600 -200))
(rectangle
(pt 0 -200)
(pt 3600 -500))
(rectangle
(pt 0 -500)
(pt 300 -800))
(rectangle
(pt 300 -500)
(pt 3300 -800))
(rectangle
(pt 3300 -500)
(pt 3600 -800))
(rectangle
(pt 0 -800)
(pt 2000 -900))
(rectangle
(pt 2000 -800)
(pt 3600 -900)))
(annotate
(stringDisplay "Title"
(display COMMENT
(justify UPPERLEFT)
(origin
(pt 0 -200)))))
(annotate
(stringDisplay "Size"
(display COMMENT
(justify UPPERLEFT)
(origin
(pt 0 -500)))))
(annotate
(stringDisplay "Document Number"
(display COMMENT
(justify UPPERLEFT)
(origin
(pt 400 -500)))))
(annotate
(stringDisplay "Rev"
(display COMMENT
(justify UPPERLEFT)
(origin
(pt 3300 -500)))))
(annotate
(stringDisplay "Date:"
(display COMMENT
(justify UPPERLEFT)
(origin
(pt 0 -800)))))
(annotate
(stringDisplay "Sheet"
(display COMMENT
(justify UPPERLEFT)
(origin
(pt 2000 -800)))))
(annotate
(stringDisplay "of"
(display COMMENT
(justify UPPERLEFT)
(origin
(pt 2800 -800)))))
(propertyDisplay DOC
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 400 -600))))
(propertyDisplay REVCODE
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 3400 -600))))
(propertyDisplay TITLE
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 400 -300))))
(propertyDisplay PAGE_32_SIZE
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 100 -600))))
(propertyDisplay PAGE_32_NUMBER
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 2500 -800))))
(propertyDisplay PAGE_32_COUNT
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 3100 -800))))
(propertyDisplay PAGE_32_MODIFY_32_DATE
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 520 -800)))))))))
(library
(rename RIPPER_LIBRARY "RIPPER_LIBRARY")
(EDIFLevel 0)
(technology
(numberDefinition
(scale 1
(e 254 -7)
(unit DISTANCE)))
(figureGroup PORT)
(figureGroup WIRE
(pathWidth 10)
(textHeight 100))
(userData GRIDRESOLUTION
(integer 100 100)))
(cell
(rename XTIE0A2Y2 "XTIE0A2Y2")
(cellType TIE)
(view
(rename XTIE0A2Y2 "XTIE0A2Y2")
(viewType SCHEMATIC)
(interface
(port
(rename &1 "1"))
(symbol
(portImplementation &1
(connectLocation
(figure PORT
(dot
(pt 0 0)))))
(figure WIRE
(circle
(pt -20 0)
(pt 20 0))))))))
(library
(rename T1 "T1")
(EDIFLevel 0)
(technology
(numberDefinition
(scale 1
(e 254 -7)
(unit DISTANCE)))
(figureGroup OFFPAGECONNECTOR
(pathWidth 10)
(textHeight 90)
(property
(rename FONT "font")
(string "Arial")))
(figureGroup PARTREFERENCE
(pathWidth 10)
(textHeight 90)
(property
(rename FONT "font")
(string "Arial")))
(figureGroup PARTVALUE
(pathWidth 10)
(textHeight 90)
(property
(rename FONT "font")
(string "Arial")))
(figureGroup PORT
(pathWidth 10)
(textHeight 90)
(property
(rename FONT "font")
(string "Arial")))
(figureGroup POWER
(pathWidth 10)
(textHeight 90)
(property
(rename FONT "font")
(string "Arial")))
(figureGroup PROPERTY
(pathWidth 10)
(textHeight 90)
(property
(rename FONT "font")
(string "Arial")))
(figureGroup TITLEBLOCK
(pathWidth 10)
(textHeight 90)
(property
(rename FONT "font")
(string "Arial")))
(figureGroup WIRE
(pathWidth 10)
(textHeight 100))
(userData GRIDRESOLUTION
(integer 100 100)))
(cell
(rename SCHEMATIC1 "SCHEMATIC1")
(cellType GENERIC)
(view
(rename &1 "1")
(viewType SCHEMATIC)
(interface
(port
(rename GND "GND")
(property
(rename PORTTYPE "PORTTYPE")
(string "supply")
(owner "Schematic_TSC"))
(property
(rename SUPPLYTYPE "SUPPLYTYPE")
(string "generalGround")
(owner "Schematic_TSC"))
(property
(rename IMPLICITPORTCLASS "IMPLICITPORTCLASS")
(string "GND")
(owner "Schematic_TSC")))
(port
(rename &_43_12V "+12V")
(property
(rename PORTTYPE "PORTTYPE")
(string "supply")
(owner "Schematic_TSC"))
(property
(rename SUPPLYTYPE "SUPPLYTYPE")
(string "power")
(owner "Schematic_TSC"))
(property
(rename IMPLICITPORTCLASS "IMPLICITPORTCLASS")
(string "+12V")
(owner "Schematic_TSC")))
(port
(rename &_43_5V "+5V")
(property
(rename PORTTYPE "PORTTYPE")
(string "supply")
(owner "Schematic_TSC"))
(property
(rename SUPPLYTYPE "SUPPLYTYPE")
(string "power")
(owner "Schematic_TSC"))
(property
(rename IMPLICITPORTCLASS "IMPLICITPORTCLASS")
(string "+5V")
(owner "Schematic_TSC"))))
(contents
(offPageConnector
(rename SIG "Sig"))
(page
(rename PAGE1 "PAGE1")
(pageSize
(rectangle
(pt 0 0)
(pt 9700 -7200)))
(commentGraphics
(property
(rename VERTICAL_LABEL_WIDTH "Vertical_Label_Width")
(string "10"))
(property
(rename HORIZONTAL_LABEL_WIDTH "Horizontal_Label_Width")
(string "10"))
(property
(rename METRIC "Metric")
(string "0"))
(property
(rename BORDER_DISPLAYED "Border_Displayed")
(string "1"))
(property
(rename BORDER_PRINTED "Border_Printed")
(string "1"))
(property
(rename GRIDREF_DISPLAYED "GridRef_Displayed")
(string "1"))
(property
(rename GRIDREF_PRINTED "GridRef_Printed")
(string "1"))
(property
(rename TITLEBLOCK_DISPLAYED "TitleBlock_Displayed")
(string "1"))
(property
(rename TITLEBLOCK_PRINTED "TitleBlock_Printed")
(string "1"))
(property
(rename ANSIGRIDREFS "ANSIGridRefs")
(string "1"))
(property
(rename NAME "Name")
(string "PAGE1"))
(property
(rename PAGE_32_NUMBER "Page Number")
(string "1"))
(property
(rename CREATE_32_TIME "Create Time")
(string "Friday, March 07, 2008"))
(property
(rename MODIFY_32_TIME "Modify Time")
(string "Sunday, March 09, 2008"))
(property
(rename SIZE "Size")
(string "A"))
(property
(rename X_45_COORDINATE_32_SIZE "X-Coordinate Size")
(string "9700"))
(property
(rename Y_45_COORDINATE_32_SIZE "Y-Coordinate Size")
(string "7200"))
(property
(rename OUTER_32_BORDER_32_MARGIN_32_X_45_COORDINATE_32_SIZE "Outer Border Margin X-Coordinate Size")
(string "0"))
(property
(rename OUTER_32_BORDER_32_MARGIN_32_Y_45_COORDINATE_32_SIZE "Outer Border Margin Y-Coordinate Size")
(string "0"))
(property
(rename OUTER_32_BORDER_32_LINE_32_STYLE "Outer Border Line Style")
(string "Solid"))
(property
(rename OUTER_32_BORDER_32_LINE_32_WIDTH "Outer Border Line Width")
(string "Thin"))
(property
(rename OUTER_32_BORDER_32_IS_32_VISIBLE "Outer Border Is Visible")
(string "True"))
(property
(rename INNER_32_BORDER_32_MARGIN_32_X_45_COORDINATE "Inner Border Margin X-Coordinate")
(string "0"))
(property
(rename INNER_32_BORDER_32_MARGIN_32_Y_45_COORDINATE "Inner Border Margin Y-Coordinate")
(string "0"))
(property
(rename INNER_32_BORDER_32_LINE_32_STYLE "Inner Border Line Style")
(string "Solid"))
(property
(rename INNER_32_BORDER_32_LINE_32_WIDTH "Inner Border Line Width")
(string "Thin"))
(property
(rename INNER_32_BORDER_32_IS_32_VISIBLE "Inner Border Is Visible")
(string "False"))
(property
(rename COLOR "Color")
(string "Default"))
(property
(rename LABEL_32_COLOR "Label Color")
(string "Default"))
(property
(rename HORIZONTAL_32_LABEL_32_COUNT "Horizontal Label Count")
(string "5"))
(property
(rename HORIZONTAL_32_LABELS_32_ARE_32_CHARACTER "Horizontal Labels are character")
(string "False"))
(property
(rename HORIZONTAL_32_LABELS_32_ARE_32_VISIBLE "Horizontal Labels are visible")
(string "False"))
(property
(rename HORIZONTAL_32_LABELS_32_IN_32_ASCENDING_32_ORDER "Horizontal Labels in ascending order")
(string "False"))
(property
(rename LINE_32_STYLE_32_OF_32_HORIZONTAL_32_LABEL_32_SEPARATORS "Line Style of horizontal label separators")
(string "Solid"))
(property
(rename LINE_32_WIDTH_32_OF_32_HORIZONTAL_32_LABEL_32_SEPARATORS "Line Width of horizontal label separators")
(string "Thin"))
(property
(rename VERTICAL_32_LABEL_32_COUNT "Vertical Label Count")
(string "4"))
(property
(rename VERTICAL_32_LABELS_32_ARE_32_CHARACTER "Vertical Labels are character")
(string "True"))
(property
(rename VERTICAL_32_LABELS_32_ARE_32_VISIBLE "Vertical Labels are visible")
(string "False"))
(property
(rename VERTICAL_32_LABEL_32_IS_32_ASCENDING "Vertical Label Is Ascending")
(string "False"))
(property
(rename LINE_32_STYLE_32_OF_32_VERTICAL_32_LABEL_32_SEPARATORS "Line style of vertical label separators")
(string "Solid"))
(property
(rename LINEWIDTH_32_OF_32_VERTICAL_32_LABEL_32_SEPARATORS "LineWidth of vertical label separators")
(string "Thin"))
(instance
(rename TITLEBLOCK0 "TitleBlock0")
(viewRef &1
(cellRef TITLEBLOCK0
(libraryRef CAPSYM)))
(transform
(origin
(pt 5900 -6100)))
(property
(rename NAME "Name")
(string "TitleBlock0"))
(property
(rename DESIGN_32_NAME "Design Name")
(string "C:\PROGRAM FILES\ORCAD\CAPTURE\T1.DSN"))
(property
(rename DESIGN_32_FILE_32_NAME "Design File Name")
(string "C:\PROGRAM FILES\ORCAD\CAPTURE\T1.DSN"))
(property
(rename DESIGN_32_CREATE_32_DATE "Design Create Date")
(string "Friday, March 07, 2008"))
(property
(rename DESIGN_32_MODIFY_32_DATE "Design Modify Date")
(string "Sunday, March 09, 2008"))
(property
(rename DESIGN_32_CREATE_32_TIME "Design Create Time")
(string "22:07:38"))
(property
(rename DESIGN_32_MODIFY_32_TIME "Design Modify Time")
(string "21:43:53"))
(property
(rename SCHEMATIC_32_NAME "Schematic Name")
(string "SCHEMATIC1"))
(property
(rename SCHEMATIC_32_CREATE_32_DATE "Schematic Create Date")
(string "Friday, March 07, 2008"))
(property
(rename SCHEMATIC_32_MODIFY_32_DATE "Schematic Modify Date")
(string "Sunday, March 09, 2008"))
(property
(rename SCHEMATIC_32_CREATE_32_TIME "Schematic Create Time")
(string "22:07:40"))
(property
(rename SCHEMATIC_32_MODIFY_32_TIME "Schematic Modify Time")
(string "21:43:56"))
(property
(rename SCHEMATIC_32_PAGE_32_COUNT "Schematic Page Count")
(string "0"))
(property
(rename SCHEMATIC_32_PAGE_32_NUMBER "Schematic Page Number")
(string "0"))
(property
(rename PAGE_32_SIZE "Page Size")
(string
(stringDisplay "A"
(display TITLEBLOCK
(justify UPPERLEFT)
(origin
(pt 6000 -6700))))))
(property
(rename PAGE_32_CREATE_32_DATE "Page Create Date")
(string "Friday, March 07, 2008"))
(property
(rename PAGE_32_MODIFY_32_DATE "Page Modify Date")
(string
(stringDisplay "Sunday, March 09, 2008"
(display TITLEBLOCK
(justify UPPERLEFT)
(origin
(pt 6420 -6900))))))
(property
(rename PAGE_32_CREATE_32_TIME "Page Create Time")
(string "22:07:38"))
(property
(rename PAGE_32_MODIFY_32_TIME "Page Modify Time")
(string "21:43:53"))
(property
(rename SOURCE_32_LIBRARY "Source Library")
(string "C:\PROGRAM FILES\ORCAD\CAPTURE\LIBRARY\CAPSYM.OLB"))
(property
(rename SOURCE_32_SYMBOL "Source Symbol")
(string "TitleBlock0"))
(property
(rename ORGADDR4 "OrgAddr4")
(string ""))
(property
(rename ORGADDR3 "OrgAddr3")
(string ""))
(property
(rename ORGADDR2 "OrgAddr2")
(string ""))
(property
(rename ORGADDR1 "OrgAddr1")
(string ""))
(property
(rename ORGNAME "OrgName")
(string ""))
(property
(rename CAGE_32_CODE "Cage Code")
(string ""))
(property
(rename REVCODE "RevCode")
(string
(stringDisplay ""
(display TITLEBLOCK
(justify UPPERLEFT)
(origin
(pt 9300 -6700))))))
(property
(rename DOC "Doc")
(string
(stringDisplay ""
(display TITLEBLOCK
(justify UPPERLEFT)
(origin
(pt 6300 -6700))))))
(property
(rename TITLE "Title")
(string
(stringDisplay ""
(display TITLEBLOCK
(justify UPPERLEFT)
(origin
(pt 6300 -6400))))))
(property
(rename PAGE_32_NUMBER "Page Number")
(string
(stringDisplay "1"
(display TITLEBLOCK
(justify UPPERLEFT)
(origin
(pt 8400 -6900))))))
(property
(rename PAGE_32_COUNT "Page Count")
(string
(stringDisplay "1"
(display TITLEBLOCK
(justify UPPERLEFT)
(origin
(pt 9000 -6900))))))
(property
(rename TITLEBLOCK "titleblock")
(string "TRUE"))))
(instance
(rename I00003 "I00003")
(viewRef NORMAL
(cellRef &1N4755
(libraryRef DISCRETE)))
(transform
(orientation R90)
(origin
(pt 400 -800)))
(property
(rename NAME "Name")
(string "I00003"))
(designator
(stringDisplay "D1"
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 650 -500)))))
(designator
(stringDisplay "D1"
(display PARTREFERENCE
(justify UPPERLEFT)
(origin
(pt 650 -500)))))
(property
(rename VALUE "Value")
(string
(stringDisplay "1N4755"
(display PARTVALUE
(justify UPPERLEFT)
(origin
(pt 700 -660))))))
(property
(rename PRIMITIVE "Primitive")
(string "DEFAULT"))
(property
(rename IMPLEMENTATION_32_TYPE "Implementation Type")
(string "<none>"))
(property
(rename COLOR "Color")
(string "Default"))
(property
(rename SOURCE_32_LIBRARY "Source Library")
(string "C:\PROGRAM FILES\ORCAD\CAPTURE\LIBRARY\DISCRETE.OLB"))
(property
(rename SOURCE_32_PACKAGE "Source Package")
(string "1N4755"))
(property
(rename POWER_32_PINS_32_VISIBLE "Power Pins Visible")
(string "False"))
(property
(rename GRAPHIC "Graphic")
(string "1N4755.Normal"))
(property
(rename PCB_32_FOOTPRINT "PCB Footprint")
(string "")))
(instance
(rename I00005 "I00005")
(viewRef NORMAL
(cellRef &1N4755
(libraryRef DISCRETE)))
(transform
(orientation R90)
(origin
(pt 1200 -800)))
(property
(rename NAME "Name")
(string "I00005"))
(designator
(stringDisplay "D2"
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 1450 -500)))))
(designator
(stringDisplay "D2"
(display PARTREFERENCE
(justify UPPERLEFT)
(origin
(pt 1450 -500)))))
(property
(rename VALUE "Value")
(string
(stringDisplay "1N4755"
(display PARTVALUE
(justify UPPERLEFT)
(origin
(pt 1500 -660))))))
(property
(rename PRIMITIVE "Primitive")
(string "DEFAULT"))
(property
(rename IMPLEMENTATION_32_TYPE "Implementation Type")
(string "<none>"))
(property
(rename COLOR "Color")
(string "Default"))
(property
(rename SOURCE_32_LIBRARY "Source Library")
(string "C:\PROGRAM FILES\ORCAD\CAPTURE\LIBRARY\DISCRETE.OLB"))
(property
(rename SOURCE_32_PACKAGE "Source Package")
(string "1N4755"))
(property
(rename POWER_32_PINS_32_VISIBLE "Power Pins Visible")
(string "False"))
(property
(rename GRAPHIC "Graphic")
(string "1N4755.Normal"))
(property
(rename PCB_32_FOOTPRINT "PCB Footprint")
(string "")))
(instance
(rename I00064 "I00064")
(viewRef NORMAL
(cellRef &1N4755
(libraryRef DISCRETE)))
(transform
(orientation R90)
(origin
(pt 1900 -800)))
(property
(rename NAME "Name")
(string "I00064"))
(designator
(stringDisplay "D3"
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 2150 -500)))))
(designator
(stringDisplay "D3"
(display PARTREFERENCE
(justify UPPERLEFT)
(origin
(pt 2150 -500)))))
(property
(rename VALUE "Value")
(string
(stringDisplay "1N4755"
(display PARTVALUE
(justify UPPERLEFT)
(origin
(pt 2200 -660))))))
(property
(rename PRIMITIVE "Primitive")
(string "DEFAULT"))
(property
(rename IMPLEMENTATION_32_TYPE "Implementation Type")
(string "<none>"))
(property
(rename COLOR "Color")
(string "Default"))
(property
(rename SOURCE_32_LIBRARY "Source Library")
(string "C:\PROGRAM FILES\ORCAD\CAPTURE\LIBRARY\DISCRETE.OLB"))
(property
(rename SOURCE_32_PACKAGE "Source Package")
(string "1N4755"))
(property
(rename POWER_32_PINS_32_VISIBLE "Power Pins Visible")
(string "False"))
(property
(rename GRAPHIC "Graphic")
(string "1N4755.Normal"))
(property
(rename PCB_32_FOOTPRINT "PCB Footprint")
(string "")))
(instance
(rename I00093 "I00093")
(viewRef NORMAL
(cellRef CAPACITOR_32_NON_45_POL
(libraryRef DISCRETE)))
(transform
(origin
(pt 1200 -1300)))
(property
(rename NAME "Name")
(string "I00093"))
(designator
(stringDisplay "C1"
(display PROPERTY
(justify UPPERLEFT)
(origin
(pt 1490 -1300)))))
(designator
(stringDisplay "C1"
(display PARTREFERENCE
(justify UPPERLEFT)
(origin
(pt 1490 -1300)))))
(property
(rename VALUE "Value")
(string
(stringDisplay "CAPACITOR NON-POL"
(display PARTVALUE
(justify UPPERLEFT)
(origin
(pt 1490 -1390))))))
(property
(rename PRIMITIVE "Primitive")
(string "DEFAULT"))
(property
(rename IMPLEMENTATION_32_TYPE "Implementation Type")
(string "<none>"))
(property
(rename COLOR "Color")
(string "Default"))
(property
(rename SOURCE_32_LIBRARY "Source Library")
(string "C:\PROGRAM FILES\ORCAD\CAPTURE\LIBRARY\DISCRETE.OLB"))
(property
(rename SOURCE_32_PACKAGE "Source Package")
(string "CAPACITOR NON-POL"))
(property
(rename POWER_32_PINS_32_VISIBLE "Power Pins Visible")
(string "False"))
(property
(rename GRAPHIC "Graphic")
(string "CAPACITOR NON-POL.Normal"))
(property
(rename PCB_32_FOOTPRINT "PCB Footprint")
(string ""))
(portInstance &1
(designator "1")
(property
(rename NAME "Name")
(string "1"))
(property
(rename SWAP_32_ID "Swap Id")
(string "-1"))
(property
(rename TYPE "Type")
(string "Passive"))
(property
(rename NET_32_NAME "Net Name")
(string "Sig"))
(property
(rename ORDER "Order")
(string "0"))
(property
(rename IS_32_NO_32_CONNECT "Is No Connect")
(string "False")))
(portInstance &2
(designator "2")
(property
(rename NAME "Name")
(string "2"))
(property
(rename SWAP_32_ID "Swap Id")
(string "-1"))
(property
(rename TYPE "Type")
(string "Passive"))
(property
(rename NET_32_NAME "Net Name")
(string "GND"))
(property
(rename ORDER "Order")
(string "1"))
(property
(rename IS_32_NO_32_CONNECT "Is No Connect")
(string "False"))))
(portImplementation GND
(connectLocation
(figure PORT
(dot
(pt 1300 -2000))))
(instance
(rename XGRINST1 "XGRINST1")
(viewRef &1
(cellRef GND
(libraryRef CAPSYM)))
(transform
(origin
(pt 1200 -2000)))))
(portImplementation
(name &_43_12V
(display POWER
(justify UPPERLEFT)
(origin
(pt 400 -200))))
(connectLocation
(figure PORT
(dot
(pt 500 -400))))
(instance
(rename XGRINST2 "XGRINST2")
(viewRef &1
(cellRef VCC
(libraryRef CAPSYM)))
(transform
(origin
(pt 400 -300)))))
(portImplementation
(name &_43_5V
(display POWER
(justify UPPERLEFT)
(origin
(pt 1200 -100))))
(connectLocation
(figure PORT
(dot
(pt 1300 -300))))
(instance
(rename XGRINST3 "XGRINST3")
(viewRef &1
(cellRef VCC
(libraryRef CAPSYM)))
(transform
(origin
(pt 1200 -200)))))
(portImplementation
(name SIG
(display OFFPAGECONNECTOR
(justify UPPERLEFT)
(origin
(pt 2320 -850))))
(connectLocation
(figure PORT
(dot
(pt 2200 -900))))
(instance
(rename XGRINST4 "XGRINST4")
(viewRef &1
(cellRef OFFPAGELEFT_45_L
(libraryRef CAPSYM)))
(transform
(origin
(pt 2200 -800)))))
(net
(rename &_43_12V "+12V")
(joined
(portRef C
(instanceRef I00003))
(portRef &_43_12V))
(figure WIRE
(path
(pointList
(pt 500 -400)
(pt 500 -400)))
(path
(pointList
(pt 500 -400)
(pt 500 -400)))))
(net
(rename &_43_5V "+5V")
(joined
(portRef C
(instanceRef I00005))
(portRef C
(instanceRef I00064))
(portRef &_43_5V))
(figure WIRE
(path
(pointList
(pt 1300 -400)
(pt 2000 -400)))
(path
(pointList
(pt 1300 -300)
(pt 1300 -400))))
(instance
(rename TIE1 "TIE1")
(viewRef XTIE0A2Y2
(cellRef XTIE0A2Y2
(libraryRef RIPPER_LIBRARY)))
(transform
(origin
(pt 1300 -400)))))
(net
(rename SIG "Sig")
(joined
(portRef A
(instanceRef I00003))
(portRef A
(instanceRef I00005))
(portRef &1
(instanceRef I00093))
(portRef A
(instanceRef I00064))
(portRef SIG))
(figure WIRE
(path
(pointList
(pt 500 -900)
(pt 1300 -900)))
(path
(pointList
(pt 1300 -1200)
(pt 1300 -900)))
(path
(pointList
(pt 1300 -900)
(pt 2000 -900)))
(path
(pointList
(pt 2000 -900)
(pt 2200 -900))))
(instance
(rename TIE2 "TIE2")
(viewRef XTIE0A2Y2
(cellRef XTIE0A2Y2
(libraryRef RIPPER_LIBRARY)))
(transform
(origin
(pt 1300 -900))))
(instance
(rename TIE3 "TIE3")
(viewRef XTIE0A2Y2
(cellRef XTIE0A2Y2
(libraryRef RIPPER_LIBRARY)))
(transform
(origin
(pt 2000 -900)))))
(net
(rename GND "GND")
(joined
(portRef &2
(instanceRef I00093))
(portRef GND))
(figure WIRE
(path
(pointList
(pt 1300 -2000)
(pt 1300 -1500))))))))))
(design
(rename SCHEMATIC1 "SCHEMATIC1")
(cellRef SCHEMATIC1
(libraryRef T1))))
This source diff could not be displayed because it is too large. You can view the blob instead.
(EDIF GSL_MODEL
(EDIFVersion 2 0 0)
(EDIFLevel 0)
(keywordMap
(keywordLevel 0))
(status
(written
(timeStamp 0 0 0 0 0 0)
(comment "Need to fix timeStamp")
(author "Silicon Compiler Systems")
(program "qfcx"
(version "1.0"))))
(external PRIM_LIB (ediflevel 0) (technology (numberDefinition)))
(library GSL_LIB
(ediflevel 0) (technology (numberDefinition))
(cell NMOS (cellType generic)
(view NMOS (viewType netlist)
(interface
(port INPUT (direction INPUT))
(port ENABLE (direction INPUT))
(port OUTPUT (direction OUTPUT)))))
(cell PMOS (cellType generic)
(view PMOS (viewType netlist)
(interface
(port INPUT (direction INPUT))
(port ENABLE (direction INPUT))
(port OUTPUT (direction OUTPUT)))))
(cell TRI (cellType generic)
(view TRI (viewType netlist)
(interface
(port INPUT (direction INPUT))
(port ENABLE (direction INPUT))
(port OUTPUT (direction OUTPUT)))))
(cell RES (cellType generic)
(view RES (viewType netlist)
(interface
(port INPUT (direction INPUT))
(port ENABLE (direction INPUT))
(port OUTPUT (direction OUTPUT)))))
(cell WBUF (cellType generic)
(view WBUF (viewType netlist)
(interface
(port INPUT (direction INPUT))
(port OUTPUT (direction OUTPUT))))))
(library COMP_LIB
(ediflevel 0) (technology (numberDefinition))
(cell DVALID (cellType GENERIC)
(view SIM_MODEL (viewType NETLIST)
(interface
(port DVALIDE (direction INPUT))
(port PHASE_B (direction INPUT))
(port VDD (direction INPUT))
(port VSS (direction INPUT))
(port DVALID (direction OUTPUT)))
(contents
(instance BUF_8 (viewRef SIM_MODEL (cellRef BUF))
(parameterAssign DT (string "20 20")))
(instance INV_13 (viewRef SIM_MODEL (cellRef INV))
(parameterAssign DT (string "4 4")))
(instance WBUF_15 (viewRef SIM_MODEL (cellRef WBUF))
(parameterAssign DT (string "1 1")))
(instance INV_14 (viewRef SIM_MODEL (cellRef INV))
(parameterAssign DT (string "1 1")))
(instance NMOS_9 (viewRef SIM_MODEL (cellRef NMOS (libraryRef GSL_LIB))))
(instance NMOS_10 (viewRef SIM_MODEL (cellRef NMOS (libraryRef GSL_LIB)))
(parameterAssign DT (string "10 10")))
(instance PMOS_11 (viewRef SIM_MODEL (cellRef PMOS (libraryRef GSL_LIB)))
(parameterAssign DT (string "1 1")))
(instance PMOS_12 (viewRef SIM_MODEL (cellRef PMOS (libraryRef GSL_LIB)))
(parameterAssign DT (string "19 19")))
(net N3
(joined
(portRef INPUT (instanceRef NMOS_10))
(portRef OUTPUT (instanceRef NMOS_9))))
(net N4
(joined
(portRef INPUT (instanceRef WBUF_15))
(portRef OUTPUT (instanceRef WBUF_15))
(portRef INPUT (instanceRef INV_14))
(portRef OUTPUT (instanceRef PMOS_12))
(portRef OUTPUT (instanceRef NMOS_10))))
(net N5
(joined
(portRef INPUT (instanceRef PMOS_12))
(portRef OUTPUT (instanceRef PMOS_11))))
(net N6
(joined
(portRef OUTPUT (instanceRef INV_13))
(portRef ENABLE (instanceRef PMOS_12))))
(net N7
(joined
(portRef ENABLE (instanceRef PMOS_11))
(portRef ENABLE (instanceRef NMOS_9))
(portRef OUTPUT (instanceRef BUF_8))))
(net VDD
(joined
(portRef VDD)
(portRef INPUT (instanceRef PMOS_11))))
(net VSS
(joined
(portRef VSS)
(portRef INPUT (instanceRef NMOS_9))))
(net DVALID
(joined
(portRef DVALID)
(portRef OUTPUT (instanceRef INV_14))))
(net DVALIDE
(joined
(portRef DVALIDE)
(portRef INPUT (instanceRef BUF_8))))
(net PHASE_B
(joined
(portRef PHASE_B)
(portRef INPUT (instanceRef INV_13))
(portRef ENABLE (instanceRef NMOS_10)))))))
)
)
(EDIF GSL_MODEL
(EDIFVersion 2 0 0)
(EDIFLevel 0)
(keywordMap
(keywordLevel 0))
(status
(written
(timeStamp 0 0 0 0 0 0)
(comment "Need to fix timeStamp")
(author "Silicon Compiler Systems")
(program "qfcx"
(version "1.0"))))
(external PRIM_LIB (ediflevel 0) (technology (numberDefinition)))
(library GSL_LIB
(ediflevel 0) (technology (numberDefinition))
(cell NMOS (cellType generic)
(view NMOS (viewType netlist)
(interface
(port INPUT (direction INPUT))
(port ENABLE (direction INPUT))
(port OUTPUT (direction OUTPUT)))))
(cell PMOS (cellType generic)
(view PMOS (viewType netlist)
(interface
(port INPUT (direction INPUT))
(port ENABLE (direction INPUT))
(port OUTPUT (direction OUTPUT)))))
(cell TRI (cellType generic)
(view TRI (viewType netlist)
(interface
(port INPUT (direction INPUT))
(port ENABLE (direction INPUT))
(port OUTPUT (direction OUTPUT)))))
(cell RES (cellType generic)
(view RES (viewType netlist)
(interface
(port INPUT (direction INPUT))
(port ENABLE (direction INPUT))
(port OUTPUT (direction OUTPUT)))))
(cell WBUF (cellType generic)
(view WBUF (viewType netlist)
(interface
(port INPUT (direction INPUT))
(port OUTPUT (direction OUTPUT))))))
(library COMP_LIB
(ediflevel 0) (technology (numberDefinition))
(cell BILLTEMP (cellType GENERIC)
(view SIM_MODEL (viewType NETLIST)
(interface
(port SEL0 (direction INPUT))
(port SEL1 (direction INPUT))
(port IN0 (direction INPUT))
(port IN1 (direction INPUT))
(port IN2 (direction INPUT))
(port OUT (direction OUTPUT)))
(contents
(instance AND_24 (viewRef SIM_MODEL (cellRef AND_2)))
(instance AND_26 (viewRef SIM_MODEL (cellRef AND_2)))
(instance INV_16 (viewRef SIM_MODEL (cellRef INV))
(parameterAssign DT (string "1 1")))
(instance INV_19 (viewRef SIM_MODEL (cellRef INV))
(parameterAssign DT (string "1 1")))
(instance INV_21 (viewRef SIM_MODEL (cellRef INV))
(parameterAssign DT (string "1 1")))
(instance OR_28 (viewRef SIM_MODEL (cellRef OR_2)))
(instance OR_30 (viewRef SIM_MODEL (cellRef OR_2)))
(instance INV_23 (viewRef SIM_MODEL (cellRef INV))
(parameterAssign DT (string "2 2")))
(instance INV_25 (viewRef SIM_MODEL (cellRef INV))
(parameterAssign DT (string "1 1")))
(instance INV_27 (viewRef SIM_MODEL (cellRef INV))
(parameterAssign DT (string "2 2")))
(instance INV_29 (viewRef SIM_MODEL (cellRef INV))
(parameterAssign DT (string "1 1")))
(instance INV_31 (viewRef SIM_MODEL (cellRef INV))
(parameterAssign DT (string "2 2")))
(instance NMOS_17 (viewRef SIM_MODEL (cellRef NMOS (libraryRef GSL_LIB)))
(parameterAssign DT (string "4 4")))
(instance NMOS_18 (viewRef SIM_MODEL (cellRef NMOS (libraryRef GSL_LIB)))
(parameterAssign DT (string "5 5")))
(instance NMOS_20 (viewRef SIM_MODEL (cellRef NMOS (libraryRef GSL_LIB)))
(parameterAssign DT (string "3 3")))
(instance NMOS_22 (viewRef SIM_MODEL (cellRef NMOS (libraryRef GSL_LIB)))
(parameterAssign DT (string "4 4")))
(net N1
(joined
(portRef INPUT0 (instanceRef OR_30))
(portRef INPUT0 (instanceRef AND_24))
(portRef INPUT (instanceRef NMOS_17))
(portRef OUTPUT (instanceRef INV_16))))
(net N2
(joined
(portRef OUTPUT (instanceRef AND_26))
(portRef INPUT (instanceRef NMOS_18))))
(net N3
(joined
(portRef INPUT (instanceRef NMOS_20))
(portRef OUTPUT (instanceRef INV_19))))
(net N4
(joined
(portRef INPUT (instanceRef INV_31))
(portRef OUTPUT (instanceRef NMOS_20))
(portRef OUTPUT (instanceRef NMOS_18))))
(net N5
(joined
(portRef INPUT1 (instanceRef OR_30))
(portRef INPUT1 (instanceRef AND_24))
(portRef INPUT (instanceRef NMOS_22))
(portRef OUTPUT (instanceRef INV_21))))
(net N6
(joined
(portRef INPUT (instanceRef INV_29))
(portRef OUTPUT (instanceRef INV_23))
(portRef ENABLE (instanceRef NMOS_18))))
(net N7
(joined
(portRef OUTPUT (instanceRef INV_25))
(portRef ENABLE (instanceRef NMOS_22))))
(net N8
(joined
(portRef OUTPUT (instanceRef INV_27))
(portRef INPUT (instanceRef INV_25))
(portRef ENABLE (instanceRef NMOS_17))))
(net N9
(joined
(portRef OUTPUT (instanceRef INV_29))
(portRef ENABLE (instanceRef NMOS_20))))
(net N20z
(joined
(portRef OUTPUT (instanceRef OR_28))
(portRef INPUT1 (instanceRef AND_26))))
(net N21z
(joined
(portRef INPUT1 (instanceRef OR_28))
(portRef OUTPUT (instanceRef NMOS_22))
(portRef OUTPUT (instanceRef NMOS_17))))
(net N18z
(joined
(portRef INPUT0 (instanceRef OR_28))
(portRef OUTPUT (instanceRef AND_24))))
(net N19z
(joined
(portRef OUTPUT (instanceRef OR_30))
(portRef INPUT0 (instanceRef AND_26))))
(net IN0
(joined
(portRef IN0)
(portRef INPUT (instanceRef INV_16))))
(net IN1
(joined
(portRef IN1)
(portRef INPUT (instanceRef INV_21))))
(net IN2
(joined
(portRef IN2)
(portRef INPUT (instanceRef INV_19))))
(net OUT
(joined
(portRef OUT)
(portRef OUTPUT (instanceRef INV_31))))
(net SEL0
(joined
(portRef SEL0)
(portRef INPUT (instanceRef INV_27))))
(net SEL1
(joined
(portRef SEL1)
(portRef INPUT (instanceRef INV_23)))))))
)
)
This source diff could not be displayed because it is too large. You can view the blob instead.
( { netlist created 13/9/2007-18:11:44 }
( 84DFBB8F $noname I00005 (null) {Lib=(null)}
( CT N04503 )
( RT N04515 )
( VR VR )
( FB1 N03927 )
( FB2 N04268 )
( GND GND_SIGNAL )
( LH1 N00181 )
( LH2 N00250 )
( LL1 N00195 )
( LL2 N00260 )
( VCC N04495 )
( COMP N05988 )
( INV1 N03902 )
( INV2 N04246 )
( SKIP N06666 )
(OUT1D N00716 )
(OUT1U N00901 )
(OUT2D N00489 )
(OUT2U N00266 )
(STBY1 N04518 )
(STBY2 PSON_42_ )
(TRIP1 N00221 )
(TRIP2 N00219 )
(VREF5 N00276 )
(SFTST1 N04507 )
(SFTST2 N04491 )
(OUTGND1 GND_SIGNAL )
(OUTGND2 GND_SIGNAL )
(REG5V_IN &_43_5V )
(VCC_CNTP N00247 )
)
( 84DFBB8F $noname I00015 (null) {Lib=(null)}
( &1 &_43_3_46_3V )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I00017 (null) {Lib=(null)}
( &1 &_43_3_46_3V )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I00019 (null) {Lib=(null)}
( &1 &_43_3_46_3V )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I00021 (null) {Lib=(null)}
( &1 &_43_VB )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I00023 (null) {Lib=(null)}
( &1 &_43_VB )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I00025 (null) {Lib=(null)}
( &1 &_43_VB )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I00027 (null) {Lib=(null)}
( &1 &_43_5V )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I00029 (null) {Lib=(null)}
( &1 &_43_5V )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I00031 (null) {Lib=(null)}
( &1 &_43_5V )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I00033 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 &_43_3_46_3V )
)
( 84DFBB8F $noname I00035 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 &_43_VB )
)
( 84DFBB8F $noname I00037 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 &_43_5V )
)
( 84DFBB8F $noname I00039 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 N03902 )
)
( 84DFBB8F $noname I00041 (null) {Lib=(null)}
( &1 N03902 )
( &2 N03924 )
)
( 84DFBB8F $noname I00043 (null) {Lib=(null)}
( &1 N03902 )
( &2 N03888 )
)
( 84DFBB8F $noname I00045 (null) {Lib=(null)}
( &1 N00195 )
( &2 N02117 )
)
( 84DFBB8F $noname I00047 (null) {Lib=(null)}
( &1 N00670 )
( &2 N00260 )
)
( 84DFBB8F $noname I00057 (null) {Lib=(null)}
( D N00247 )
( D N00247 )
( D N00247 )
( D N00247 )
( G N00911 )
( S N00195 )
( S N00195 )
( S N00195 )
)
( 84DFBB8F $noname I00059 (null) {Lib=(null)}
( D N00195 )
( D N00195 )
( D N00195 )
( D N00195 )
( G N00716 )
( S GND_SIGNAL )
( S GND_SIGNAL )
( S GND_SIGNAL )
)
( 84DFBB8F $noname I00061 (null) {Lib=(null)}
( D N00260 )
( D N00260 )
( D N00260 )
( D N00260 )
( G N00489 )
( S GND_SIGNAL )
( S GND_SIGNAL )
( S GND_SIGNAL )
)
( 84DFBB8F $noname I00063 (null) {Lib=(null)}
( D N00247 )
( D N00247 )
( D N00247 )
( D N00247 )
( G N00318 )
( S N00260 )
( S N00260 )
( S N00260 )
)
( 84DFBB8F $noname I00069 (null) {Lib=(null)}
(ANODE GND_SIGNAL )
(CATHODE N00195 )
)
( 84DFBB8F $noname I00071 (null) {Lib=(null)}
(ANODE GND_SIGNAL )
(CATHODE N00260 )
)
( 84DFBB8F $noname I00073 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 N02117 )
)
( 84DFBB8F $noname I00075 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 N00670 )
)
( 84DFBB8F $noname I00077 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 N00247 )
)
( 84DFBB8F $noname I00081 (null) {Lib=(null)}
( &1 N02117 )
( &2 GND_SIGNAL )
( &3 &_43_3_46_3V )
)
( 84DFBB8F $noname I00083 (null) {Lib=(null)}
( &1 N00247 )
( &2 GND_SIGNAL )
( &3 &_43_VB )
)
( 84DFBB8F $noname I00085 (null) {Lib=(null)}
( &1 N00670 )
( &2 GND_SIGNAL )
( &3 &_43_5V )
)
( 84DFBB8F $noname I00099 (null) {Lib=(null)}
(ANODE N00276 )
(CATHODE N00181 )
)
( 84DFBB8F $noname I00101 (null) {Lib=(null)}
(ANODE N00276 )
(CATHODE N00250 )
)
( 84DFBB8F $noname I00103 (null) {Lib=(null)}
(ANODE &_43_5VSB )
(CATHODE &_43_VB )
)
( 84DFBB8F $noname I00105 (null) {Lib=(null)}
( GND GND_SIGNAL )
( VIN &_43_VB )
( VOUT &_43_5VSB )
)
( 84DFBB8F $noname I00107 (null) {Lib=(null)}
( &1 N00266 )
( &2 N00318 )
)
( 84DFBB8F $noname I00109 (null) {Lib=(null)}
( &1 N00219 )
( &2 N00247 )
)
( 84DFBB8F $noname I00111 (null) {Lib=(null)}
( &1 N00221 )
( &2 N00247 )
)
( 84DFBB8F $noname I00113 (null) {Lib=(null)}
( &1 N00901 )
( &2 N00911 )
)
( 84DFBB8F $noname I00115 (null) {Lib=(null)}
( &1 N03902 )
( &2 &_43_3_46_3V )
)
( 84DFBB8F $noname I00117 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 N04515 )
)
( 84DFBB8F $noname I00119 (null) {Lib=(null)}
( &1 PSON_42_ )
( &2 N04518 )
)
( 84DFBB8F $noname I00121 (null) {Lib=(null)}
( &2 PSON_42_ )
(&_43_VB &_43_VB )
)
( 84DFBB8F $noname I00125 (null) {Lib=(null)}
( &1 PSON_42_ )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I00127 (null) {Lib=(null)}
( &1 &_43_VB )
( &2 N05988 )
)
( 84DFBB8F $noname I00129 (null) {Lib=(null)}
( &1 N05988 )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I00131 (null) {Lib=(null)}
( &1 N04265 )
( &2 N04246 )
)
( 84DFBB8F $noname I00133 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 N04246 )
)
( 84DFBB8F $noname I00135 (null) {Lib=(null)}
( &1 N04246 )
( &2 N04243 )
)
( 84DFBB8F $noname I00137 (null) {Lib=(null)}
( &1 N04246 )
( &2 &_43_5V )
)
( 84DFBB8F $noname I00139 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 N00247 )
)
( 84DFBB8F $noname I00141 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 N00247 )
)
( 84DFBB8F $noname I00143 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 &_43_5VSB )
)
( 84DFBB8F $noname I00145 (null) {Lib=(null)}
( &1 N00221 )
( &2 N00247 )
)
( 84DFBB8F $noname I00147 (null) {Lib=(null)}
( &1 N00219 )
( &2 N00247 )
)
( 84DFBB8F $noname I00149 (null) {Lib=(null)}
( &1 N00250 )
( &2 N00260 )
)
( 84DFBB8F $noname I00151 (null) {Lib=(null)}
( &1 N00181 )
( &2 N00195 )
)
( 84DFBB8F $noname I00153 (null) {Lib=(null)}
( &1 N00276 )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I00155 (null) {Lib=(null)}
( &1 N04243 )
( &2 &_43_5V )
)
( 84DFBB8F $noname I00157 (null) {Lib=(null)}
( &1 N04268 )
( &2 N04265 )
)
( 84DFBB8F $noname I00159 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 N04491 )
)
( 84DFBB8F $noname I00161 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 N04495 )
)
( 84DFBB8F $noname I00163 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 VR )
)
( 84DFBB8F $noname I00165 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 N04503 )
)
( 84DFBB8F $noname I00167 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 N04507 )
)
( 84DFBB8F $noname I00169 (null) {Lib=(null)}
( &1 N03924 )
( &2 N03927 )
)
( 84DFBB8F $noname I00171 (null) {Lib=(null)}
( &1 N03902 )
( &2 N03927 )
)
( 84DFBB8F $noname I00173 (null) {Lib=(null)}
( &1 N03888 )
( &2 &_43_3_46_3V )
)
( 84DFBB8F $noname I00175 (null) {Lib=(null)}
( &1 N05988 )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I00177 (null) {Lib=(null)}
( &1 &_43_VB )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I00179 (null) {Lib=(null)}
( &1 &_43_5VSB )
( &2 GND_SIGNAL )
)
( 84DFBB8F $noname I04226 (null) {Lib=(null)}
( &1 N04268 )
( &2 N04246 )
)
( 84DFBB8F $noname I07258 (null) {Lib=(null)}
( &1 GND_SIGNAL )
( &2 N06666 )
)
( 84DFBB8F $noname I07341 (null) {Lib=(null)}
( &2 &_43_3_46_3V )
( &3 GND_SIGNAL )
( &4 &_43_5V )
( &5 GND_SIGNAL )
( &6 &_43_5V )
( &7 GND_SIGNAL )
( &8 &_43_5V )
( &11 &_43_3_46_3V )
( &15 GND_SIGNAL )
( &16 GND_SIGNAL )
( &17 GND_SIGNAL )
( &20 &_43_5V )
(&_43_5V &_43_5V )
(&_43_12V &_43_12V )
(PSON_42_ PSON_42_ )
(&_43_5VSB &_43_5VSB )
(GND_SIGNAL GND_SIGNAL )
(&_43_3_46_3V &_43_3_46_3V )
)
)
(Edif hp74200_EDIF_Schematic_Out
(EdifVersion 2 0 0)(EdifLevel 0)
(KeywordMap (KeywordLevel 0))
(Status
(Written
(Timestamp 1987 11 11 11 23 07)
(Author "Hewlett-Packard, Logic Design Operation")
))
(Library (Rename remote_45_control "remote-control")
(EdifLevel 0)
(Technology
(NumberDefinition
(Scale 1 (E 254 -9) (Unit DISTANCE))
)
(UserData ConnectGrid (E 625 -2))
(FigureGroup hp74200_Default
(PathWidth 0)
(BorderWidth 1)
(Color 0 0 0)
(FillPattern 1 1 (Boolean (True) (True)))
(BorderPattern 1 0 (Boolean (True)))
(TextHeight 20000)
(Comment "These are the default settings for the hp74200
Electronic Capture System Graphics Package")
)
)
(Cell sw (CellType Generic)
(View Graphic_Schematic (ViewType SCHEMATIC)
(Interface
(Port n
(Designator "1"))
(Port m
(Designator "2"))
(Symbol
(PortImplementation
(Name n(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880))
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt 25500 36750))))
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 21250 51250))))
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 6250 43750))))
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt 6250 43750)
(Pt 31250 43750)))
))
(PortImplementation
(Name m(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERRIGHT)
(Orientation R0)
(Origin (Pt 75500 37750))
)
)
(KeywordDisplay Designator
(Display hp74200_Bug
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 75750 51250))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 93750 43750))))
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt 93750 43750)
(Pt 68750 43750)))
))
(Figure hp74200_Default
(Comment "Line")
(Path
(PointList
(Pt 34375 43750)
(Pt 65625 53125)))
)
(Figure hp74200_Default
(Circle
(Pt 65625 43750)
(Pt 71875 43750)))
(Figure hp74200_Default
(Circle
(Pt 28125 43750)
(Pt 34375 43750)))
(Figure
(FigureGroupOverride hp74200_Default
(FillPattern 1 1 (Boolean (True) (True)))
)
(Shape (Curve
(Pt 65625 53125)
(Pt 56250 53125)
(Pt 59375 46875)))
)
)
)
)
)
(Cell MC145030
(CellType Generic)
(View Graphic_Schematic (ViewType SCHEMATIC)
(Interface
(Port A0
(Direction Input)
(Designator "1")
)
(Port A1
(Direction Input)
(Designator "2")
)
(Port A2
(Direction Input)
(Designator "3")
)
(Port A3
(Direction Input)
(Designator "4")
)
(Port A4
(Direction Input)
(Designator "5")
)
(Port A5
(Direction Input)
(Designator "6")
)
(Port A6
(Direction Input)
(Designator "7")
)
(Port A7
(Direction Input)
(Designator "8")
)
(Port A8
(Direction Input)
(Designator "9")
)
(Port STATUS
(Direction Output)
(Designator "10")
)
(Port (Rename DEC_32_IN "DEC IN")
(Direction Input)
(Designator "11")
)
(Port (Rename DEC_32_OUT "DEC OUT")
(Direction Output)
(Designator "12")
)
(Port (Rename DEC_32_RST "DEC RST")
(Direction Input)
(Designator "13")
)
(Port (Rename ENC_32_ENB "ENC ENB")
(Direction Input)
(Designator "14")
)
(Port (Rename ENC_32_OUT "ENC OUT")
(Direction Output)
(Designator "15")
)
(Symbol
(PortImplementation
(Name A0
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt -56250 125000))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -72500 132500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -87500 125000))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -87500 125000)
(Pt -62500 125000)
)
)
)
)
(PortImplementation
(Name A1
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt -56250 100000))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -72500 107500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -87500 100000))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -87500 100000)
(Pt -62500 100000)
)
)
)
)
(PortImplementation
(Name A2
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt -56250 75000))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -72500 82500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -87500 75000))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -87500 75000)
(Pt -62500 75000)
)
)
)
)
(PortImplementation
(Name A3
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt -56250 50000))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -72500 57500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -87500 50000))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -87500 50000)
(Pt -62500 50000)
)
)
)
)
(PortImplementation
(Name A4
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt -56250 25000))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -72500 32500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -87500 25000))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -87500 25000)
(Pt -62500 25000)
)
)
)
)
(PortImplementation
(Name A5
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt -56250 0))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -72500 7500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -87500 0))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -87500 0)
(Pt -62500 0)
)
)
)
)
(PortImplementation
(Name A6
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt -56250 -25000))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -72500 -17500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -87500 -25000))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -87500 -25000)
(Pt -62500 -25000)
)
)
)
)
(PortImplementation
(Name A7
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt -56250 -50000))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -72500 -42500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -87500 -50000))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -87500 -50000)
(Pt -62500 -50000)
)
)
)
)
(PortImplementation
(Name A8
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt -56250 -75000))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -72500 -67500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -87500 -75000))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -87500 -75000)
(Pt -62500 -75000)
)
)
)
)
(PortImplementation
(Name STATUS
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERRIGHT)
(Orientation R0)
(Origin (Pt 93750 62500))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 110000 70000))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 125000 62500))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt 125000 62500)
(Pt 100000 62500)
)
)
)
)
(PortImplementation
(Name DEC_32_IN
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERRIGHT)
(Orientation R0)
(Origin (Pt 93750 -31250))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 110000 -23750))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 125000 -31250))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt 125000 -31250)
(Pt 100000 -31250)
)
)
)
)
(PortImplementation
(Name DEC_32_OUT
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R90)
(Origin (Pt 75000 -93750))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 88750 -122500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 75000 -125000))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt 75000 -125000)
(Pt 75000 -100000)
)
)
)
)
(PortImplementation
(Name DEC_32_RST
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R90)
(Origin (Pt 37500 -93750))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 51250 -122500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 37500 -125000))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt 37500 -125000)
(Pt 37500 -100000)
)
)
)
)
(PortImplementation
(Name ENC_32_ENB
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R90)
(Origin (Pt -18750 -93750))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -5000 -122500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -18750 -125000))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -18750 -125000)
(Pt -18750 -100000)
)
)
)
)
(PortImplementation
(Name ENC_32_OUT
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERRIGHT)
(Orientation R0)
(Origin (Pt 93750 112500))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 110000 120000))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 125000 112500))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt 125000 112500)
(Pt 100000 112500)
)
)
)
)
(Figure hp74200_Default
(Rectangle
(Pt -62500 -100000)
(Pt 100000 150000)
)
)
(Figure hp74200_Default
(Comment "Signal In")
(Shape
(Curve
(Pt 37500 -100000)
(Pt 31250 -118750)
(Pt 43750 -118750)
)
)
)
(Figure hp74200_Default
(Comment "Signal In")
(Shape
(Curve
(Pt -18750 -100000)
(Pt -25000 -118750)
(Pt -12500 -118750)
)
)
)
(Annotate
(StringDisplay "@REF%010%@NAME%010%@LABEL"
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify LOWERLEFT)
(Orientation R0)
(Origin (Pt -7500 52083))
)
)
)
)
)
)
)
(Cell driver
(CellType Generic)
(View Graphic_Schematic (ViewType SCHEMATIC)
(Interface
(Port x
(Designator "1")
)
(Port y
(Designator "2")
)
(Port in
(Designator "3")
)
(Port z
(Designator "4")
)
(Symbol
(PortImplementation
(Name x
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERRIGHT)
(Orientation R0)
(Origin (Pt 25000 75000))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 91250 82500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 106250 75000))
)
)
(Figure hp74200_Default
(Comment "Long Pin")
(Path
(PointList
(Pt 106250 75000)
(Pt 31250 75000)
)
)
)
)
(PortImplementation
(Name y
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERRIGHT)
(Orientation R0)
(Origin (Pt 25000 37500))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 91250 45000))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 106250 37500))
)
)
(Figure hp74200_Default
(Comment "Long Pin")
(Path
(PointList
(Pt 106250 37500)
(Pt 31250 37500)
)
)
)
)
(PortImplementation
(Name in
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R90)
(Origin (Pt 6500 25250))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 26250 -47500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 12500 -50000))
)
)
(Figure hp74200_Default
(Comment "Long Pin")
(Path
(PointList
(Pt 12500 -50000)
(Pt 12500 25000)
)
)
)
)
(PortImplementation
(Name z
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt 6250 56250))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -10000 63750))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -25000 56250))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -25000 56250)
(Pt 0 56250)
)
)
)
)
(Figure hp74200_Default
(Comment "Signal In")
(Shape
(Curve
(Pt 12500 25000)
(Pt 6250 6250)
(Pt 18750 6250)
)
)
)
(Figure hp74200_Default
(Comment "Ansi Buffer")
(Shape
(Curve
(Pt 0 18750)
(Pt 62500 56250)
(Pt 0 93750)
)
)
)
)
)
)
)
(Cell receiver
(CellType Generic)
(View Graphic_Schematic (ViewType SCHEMATIC)
(Interface
(Port x1
(Designator "1")
)
(Port z1
(Designator "2")
)
(Port y1
(Designator "3")
)
(Symbol
(PortImplementation
(Name x1
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt -25000 -43750))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -41250 -36250))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -56250 -43750))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -56250 -43750)
(Pt -31250 -43750)
)
)
)
)
(PortImplementation
(Name z1
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERRIGHT)
(Orientation R0)
(Origin (Pt 25000 -25000))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 41250 -17500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 56250 -25000))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt 56250 -25000)
(Pt 31250 -25000)
)
)
)
)
(PortImplementation
(Name y1
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERRIGHT)
(Orientation R0)
(Origin (Pt 25000 -62500))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 41250 -55000))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 56250 -62500))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt 56250 -62500)
(Pt 31250 -62500)
)
)
)
)
(Figure hp74200_Default
(Comment "Ansi Buffer")
(Shape
(Curve
(Pt 31250 -6250)
(Pt -31250 -43750)
(Pt 31250 -81250)
)
)
)
)
)
)
)
(Cell cap
(CellType Generic)
(View Graphic_Schematic (ViewType SCHEMATIC)
(Interface
(Port i
(Designator "1")
)
(Port o
(Designator "2")
)
(Symbol
(PortImplementation
(Name i
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt -6000 43500))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -16250 45000))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -31250 37500))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -31250 37500)
(Pt -6250 37500)
)
)
)
)
(PortImplementation
(Name o
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERRIGHT)
(Orientation R0)
(Origin (Pt 18500 43500))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 28750 45000))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 43750 37500))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt 43750 37500)
(Pt 18750 37500)
)
)
)
)
(Figure hp74200_Default
(Comment "Ansi Capacitor")
(Path
(PointList
(Pt 0 18750)
(Pt 0 56250)
)
)
(Path
(PointList
(Pt -6250 37500)
(Pt 0 37500)
)
)
(Path
(PointList
(Pt 18750 37500)
(Pt 9380 37500)
)
)
(OpenShape
(Curve
(Arc
(Pt 15620 18750)
(Pt 9380 37500)
(Pt 15620 56250)
)
)
)
)
)
)
)
)
(Cell res
(CellType Generic)
(View Graphic_Schematic (ViewType SCHEMATIC)
(Interface
(Port q
(Designator "1")
)
(Port t
(Designator "2")
)
(Symbol
(PortImplementation
(Name q
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt -18750 37500))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -35000 45000))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -50000 37500))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -50000 37500)
(Pt -25000 37500)
)
)
)
)
(PortImplementation
(Name t
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERRIGHT)
(Orientation R0)
(Origin (Pt 25000 37500))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 41250 45000))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 56250 37500))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt 56250 37500)
(Pt 31250 37500)
)
)
)
)
(Figure hp74200_Default
(Comment "Ansi Resistor")
(Path
(PointList
(Pt -25000 40630)
(Pt -20320 50000)
(Pt -10940 31250)
(Pt -1560 50000)
(Pt 7810 31250)
(Pt 17190 50000)
(Pt 26560 31250)
(Pt 31250 40630)
)
)
)
)
)
)
)
(Cell diode
(CellType Generic)
(View Graphic_Schematic (ViewType SCHEMATIC)
(Interface
(Port o
(Designator "1")
)
(Port i
(Designator "2")
)
(Symbol
(PortImplementation
(Name o
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERLEFT)
(Orientation R0)
(Origin (Pt 18000 43500))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt -16250 45000))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -31250 37500))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt -31250 37500)
(Pt -6250 37500)
)
)
)
)
(PortImplementation
(Name i
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 13880)
)
(Justify CENTERRIGHT)
(Orientation R0)
(Origin (Pt -6750 43500))
)
)
(KeywordDisplay Designator
(Display hp74200_Default
(Justify LOWERCENTER)
(Orientation R0)
(Origin (Pt 22500 45000))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 37500 37500))
)
)
(Figure hp74200_Default
(Comment "Short Pin")
(Path
(PointList
(Pt 37500 37500)
(Pt 12500 37500)
)
)
)
)
(Figure hp74200_Default
(Comment "Ansi Diode")
(Shape
(Curve
(Pt -6250 28130)
(Pt -6250 46870)
(Pt 12500 37500)
)
)
(Path
(PointList
(Pt 12500 37500)
(Pt 15630 37500)
)
)
(Path
(PointList
(Pt 12500 50000)
(Pt 12500 25000)
)
)
)
)
)
)
)
(Cell DESIGN
(CellType Generic)
(View Graphic_Schematic (ViewType SCHEMATIC)
(Interface
(Port GROUND
(Direction INOUT)
)
(Port acknowledge
(Direction OUTPUT)
)
(Port execute
(Direction OUTPUT)
)
)
(Contents
(Page &0
(CommentGraphics
(Annotate
(StringDisplay "to/from%010%other stations"
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 20000)
)
(Justify LOWERLEFT)
(Orientation R0)
(Origin (Pt -96950 -78250))
)
)
)
(Annotate
(StringDisplay "(feedback)"
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 20000)
)
(Justify LOWERLEFT)
(Orientation R0)
(Origin (Pt -759450 -47000))
)
)
)
)
(Instance CMP31
(ViewRef Graphic_Schematic
(CellRef cap )
)
(Transform
(Orientation R180)
(Origin (Pt 331250 25000))
)
)
(Instance CMP30
(ViewRef Graphic_Schematic
(CellRef cap )
)
(Transform
(Orientation R180)
(Origin (Pt 331250 381250))
)
)
(Instance CMP28
(ViewRef Graphic_Schematic
(CellRef res )
)
(Transform
(Orientation R0)
(Origin (Pt 150000 43750))
)
)
(Instance CMP26
(ViewRef Graphic_Schematic
(CellRef diode )
)
(Transform
(Orientation R180)
(Origin (Pt 318750 118750))
)
)
(Instance CMP25
(ViewRef Graphic_Schematic
(CellRef diode )
)
(Transform
(Orientation R180)
(Origin (Pt 318750 475000))
)
)
(Instance CMP24
(ViewRef Graphic_Schematic
(CellRef MC145030 )
)
(Transform
(Orientation MY)
(Origin (Pt 500000 18750))
)
)
(Instance CMP23
(ViewRef Graphic_Schematic
(CellRef res )
)
(Transform
(Orientation R0)
(Origin (Pt -506250 125000))
)
)
(Instance CMP22
(ViewRef Graphic_Schematic
(CellRef receiver )
)
(Transform
(Orientation R180)
(Origin (Pt 100000 275000))
)
)
(Instance CMP21
(ViewRef Graphic_Schematic
(CellRef driver )
)
(Transform
(Orientation MY)
(Origin (Pt 150000 431250))
)
)
(Instance CMP19
(ViewRef Graphic_Schematic
(CellRef cap )
)
(Transform
(Orientation R0)
(Origin (Pt -368750 318750))
)
)
(Instance CMP18
(ViewRef Graphic_Schematic
(CellRef receiver )
)
(Transform
(Orientation R0)
(Origin (Pt -237500 400000))
)
)
(Instance CMP17
(ViewRef Graphic_Schematic
(CellRef driver )
)
(Transform
(Orientation R0)
(Origin (Pt -325000 443750))
)
)
(Instance CMP13
(ViewRef Graphic_Schematic
(CellRef sw )
)
(Transform
(Orientation R0)
(Origin (Pt -743750 268750))
)
)
(Instance CMP12
(ViewRef Graphic_Schematic
(CellRef sw )
)
(Transform
(Orientation R0)
(Origin (Pt -743750 293750))
)
)
(Instance CMP11
(ViewRef Graphic_Schematic
(CellRef sw )
)
(Transform
(Orientation R0)
(Origin (Pt -743750 318750))
)
)
(Instance CMP10
(ViewRef Graphic_Schematic
(CellRef sw )
)
(Transform
(Orientation R0)
(Origin (Pt -743750 343750))
)
)
(Instance CMP9
(ViewRef Graphic_Schematic
(CellRef sw )
)
(Transform
(Orientation R0)
(Origin (Pt -743750 368750))
)
)
(Instance CMP8
(ViewRef Graphic_Schematic
(CellRef sw )
)
(Transform
(Orientation R0)
(Origin (Pt -743750 393750))
)
)
(Instance CMP7
(ViewRef Graphic_Schematic
(CellRef sw )
)
(Transform
(Orientation R0)
(Origin (Pt -743750 418750))
)
)
(Instance CMP6
(ViewRef Graphic_Schematic
(CellRef sw )
)
(Transform
(Orientation R0)
(Origin (Pt -743750 443750))
)
)
(Instance CMP5
(ViewRef Graphic_Schematic
(CellRef sw )
)
(Transform
(Orientation R0)
(Origin (Pt -743750 468750))
)
)
(Instance CMP4
(ViewRef Graphic_Schematic
(CellRef MC145030 )
)
(Transform
(Orientation MY)
(Origin (Pt 500000 375000))
)
)
(Instance CMP1
(ViewRef Graphic_Schematic
(CellRef MC145030 )
)
(Transform
(Orientation R0)
(Origin (Pt -537500 387500))
)
)
(Net
(Name GROUND
)
(Joined
(PortRef A0 (InstanceRef CMP4))
(PortRef A1 (InstanceRef CMP4))
(PortRef A2 (InstanceRef CMP4))
(PortRef A3 (InstanceRef CMP4))
(PortRef A4 (InstanceRef CMP4))
(PortRef A5 (InstanceRef CMP4))
(PortRef A6 (InstanceRef CMP4))
(PortRef A7 (InstanceRef CMP4))
(PortRef A8 (InstanceRef CMP4))
(PortRef A0 (InstanceRef CMP24))
(PortRef A1 (InstanceRef CMP24))
(PortRef A2 (InstanceRef CMP24))
(PortRef A3 (InstanceRef CMP24))
(PortRef A4 (InstanceRef CMP24))
(PortRef A5 (InstanceRef CMP24))
(PortRef A6 (InstanceRef CMP24))
(PortRef A7 (InstanceRef CMP24))
(PortRef n (InstanceRef CMP5))
(PortRef n (InstanceRef CMP6))
(PortRef n (InstanceRef CMP7))
(PortRef n (InstanceRef CMP8))
(PortRef n (InstanceRef CMP9))
(PortRef n (InstanceRef CMP10))
(PortRef n (InstanceRef CMP11))
(PortRef n (InstanceRef CMP12))
(PortRef n (InstanceRef CMP13))
(PortRef t (InstanceRef CMP23))
(PortRef q (InstanceRef CMP28))
)
(Figure hp74200_Default
(Path
(PointList
(Pt 618750 -193750)
(Pt 100000 -193750)
)
)
(Path
(PointList
(Pt 618750 -193750)
(Pt 687500 -193750)
)
)
(Path
(PointList
(Pt 618750 -193750)
(Pt 618750 -300000)
)
)
(Path
(PointList
(Pt 100000 -193750)
(Pt 100000 81250)
)
)
(Path
(PointList
(Pt 100000 81250)
(Pt 100000 143750)
)
)
(Path
(PointList
(Pt 100000 143750)
(Pt -450000 143750)
)
)
(Path
(PointList
(Pt -450000 143750)
(Pt -450000 162500)
)
)
(Path
(PointList
(Pt -450000 143750)
(Pt -737500 143750)
)
)
(Path
(PointList
(Pt -737500 143750)
(Pt -737500 312500)
)
)
(Path
(PointList
(Pt -737500 312500)
(Pt -737500 337500)
)
)
(Path
(PointList
(Pt -737500 337500)
(Pt -737500 362500)
)
)
(Path
(PointList
(Pt -737500 362500)
(Pt -737500 387500)
)
)
(Path
(PointList
(Pt -737500 387500)
(Pt -737500 412500)
)
)
(Path
(PointList
(Pt -737500 412500)
(Pt -737500 437500)
)
)
(Path
(PointList
(Pt -737500 437500)
(Pt -737500 462500)
)
)
(Path
(PointList
(Pt -737500 462500)
(Pt -737500 487500)
)
)
(Path
(PointList
(Pt -737500 487500)
(Pt -737500 512500)
)
)
(Path
(PointList
(Pt 687500 -193750)
(Pt 687500 -31250)
)
)
(Path
(PointList
(Pt 687500 -31250)
(Pt 587500 -31250)
)
)
(Path
(PointList
(Pt 587500 -31250)
(Pt 587500 -6250)
)
)
(Path
(PointList
(Pt 587500 -6250)
(Pt 587500 18750)
)
)
(Path
(PointList
(Pt 587500 18750)
(Pt 587500 43750)
)
)
(Path
(PointList
(Pt 587500 43750)
(Pt 587500 68750)
)
)
(Path
(PointList
(Pt 587500 68750)
(Pt 587500 93750)
)
)
(Path
(PointList
(Pt 587500 93750)
(Pt 587500 118750)
)
)
(Path
(PointList
(Pt 587500 118750)
(Pt 587500 143750)
)
)
(Path
(PointList
(Pt 587500 143750)
(Pt 587500 300000)
)
)
(Path
(PointList
(Pt 587500 300000)
(Pt 587500 325000)
)
)
(Path
(PointList
(Pt 587500 325000)
(Pt 587500 350000)
)
)
(Path
(PointList
(Pt 587500 350000)
(Pt 587500 375000)
)
)
(Path
(PointList
(Pt 587500 375000)
(Pt 587500 400000)
)
)
(Path
(PointList
(Pt 587500 400000)
(Pt 587500 425000)
)
)
(Path
(PointList
(Pt 587500 425000)
(Pt 587500 450000)
)
)
(Path
(PointList
(Pt 587500 450000)
(Pt 587500 475000)
)
)
(Path
(PointList
(Pt 587500 475000)
(Pt 587500 500000)
)
)
)
)
(Net
(Rename
(Name &_37_NET00001
)
"%37%NET00001"
)
(Joined
(PortRef A0 (InstanceRef CMP1))
(PortRef m (InstanceRef CMP5))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -650000 512500)
(Pt -625000 512500)
)
)
)
)
(Net
(Rename
(Name &_37_NET00002
)
"%37%NET00002"
)
(Joined
(PortRef A1 (InstanceRef CMP1))
(PortRef m (InstanceRef CMP6))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -650000 487500)
(Pt -625000 487500)
)
)
)
)
(Net
(Rename
(Name &_37_NET00003
)
"%37%NET00003"
)
(Joined
(PortRef A2 (InstanceRef CMP1))
(PortRef m (InstanceRef CMP7))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -650000 462500)
(Pt -625000 462500)
)
)
)
)
(Net
(Rename
(Name &_37_NET00004
)
"%37%NET00004"
)
(Joined
(PortRef A3 (InstanceRef CMP1))
(PortRef m (InstanceRef CMP8))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -650000 437500)
(Pt -625000 437500)
)
)
)
)
(Net
(Rename
(Name &_37_NET00005
)
"%37%NET00005"
)
(Joined
(PortRef A4 (InstanceRef CMP1))
(PortRef m (InstanceRef CMP9))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -650000 412500)
(Pt -625000 412500)
)
)
)
)
(Net
(Rename
(Name &_37_NET00006
)
"%37%NET00006"
)
(Joined
(PortRef A5 (InstanceRef CMP1))
(PortRef m (InstanceRef CMP10))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -650000 387500)
(Pt -625000 387500)
)
)
)
)
(Net
(Rename
(Name &_37_NET00007
)
"%37%NET00007"
)
(Joined
(PortRef A6 (InstanceRef CMP1))
(PortRef m (InstanceRef CMP11))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -650000 362500)
(Pt -625000 362500)
)
)
)
)
(Net
(Rename
(Name &_37_NET00008
)
"%37%NET00008"
)
(Joined
(PortRef A7 (InstanceRef CMP1))
(PortRef m (InstanceRef CMP12))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -650000 337500)
(Pt -625000 337500)
)
)
)
)
(Net
(Rename
(Name &_37_NET00009
)
"%37%NET00009"
)
(Joined
(PortRef A8 (InstanceRef CMP1))
(PortRef m (InstanceRef CMP13))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -650000 312500)
(Pt -625000 312500)
)
)
)
)
(Net
(Rename
(Name &_37_NET00016
)
"%37%NET00016"
)
(Joined
(PortRef STATUS (InstanceRef CMP1))
(PortRef in (InstanceRef CMP17))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -312500 393750)
(Pt -350000 393750)
)
)
(Path
(PointList
(Pt -350000 393750)
(Pt -350000 450000)
)
)
(Path
(PointList
(Pt -350000 450000)
(Pt -412500 450000)
)
)
)
)
(Net
(Rename
(Name &_37_NET00017
)
"%37%NET00017"
)
(Joined
(PortRef ENC_32_OUT (InstanceRef CMP1))
(PortRef z (InstanceRef CMP17))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -350000 500000)
(Pt -412500 500000)
)
)
)
)
(Net
(Rename
(Name &_37_NET00020
)
"%37%NET00020"
)
(Joined
(PortRef DEC_32_IN (InstanceRef CMP1))
(PortRef i (InstanceRef CMP19))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -400000 356250)
(Pt -412500 356250)
)
)
)
)
(Net
(Rename
(Name &_37_NET00021
)
"%37%NET00021"
)
(Joined
(PortRef o (InstanceRef CMP19))
(PortRef x1 (InstanceRef CMP18))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -293750 356250)
(Pt -325000 356250)
)
)
)
)
(Net
(Rename
(Name &_37_NET00024
)
"%37%NET00024"
)
(Joined
(PortRef y1 (InstanceRef CMP18))
(PortRef y (InstanceRef CMP17))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -131250 481250)
(Pt -218750 481250)
)
)
(Path
(PointList
(Pt -131250 481250)
(Pt -56250 481250)
)
)
(Path
(PointList
(Pt -131250 481250)
(Pt -131250 337500)
)
)
(Path
(PointList
(Pt -56250 481250)
(Pt -56250 -56250)
)
)
(Path
(PointList
(Pt -131250 337500)
(Pt -181250 337500)
)
)
)
)
(Net
(Rename
(Name &_37_NET00033
)
"%37%NET00033"
)
(Joined
(PortRef z1 (InstanceRef CMP18))
(PortRef x (InstanceRef CMP17))
(PortRef x (InstanceRef CMP21))
(PortRef y1 (InstanceRef CMP22))
(PortRef y (InstanceRef CMP21))
(PortRef z1 (InstanceRef CMP22))
)
(Figure hp74200_Default
(Path
(PointList
(Pt -81250 300000)
(Pt 6250 300000)
)
)
(Path
(PointList
(Pt -81250 300000)
(Pt -81250 -56250)
)
)
(Path
(PointList
(Pt -81250 300000)
(Pt -81250 337500)
)
)
(Path
(PointList
(Pt 6250 300000)
(Pt 6250 468750)
)
)
(Path
(PointList
(Pt 6250 300000)
(Pt 43750 300000)
)
)
(Path
(PointList
(Pt 6250 468750)
(Pt 43750 468750)
)
)
(Path
(PointList
(Pt -81250 337500)
(Pt 31250 337500)
)
)
(Path
(PointList
(Pt -81250 337500)
(Pt -81250 518750)
)
)
(Path
(PointList
(Pt 31250 337500)
(Pt 31250 506250)
)
)
(Path
(PointList
(Pt 31250 337500)
(Pt 43750 337500)
)
)
(Path
(PointList
(Pt 31250 506250)
(Pt 43750 506250)
)
)
(Path
(PointList
(Pt -81250 518750)
(Pt -150000 518750)
)
)
(Path
(PointList
(Pt -150000 518750)
(Pt -150000 375000)
)
)
(Path
(PointList
(Pt -150000 518750)
(Pt -218750 518750)
)
)
(Path
(PointList
(Pt -150000 375000)
(Pt -181250 375000)
)
)
)
)
(Net
(Rename
(Name &_37_NET00044
)
"%37%NET00044"
)
(Joined
(PortRef STATUS (InstanceRef CMP4))
(PortRef o (InstanceRef CMP25))
)
(Figure hp74200_Default
(Path
(PointList
(Pt 350000 437500)
(Pt 375000 437500)
)
)
)
)
(Net
(Rename (Name &_37_NET00046) "%37%NET00046")
(Joined
(PortRef STATUS (InstanceRef CMP24))
(PortRef o (InstanceRef CMP26))
)
(Figure hp74200_Default
(Path
(PointList
(Pt 350000 81250)
(Pt 375000 81250)
)
)
)
)
(Net
(Rename (Name &_37_NET00055) "%37%NET00055")
(Joined
(PortRef ENC_32_OUT (InstanceRef CMP24))
(PortRef ENC_32_OUT (InstanceRef CMP4))
(PortRef z (InstanceRef CMP21))
)
(Figure hp74200_Default
(Path
(PointList
(Pt 212500 487500)
(Pt 212500 131250)))
(Path
(PointList
(Pt 212500 487500)
(Pt 175000 487500)))
(Path
(PointList
(Pt 212500 487500)
(Pt 375000 487500)))
(Path
(PointList
(Pt 212500 131250)
(Pt 375000 131250)))
)
)
(Net
(Rename (Name &_37_NET00059) "%37%NET00059")
(Joined
(PortRef i (InstanceRef CMP30))
(PortRef DEC_32_IN (InstanceRef CMP4))
)
(Figure hp74200_Default
(Path
(PointList
(Pt 375000 343750)
(Pt 362500 343750)
)
)
)
)
(Net
(Rename
(Name &_37_NET00060
)
"%37%NET00060"
)
(Joined
(PortRef i (InstanceRef CMP31))
(PortRef DEC_32_IN (InstanceRef CMP24))
)
(Figure hp74200_Default
(Path
(PointList
(Pt 375000 -12500)
(Pt 362500 -12500)
)
)
)
)
(Net
(Rename
(Name &_37_NET00067
)
"%37%NET00067"
)
(Joined
(PortRef in (InstanceRef CMP21))
(PortRef i (InstanceRef CMP25))
(PortRef i (InstanceRef CMP26))
(PortRef t (InstanceRef CMP28))
)
(Figure hp74200_Default
(Path
(PointList
(Pt 206250 81250)
(Pt 281250 81250)
)
)
(Path
(PointList
(Pt 281250 81250)
(Pt 281250 381250)
)
)
(Path
(PointList
(Pt 281250 381250)
(Pt 281250 437500)
)
)
(Path
(PointList
(Pt 281250 381250)
(Pt 137500 381250)
)
)
)
)
(Net
(Rename
(Name &_37_NET00068
)
"%37%NET00068"
)
(Joined
(PortRef o (InstanceRef CMP31))
(PortRef o (InstanceRef CMP30))
(PortRef x1 (InstanceRef CMP22))
)
(Figure hp74200_Default
(Path
(PointList
(Pt 243750 318750)
(Pt 243750 343750)
)
)
(Path
(PointList
(Pt 243750 318750)
(Pt 156250 318750)
)
)
(Path
(PointList
(Pt 243750 318750)
(Pt 243750 -12500)
)
)
(Path
(PointList
(Pt 243750 343750)
(Pt 287500 343750)
)
)
(Path
(PointList
(Pt 243750 -12500)
(Pt 287500 -12500)
)
)
)
)
(Net
(Name acknowledge
)
(Joined
(PortRef DEC_32_OUT (InstanceRef CMP1))
(PortRef acknowledge)
)
(Figure hp74200_Default
(Path
(PointList
(Pt -618750 -25000)
(Pt -387500 -25000)
)
)
(Path
(PointList
(Pt -387500 -25000)
(Pt -387500 262500)
)
)
(Path
(PointList
(Pt -387500 262500)
(Pt -462500 262500)
)
)
)
)
(Net
(Name execute
)
(Joined
(PortRef ENC_32_ENB (InstanceRef CMP1))
(PortRef DEC_32_RST (InstanceRef CMP1))
(PortRef q (InstanceRef CMP23))
(PortRef execute)
)
(Figure hp74200_Default
(Path
(PointList
(Pt -556250 218750)
(Pt -556250 262500)
)
)
(Path
(PointList
(Pt -556250 218750)
(Pt -556250 162500)
)
)
(Path
(PointList
(Pt -556250 218750)
(Pt -500000 218750)
)
)
(Path
(PointList
(Pt -556250 162500)
(Pt -556250 37500)
)
)
(Path
(PointList
(Pt -556250 37500)
(Pt -618750 37500)
)
)
(Path
(PointList
(Pt -500000 218750)
(Pt -500000 262500)
)
)
)
)
(PortImplementation
(Name GROUND
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 20830)
)
(Justify CENTERRIGHT)
(Orientation R90)
(Origin (Pt 618750 -350000))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt 618750 -300000))
)
)
(Figure hp74200_Default
(Comment "Ansi Digital Ground Connector")
(Path
(PointList
(Pt 618750 -300000)
(Pt 618750 -325000)))
(Path
(PointList
(Pt 600000 -325000)
(Pt 637500 -325000)))
(Path
(PointList
(Pt 606250 -334380)
(Pt 631250 -334380)))
(Path
(PointList
(Pt 612500 -343750)
(Pt 625000 -343750)))
))
(PortImplementation
(Name acknowledge
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 20830)
)
(Justify CENTERRIGHT)
(Orientation R0)
(Origin (Pt -650000 -25000))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -618750 -25000))))
(Figure hp74200_Default
(Comment "Connector-Out Connector")
(Path
(PointList
(Pt -618750 -25000)
(Pt -643750 -25000)))
(Path
(PointList
(Pt -631250 -29680)
(Pt -643750 -25000)
(Pt -631250 -20320)))
)
)
(PortImplementation
(Name execute
(Display
(FigureGroupOverride hp74200_Default
(TextHeight 20830)
)
(Justify CENTERRIGHT)
(Orientation R0)
(Origin (Pt -650000 37500))
)
)
(ConnectLocation
(Figure hp74200_Default
(Dot (Pt -618750 37500))))
(Figure hp74200_Default
(Comment "Connector-Out Connector")
(Path
(PointList
(Pt -618750 37500)
(Pt -643750 37500)))
(Path
(PointList
(Pt -631250 32820)
(Pt -643750 37500)
(Pt -631250 42180)))
)
)
)
)
)
)
)
)
( { netlist created 13/9/2007-18:11:44 }
( 84DFBB8F $noname CMP1 (null) {Lib=(null)}
( A0 &_37_NET00001 )
( A1 &_37_NET00002 )
( A2 &_37_NET00003 )
( A3 &_37_NET00004 )
( A4 &_37_NET00005 )
( A5 &_37_NET00006 )
( A6 &_37_NET00007 )
( A7 &_37_NET00008 )
( A8 &_37_NET00009 )
(STATUS &_37_NET00016 )
(DEC_32_IN &_37_NET00020 )
(DEC_32_RST execute )
(ENC_32_ENB execute )
(ENC_32_OUT &_37_NET00017 )
(acknowledge acknowledge )
)
( 84DFBB8F $noname CMP10 (null) {Lib=(null)}
( m &_37_NET00006 )
( n GROUND )
)
( 84DFBB8F $noname CMP11 (null) {Lib=(null)}
( m &_37_NET00007 )
( n GROUND )
)
( 84DFBB8F $noname CMP12 (null) {Lib=(null)}
( m &_37_NET00008 )
( n GROUND )
)
( 84DFBB8F $noname CMP13 (null) {Lib=(null)}
( m &_37_NET00009 )
( n GROUND )
)
( 84DFBB8F $noname CMP17 (null) {Lib=(null)}
( x &_37_NET00033 )
( y &_37_NET00024 )
( z &_37_NET00017 )
( in &_37_NET00016 )
)
( 84DFBB8F $noname CMP18 (null) {Lib=(null)}
( x1 &_37_NET00021 )
( y1 &_37_NET00024 )
( z1 &_37_NET00033 )
)
( 84DFBB8F $noname CMP19 (null) {Lib=(null)}
( i &_37_NET00020 )
( o &_37_NET00021 )
)
( 84DFBB8F $noname CMP21 (null) {Lib=(null)}
( x &_37_NET00033 )
( y &_37_NET00033 )
( z &_37_NET00055 )
( in &_37_NET00067 )
)
( 84DFBB8F $noname CMP22 (null) {Lib=(null)}
( x1 &_37_NET00068 )
( y1 &_37_NET00033 )
( z1 &_37_NET00033 )
)
( 84DFBB8F $noname CMP23 (null) {Lib=(null)}
( t GROUND )
(execute execute )
)
( 84DFBB8F $noname CMP24 (null) {Lib=(null)}
( A0 GROUND )
( A1 GROUND )
( A2 GROUND )
( A3 GROUND )
( A4 GROUND )
( A5 GROUND )
( A6 GROUND )
( A7 GROUND )
(STATUS &_37_NET00046 )
(DEC_32_IN &_37_NET00060 )
(ENC_32_OUT &_37_NET00055 )
)
( 84DFBB8F $noname CMP25 (null) {Lib=(null)}
( i &_37_NET00067 )
( o &_37_NET00044 )
)
( 84DFBB8F $noname CMP26 (null) {Lib=(null)}
( i &_37_NET00067 )
( o &_37_NET00046 )
)
( 84DFBB8F $noname CMP28 (null) {Lib=(null)}
( q GROUND )
( t &_37_NET00067 )
)
( 84DFBB8F $noname CMP30 (null) {Lib=(null)}
( i &_37_NET00059 )
( o &_37_NET00068 )
)
( 84DFBB8F $noname CMP31 (null) {Lib=(null)}
( i &_37_NET00060 )
( o &_37_NET00068 )
)
( 84DFBB8F $noname CMP4 (null) {Lib=(null)}
( A0 GROUND )
( A1 GROUND )
( A2 GROUND )
( A3 GROUND )
( A4 GROUND )
( A5 GROUND )
( A6 GROUND )
( A7 GROUND )
( A8 GROUND )
(STATUS &_37_NET00044 )
(DEC_32_IN &_37_NET00059 )
(ENC_32_OUT &_37_NET00055 )
)
( 84DFBB8F $noname CMP5 (null) {Lib=(null)}
( m &_37_NET00001 )
( n GROUND )
)
( 84DFBB8F $noname CMP6 (null) {Lib=(null)}
( m &_37_NET00002 )
( n GROUND )
)
( 84DFBB8F $noname CMP7 (null) {Lib=(null)}
( m &_37_NET00003 )
( n GROUND )
)
( 84DFBB8F $noname CMP8 (null) {Lib=(null)}
( m &_37_NET00004 )
( n GROUND )
)
( 84DFBB8F $noname CMP9 (null) {Lib=(null)}
( m &_37_NET00005 )
( n GROUND )
)
)
/********************/
/* includes systeme */
/********************/
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <math.h>
#include <string.h>
#include <ctype.h>
#ifdef TO_DOS
#include <dos.h>
#include <pc.h>
#endif
#ifdef TO_LINUX
#define stricmp strcasecmp
#define strnicmp strncasecmp
#endif
/* fonctions */
// #include "priorque.h"
#
# Makefile for EDIF parser.
#
# CFLAGS = -DDEBUG
# CFLAGS = -O
CC = gcc
CFLAGS = -g -static
SOURCES = edif.y
all : e2net ppedif e2sch
ppedif : ppedif.o
gcc $(CFLAGS) ppedif.c -o ppedif
e2net : ed.h eelibsl.h e2net.o edif.o savelib.o
gcc $(CFLAGS) e2net.o edif.o savelib.o -o e2net -lm
e2sch : ed.h eelibsl.h e2sch.o edif.o savelib.o
gcc $(CFLAGS) e2sch.o edif.o savelib.o -o e2sch -lm
savelib : fctsys.h eelibsl.h savelib.o
gcc $(CFLAGS) -c savelib.c
edif : ed.h eelibsl.h edif.o
gcc $(CFLAGS) -c edif.c
// main.o : main.c
edif.o : edif.c
edif.c : edif.y
bison -t -v -d edif.y
cp edif.tab.c edif.c
# mv y.tab.c edif.c
# edif.y : edif.y.1 edif.y.2
# cat edif.y.1 edif.y.2 > edif.y
clean :
rm *.o edif.c edif.output edif.tab.c edif.tab.h e2sch e2net ppedif
rm e2net.exe e2sch.exe ppedif.exe
#include <stdio.h>
id(int j)
{
printf("\n");
for( ; j>0 ; j--)
printf(" ");
}
main()
{
int ch, i=0, j=0, wh=0, last=0, instr=0 ;
while((ch = getchar()) != EOF){
switch (ch) {
case '(':
if( last == ')')
id(i);
i++; j=i+1;
wh=0;
break;
case ')':
if(--j == i){
printf(")");
if(i>0)i--;
last=ch;
continue;
}
wh=1;
break;
case '"':
instr ^=1;
break;
case '\r':
case '\n':
if(instr)
continue;
ch=' ';
break;
case ' ':
case '\t':
if(wh || last=='(')
continue;
break;
default:
wh=0;
break;
}
last = ch;
printf("%c", ch);
}
}
/************************/
/* savelib.cc */
/************************/
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <malloc.h>
#include "ed.h"
#include "eelibsl.h"
#define TEXT_SIZE 60
FILE *FileEdf, *FileNet, *FileEESchema, *FileKiPro ;
extern char FileNameKiPro[], FileNameEESchema[], FileNameLib[];
extern float scale;
OutPro(LibraryStruct * Libs)
{
int i;
sprintf(FileNameKiPro,"%s.pro", schName);
if( (FileKiPro = fopen( FileNameKiPro, "wt" )) == NULL ) {
fprintf(stderr, " %s impossible to create\n", FileNameKiPro);
return(-1);
}
fprintf(FileKiPro,"update=16/11/2007-20:11:59\n");
fprintf(FileKiPro,"last_client=eeschema\n");
fprintf(FileKiPro,"[eeschema]\n");
fprintf(FileKiPro,"version=1\n");
fprintf(FileKiPro,"LibDir=\n"); //"."
fprintf(FileKiPro,"NetFmt=1\n");
fprintf(FileKiPro,"HPGLSpd=20\n");
fprintf(FileKiPro,"HPGLDm=15\n");
fprintf(FileKiPro,"HPGLNum=1\n");
fprintf(FileKiPro,"offX_A=0\n");
fprintf(FileKiPro,"offY_A=0\n");
fprintf(FileKiPro,"offX_B=0\n");
fprintf(FileKiPro,"offY_B=0\n");
fprintf(FileKiPro,"offX_C=0\n");
fprintf(FileKiPro,"offY_C=0\n");
fprintf(FileKiPro,"offX_D=0\n");
fprintf(FileKiPro,"offY_D=0\n");
fprintf(FileKiPro,"offX_E=0\n");
fprintf(FileKiPro,"offY_E=0\n");
fprintf(FileKiPro,"RptD_X=0\n");
fprintf(FileKiPro,"RptD_Y=100\n");
fprintf(FileKiPro,"RptLab=1\n");
fprintf(FileKiPro,"SimCmd=\n");
fprintf(FileKiPro,"UseNetN=0\n");
fprintf(FileKiPro,"LabSize=60\n");
fprintf(FileKiPro,"[eeschema/libraries]\n");
for( i=1; Libs != NULL; i++, Libs = Libs->nxt ){
if( !Libs->isSheet )
fprintf(FileKiPro, "LibName%d=%s\n", i, Libs->Name);
}
}
OutHead(LibraryStruct *Libs)
{
OutEnd(); // close if previous open
sprintf(FileNameEESchema,"%s.sch", schName);
if( (FileEESchema = fopen( FileNameEESchema, "wt" )) == NULL ) {
fprintf(stderr, " %s impossible to create\n", FileNameEESchema);
return(-1);
}
if( bug>2)fprintf(stderr,"OutHead %s\n", FileNameEESchema);
fprintf(FileEESchema,"EESchema Schematic File Version 2 ");
fprintf(FileEESchema,"date Mon 06 Feb 2012 06:45:22 PM MST\n");
fprintf(FileEESchema,"LIBS:");
//for( ; Libs != NULL; Libs = Libs->nxt ){
//if( !Libs->isSheet )
// fprintf(FileEESchema, "%s,", Libs->Name);
//}
fprintf(FileEESchema,"\nEELAYER 24 0\nEELAYER END\n");
fprintf(FileEESchema,"$Descr D 34000 22000\n"); // TODO - get size from EDIF
fprintf(FileEESchema,"Sheet 1 1\n");
fprintf(FileEESchema,"Title \"\"\n");
fprintf(FileEESchema,"Date \"15 oct 2007\"\n");
fprintf(FileEESchema,"Rev \"\"\n");
fprintf(FileEESchema,"Comp \"\"\n");
fprintf(FileEESchema,"Comment1 \"\"\n");
fprintf(FileEESchema,"Comment2 \"\"\n");
fprintf(FileEESchema,"Comment3 \"\"\n");
fprintf(FileEESchema,"Comment4 \"\"\n");
fprintf(FileEESchema,"$EndDescr\n");
fflush(FileEESchema);
return 1;
}
OutEnd()
{
if(FileEESchema == NULL)
return;
if( bug>2)fprintf(stderr,"OutEnd %s\n", FileNameEESchema);
fprintf(FileEESchema,"$EndSCHEMATC\n");
fclose(FileEESchema);
}
OutSheets(struct pwr *pgs)
{
int x, y;
if(FileEESchema == NULL)
return;
for( x=1000,y=800 ; pgs != NULL ; pgs=pgs->nxt ) {
fprintf(FileEESchema, "$Sheet\n");
fprintf(FileEESchema, "S %d %d 900 1500\n", x,y);
fprintf(FileEESchema, "U %d\n", x);
fprintf(FileEESchema, "F0 \"%s\" 60\n", pgs->s);
fprintf(FileEESchema, "F1 \"%s.sch\" 60\n", pgs->s);
fprintf(FileEESchema, "$EndSheet\n");
x += 4000;
y += 200;
if( x>15000 ){
y += 1500;
x = 1000;
}
}
}
#define OFF 0
OutText(g,s,x,y,size)
char *s;
int g, x,y;
{
int fx, fy, fs;
char *st, *t=malloc(strlen(s)+1);
if( s==NULL || *s==0 )
return;
// fprintf(stderr,"OutText %s %d %0x %0x\n", s, strlen(s), (unsigned int)s, (unsigned int)t);
// modify bus range
for( st=s ; ; s++,t++ ){
if(*s == ':'){
*t++ = '.'; *t = '.';
}else
*t = *s;
if(*s == '\0')
break;
}
// if s[0] == '[' assume sheet_to_sheet reference change to {1,2,5}
if( st[0] == '[' ) {
st[0] = '{';
for( t=st; *t ; t++){
if( *t == ']' )
*t = '}';
}
}
fx = OFF + scale * (float)x; fy = OFF + scale * (float)y;
fs = 0.55*scale * (float)size; // fixme - fwb
if(FileEESchema == NULL)
return;
if(g)
fprintf(FileEESchema,"Text GLabel %d %d 0 %d UnSpc\n%s\n",fx,fy,fs,st);
else
fprintf(FileEESchema,"Text Label %d %d 0 %d ~ 0\n%s\n",fx,fy,fs,st);
fflush(FileEESchema);
free(st);
}
OutWire(x1,y1,x2,y2)
int x1,y1,x2,y2;
{
int fx1, fy1, fx2, fy2;
fx1 = OFF + scale * (float)x1; fy1 = OFF + scale * (float)y1;
fx2 = OFF + scale * (float)x2; fy2 = OFF + scale * (float)y2;
if(FileEESchema == NULL)
return;
fprintf(FileEESchema,"Wire Wire Line\n %d %d %d %d\n",fx1,fy1,fx2,fy2);
fflush(FileEESchema);
}
OutConn(ox,oy)
int ox, oy;
{
int fx, fy;
if(FileEESchema == NULL)
return;
fx = OFF + scale * (float) ox; fy = OFF + scale * (float) oy;
fprintf(FileEESchema,"Connection ~ %d %d\n", fx, fy);
}
OutInst(reflib, refdes, value, foot, mfgname, mfgpart, ts, ox, oy, rx, ry, vx, vy, rflg, vflg, Rot)
char *reflib, *refdes, *value, *foot, *mfgname, *mfgpart;
int ts, ox, oy, rx, ry, vx, vy, Rot[2][2], rflg, vflg;
{
/* example
$Comp
L 24C16 U1
U 1 1 2F5F7E5C
P 5750 9550
F 0 "U1" H 5900 9900 60 0000 C C
F 1 "24C16" H 5950 9200 60 0000 C C
F 2 "TO220" H 5950 9200 60 0000 C C
^ flags
1 5750 9550
1 0 0 -1
$EndComp
*/
int fts, fx, fy, frx, fry, fvx, fvy;
scale =1.0; //fwb
fts = 0.6 * scale * (float) ts;
fx = OFF + scale * (float) ox; fy = OFF + scale * (float) oy;
frx = OFF + scale * (float) rx; fry = OFF + scale * (float) ry;
fvx = OFF + scale * (float) vx; fvy = OFF + scale * (float) vy;
if(FileEESchema == NULL)
return;
fprintf(FileEESchema, "$Comp\n");
fprintf(FileEESchema,"L %s %s\n", reflib, refdes );
fprintf(FileEESchema,"U %d %d %8.8lX\n", 1, 1, 0l);
fprintf(FileEESchema,"P %d %d\n", fx, fy);
if(refdes != NULL){
fprintf(FileEESchema,"F 0 \"%s\" %c %d %d %d 000%d L TNN\n", refdes, Rot[0][1]?'V':'H',
frx, (3*fy-2*fry), fts, rflg);
}
if(value != NULL){
fprintf(FileEESchema,"F 1 \"%s\" %c %d %d %d 000%d L TNN\n", value, Rot[0][1]?'V':'H',
fvx, (3*fy-2*fvy), fts, vflg);
}
if(foot != NULL && foot[0] != 0) {
fprintf(FileEESchema,"F 2 \"%s\" H %d %d %d 0001 L T\n", foot, fx+50, fy+50, fts);
}
if(mfgname != NULL && mfgname[0] != 0) {
fprintf(FileEESchema,"F 4 \"%s\" H %d %d %d 0001 L T\n", mfgname, fx+50, fy+50, fts);
}
if(mfgpart != NULL && mfgpart[0] != 0) {
fprintf(FileEESchema,"F 5 \"%s\" H %d %d %d 0001 L T\n", mfgpart, fx+50, fy+50, fts);
}
fprintf(FileEESchema," 1 %d %d\n", fx, fy);
fprintf(FileEESchema," %d %d %d %d\n", Rot[0][0], Rot[0][1], Rot[1][0], Rot[1][1]);
fprintf(FileEESchema,"$EndComp\n");
fflush(FileEESchema);
}
/* Routines de sauvegarde et maintenance de librairies et composants
*/
#include "fctsys.h"
#include "eelibsl.h"
#define DisplayError printf
#define TEXT_NO_VISIBLE 1
int LibraryEntryCompare(LibraryEntryStruct *LE1, LibraryEntryStruct *LE2);
static int WriteOneLibEntry(FILE * ExportFile, LibraryEntryStruct * LibEntry);
/* Variables locales */
void OutLibHead(FILE *SaveFile, LibraryStruct *CurrentLib )
{
if( bug>2)fprintf(stderr," OutLibHead %s\n", CurrentLib->Name);
fprintf(SaveFile,"%s\n", FILE_IDENT);
fprintf(SaveFile,"### Library: %s ###\n", CurrentLib->Name);
}
void OutLibEnd(FILE *SaveFile)
{
if( bug>2)fprintf(stderr," OutLibEnd %s\n", CurrentLib->Name);
fprintf(SaveFile,"#End Library\n");
fclose(SaveFile);
}
/**************************************************************************/
/* void SaveActiveLibrary(FILE * SaveFile, LibraryEntryStruct *LibEntry ) */
/**************************************************************************/
void SaveActiveLibrary(FILE *SaveFile, LibraryStruct *CurrentLib )
{
LibraryEntryStruct *LibEntry;
int ii;
LibEntry = (LibraryEntryStruct *) CurrentLib->Entries;
ii = CurrentLib->NumOfParts ;
fprintf(stderr, "%03d #parts %s\n", ii, CurrentLib->Name);
for( ; ii > 0; ii-- ) {
if(LibEntry != NULL) {
WriteOneLibEntry(SaveFile, LibEntry);
fprintf(SaveFile,"#\n");
} else {
break;
}
LibEntry = (LibraryEntryStruct *) LibEntry->nxt;
}
}
/**************************************************************************/
/* int WriteOneLibEntry(FILE * ExportFile, LibraryEntryStruct * LibEntry) */
/**************************************************************************/
/* Routine d'ecriture du composant pointe par LibEntry
dans le fichier ExportFile( qui doit etre deja ouvert)
return: 0 si Ok
-1 si err write
1 si composant non ecrit ( type ALIAS )
*/
#define UNUSED 0
int WriteOneLibEntry(FILE * ExportFile, LibraryEntryStruct * LibEntry)
{
LibraryDrawEntryStruct *DrawEntry;
LibraryFieldEntry * Field;
void * DrawItem;
int * ptpoly;
int ii, t1, t2, Etype;
char PinNum[5];
char FlagXpin = 0;
int x1,y1,x2,y2,r;
if( LibEntry->Type != ROOT ) return(1);
/* Creation du commentaire donnant le nom du composant */
fprintf(stderr," %s\n", LibEntry->Name);
fprintf(ExportFile,"# %s\n#\n", LibEntry->Name);
/* Generation des lignes utiles */
fprintf(ExportFile,"DEF");
if(LibEntry->DrawName) fprintf(ExportFile," %s",LibEntry->Name);
else fprintf(ExportFile," ~%s",LibEntry->Name);
if(LibEntry->Prefix[0] > ' ') fprintf(ExportFile," %s",LibEntry->Prefix);
else fprintf(ExportFile," ~");
fprintf(ExportFile," %d %d %c %c %d %d %c\n",
UNUSED, LibEntry->TextInside,
LibEntry->DrawPinNum ? 'Y' : 'N',
LibEntry->DrawPinName ? 'Y' : 'N',
LibEntry->NumOfUnits, UNUSED, 'N');
/* Position / orientation / visibilite des champs */
x1 = scale*(float)LibEntry->PrefixPosX;
y1 = scale*(float)LibEntry->PrefixPosY;
fprintf(ExportFile,"F0 \"%s\" %d %d %d %c %c\n",
LibEntry->Prefix,
x1, y1,
(int)scale*LibEntry->PrefixSize,
LibEntry->PrefixOrient == 0 ? 'H' : 'V',
LibEntry->DrawPrefix ? 'V' : 'I' );
x1 = scale*(float)LibEntry->NamePosX;
y1 = scale*(float)LibEntry->NamePosY;
fprintf(ExportFile,"F1 \"%s\" %d %d %d %c %c\n",
LibEntry->Name,
x1, y1,
(int)scale*LibEntry->NameSize,
LibEntry->NameOrient == 0 ? 'H' : 'V',
LibEntry->DrawName ? 'V' : 'I' );
for ( Field = LibEntry->Fields; Field!= NULL; Field = Field->nxt ) {
if( Field->Text == NULL ) continue;
if( strlen(Field->Text) == 0 ) continue;
x1 = scale*(float)Field->PosX;
y1 = scale*(float)Field->PosY;
fprintf(ExportFile,"F%d \"%s\" %d %d %d %c %c\n",
Field->FieldId,
Field->Text,
x1, y1,
(int)scale*Field->Size,
Field->Orient == 0 ? 'H' : 'V',
(Field->Flags & TEXT_NO_VISIBLE) ? 'I' : 'V' );
}
/* Sauvegarde de la ligne "ALIAS" */
if( LibEntry->AliasList )
if( strlen(LibEntry->AliasList) )
fprintf(ExportFile,"ALIAS %s\n", LibEntry->AliasList);
/* Sauvegarde des elements de trace */
DrawEntry = LibEntry->Drawings;
if(DrawEntry) {
fprintf(ExportFile,"DRAW\n");
while( DrawEntry ) {
switch( DrawEntry->DrawType) {
case ARC_DRAW_TYPE:
#define DRAWSTRUCT (&(DrawEntry->U.Arc))
t1 = DRAWSTRUCT->t1 - 1; if(t1 > 1800) t1 -= 3600;
t2 = DRAWSTRUCT->t2 + 1; if(t2 > 1800) t2 -= 3600;
x1 = scale*(float)DRAWSTRUCT->x;
y1 = scale*(float)DRAWSTRUCT->y;
r = scale*(float)DRAWSTRUCT->r;
fprintf(ExportFile,"A %d %d %d %d %d %d %d %d\n",
x1, y1, r, t1, t2,
DrawEntry->Unit,DrawEntry->Convert, DRAWSTRUCT->width);
break;
case CIRCLE_DRAW_TYPE:
#undef DRAWSTRUCT
#define DRAWSTRUCT (&(DrawEntry->U.Circ))
x1 = scale*(float)DRAWSTRUCT->x;
y1 = scale*(float)DRAWSTRUCT->y;
r = scale*(float)DRAWSTRUCT->r;
fprintf(ExportFile,"C %d %d %d %d %d %d\n",
x1, y1, r,
DrawEntry->Unit,DrawEntry->Convert, DRAWSTRUCT->width);
break;
case TEXT_DRAW_TYPE:
#undef DRAWSTRUCT
#define DRAWSTRUCT (&(DrawEntry->U.Text))
if( DRAWSTRUCT->Text != NULL &
strcmp(DRAWSTRUCT->Text, " ") )
x1 = scale*(float)DRAWSTRUCT->x;
y1 = scale*(float)DRAWSTRUCT->y;
fprintf(ExportFile,"T %d %d %d %d %d %d %d %s\n",
DRAWSTRUCT->Horiz,
x1, y1,
(int)scale*DRAWSTRUCT->size, DRAWSTRUCT->type,
DrawEntry->Unit,DrawEntry->Convert,
DRAWSTRUCT->Text );
break;
case SQUARE_DRAW_TYPE:
#undef DRAWSTRUCT
#define DRAWSTRUCT (&(DrawEntry->U.Sqr))
x1 = scale*(float)DRAWSTRUCT->x1;
y1 = scale*(float)DRAWSTRUCT->y1;
x2 = scale*(float)DRAWSTRUCT->x2;
y2 = scale*(float)DRAWSTRUCT->y2;
fprintf(ExportFile,"S %d %d %d %d %d %d %d N\n",
x1, y1, x2, y2,
DrawEntry->Unit, DrawEntry->Convert, DRAWSTRUCT->width);
break;
case PIN_DRAW_TYPE:
#undef DRAWSTRUCT
#define DRAWSTRUCT (&(DrawEntry->U.Pin))
FlagXpin = 1;
Etype = 'I';
switch(DRAWSTRUCT->PinType) {
case PIN_INPUT: Etype = 'I'; break;
case PIN_OUTPUT: Etype = 'O'; break;
case PIN_BIDI: Etype = 'B'; break;
case PIN_TRISTATE: Etype = 'T'; break;
case PIN_PASSIVE: Etype = 'P'; break;
case PIN_UNSPECIFIED: Etype = 'U'; break;
case PIN_POWER: Etype = 'W'; break;
case PIN_OPENCOLLECTOR: Etype = 'C'; break;
case PIN_OPENEMITTER: Etype = 'E'; break;
}
// memset(PinNum,0, sizeof(PinNum) );
// PinNum[0] = '0';
// strcpy(PinNum, "0");
// if(DRAWSTRUCT->Num)
// strncpy(PinNum,DRAWSTRUCT->Num, 4);
if((DRAWSTRUCT->ReName != NULL) && (DRAWSTRUCT->ReName[0] > ' '))
fprintf(ExportFile,"X %s", DRAWSTRUCT->ReName);
else
if((DRAWSTRUCT->Name != NULL) && (DRAWSTRUCT->Name[0] > ' '))
fprintf(ExportFile,"X %s", DRAWSTRUCT->Name);
else fprintf(ExportFile,"X ~");
x1 = scale*(float)DRAWSTRUCT->posX;
y1 = scale*(float)DRAWSTRUCT->posY;
x2 = 0.55*scale*(float)DRAWSTRUCT->SizeNum; // fwb
y2 = 0.55*scale*(float)DRAWSTRUCT->SizeName;
fprintf(ExportFile," %s %d %d %d %c %d %d %d %d %c",
DRAWSTRUCT->Num, // PinNum,
x1, y1,
(int)DRAWSTRUCT->Len,
(DRAWSTRUCT->Orient==0)?'L':DRAWSTRUCT->Orient,
x2,y2,
DrawEntry->Unit, DrawEntry->Convert, Etype);
if( (DRAWSTRUCT->PinShape) || (DRAWSTRUCT->Flags & PINNOTDRAW) )
fprintf(ExportFile," ");
if (DRAWSTRUCT->Flags & PINNOTDRAW)
fprintf(ExportFile,"N");
if (DRAWSTRUCT->PinShape & INVERT)
fprintf(ExportFile,"I");
if (DRAWSTRUCT->PinShape & CLOCK)
fprintf(ExportFile,"C");
if (DRAWSTRUCT->PinShape & LOWLEVEL_IN)
fprintf(ExportFile,"L");
if (DRAWSTRUCT->PinShape & LOWLEVEL_OUT)
fprintf(ExportFile,"V");
fprintf(ExportFile,"\n");
break;
case POLYLINE_DRAW_TYPE:
#undef DRAWSTRUCT
#define DRAWSTRUCT (&(DrawEntry->U.Poly))
fprintf(ExportFile,"P %d %d %d %d", DRAWSTRUCT->n,
DrawEntry->Unit,DrawEntry->Convert, DRAWSTRUCT->width);
ptpoly = DRAWSTRUCT->PolyList;
for( ii = DRAWSTRUCT->n ; ii > 0; ii-- )
{
x1 = scale*(float)*ptpoly;
y1 = scale*(float)*(ptpoly+1);
fprintf(ExportFile," %d %d", x1, y1);
ptpoly += 2;
}
if (DRAWSTRUCT->Fill) fprintf(ExportFile," F");
fprintf(ExportFile,"\n");
break;
default: DisplayError( "Save Lib: Unknown Draw Type");
break;
}
DrawEntry = DrawEntry->nxt;
}
fprintf(ExportFile,"ENDDRAW\n");
}
fprintf(ExportFile,"ENDDEF\n");
return(0);
}
/*****************************************************************************
* Routine to compare two LibraryEntryStruct for the PriorQue module. *
* Comparison is based on Part name. *
*****************************************************************************/
int LibraryEntryCompare(LibraryEntryStruct *LE1, LibraryEntryStruct *LE2)
{
return strcmp(LE1->Name, LE2->Name);
}
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This a utility to convert a PCB123 netlist
to a kicad netlist.
created by Frank Bennett Thu Sep 13 16:33:01 MDT 200
No guarantees at all... You use pcb2kicad at your own risk.
This directory contains:
makefile
netL.l
netY.y
test.net
out.net
To Build on a Linux box:
make
To run a test:
pcb2kicad < pcb123.net >out.net
out.net can be edited to add actual part types or schematic symbol
references. KiCad netlist editor can also be used to select actual
footprints.
Note: Beware KiCad currently limits PinNames to 4 characters.
These name should probably be truncated to make KiCad happy.
EDIF import uses the Rename directive if present.
CFLAGS = -w
CC = gcc
# Expression evaluator program: pcb2kicad
pcb2kicad: netY.o netL.o
$(CC) $(CFLAGS) -o pcb2kicad netY.o netL.o -lm -lfl
netY.o:netY.y netL.c netY.h
bison -t -v -d netY.y
mv netY.tab.c netY.c
$(CC) $(CFLAGS) -DYYDEBUG -c netY.c
netL.c:netL.l netY.h
flex -t netL.l > netL.c
netY.h:netY.y
bison -d netY.y
mv netY.tab.h netY.h
clean:
rm *.o netL.c netY.c netY.h netY.tab.h *.output pcb2kicad
%{
#include "netY.h"
#include <string.h>
void yyerror(char*);
int cont=0;
int lineno=0;
%}
%%
<<EOF>> {return 0;}
[+A-Za-z_$0-9]+ {yylval.str = strdup(yytext); return NAME;}
[&] {cont=1;}
[ \t]+ ;
[\n] {lineno++;
if( cont )
cont = 0;
else
return EOL;
}
[-,] {return yytext[0];}
. {ECHO; yyerror ("unexpected character");}
%%
int yywrap (void) {return 1;}
%{
// #define YYDEBUG 1
#include <stdio.h>
extern int yydebug; // export yydebug so lexer can manipulate it
int nbug=0;
struct lst {
struct con *net;
struct lst *nxt;
} *clst=NULL, *lptr;
struct con {
char *ref;
char *pin;
char *nnam;
struct con *nxt;
} *cons=NULL, *cptr;
struct net {
char *nnam;
struct net *nxt;
struct con *nlst;
} *nets=NULL, *nptr;
%}
%union {char *str; int num;}
%start file
%token <str> NAME
%token EOL
%%
file : net
| file net
;
net : NAME '-''-''-''-' con EOL
{
if(nbug)printf("%s \n", $1);
// add netname to nets
nptr = (struct net *) malloc (sizeof (struct net));
nptr->nnam = $1;
nptr->nxt = nets;
nptr->nlst = cons;
nets = nptr;
while( cons != NULL ){
lptr = (struct lst *) malloc (sizeof (struct lst));
lptr->net = cons;
lptr->nxt = clst;
clst = lptr;
cons->nnam = $1;
cons = cons->nxt;
}
}
;
con : NAME '-' NAME
{
if(nbug)printf(" %s-%s ", $1, $3);
cptr = (struct con *) malloc (sizeof (struct con));
cptr->ref = $1;
cptr->pin = $3;
cptr->nxt = cons;
cons = cptr;
}
| con ',' NAME '-' NAME
{
if(nbug)printf(" %s-%s ", $3, $5);
cptr = (struct con *) malloc (sizeof (struct con));
cptr->ref = $3;
cptr->pin = $5;
cptr->nxt = cons;
cons = cptr;
}
;
%%
int main (void) {
int ch, i, first=1;
char line[80], s1[40], s2[40], *s;
extern lineno;
for( i=0; i<5; ){
if( (ch=getchar()) == '\n'){
i++;
lineno++;
}
if(nbug) putchar(ch);
}
yyparse ();
// bubble sort clist by ref
struct lst *a, *b, *c, *e = NULL, *tmp;
while(e != clst->nxt) {
c = a = clst; b = a->nxt;
while(a != e) {
sprintf(s1, "%s%5s", a->net->ref, a->net->pin);
sprintf(s2, "%s%5s", b->net->ref, b->net->pin);
if( strcmp( s1, s2 ) >0 ) {
if(a == clst) {
tmp = b->nxt; b->nxt = a; a->nxt = tmp;
clst = b; c = b;
} else {
tmp = b->nxt; b->nxt = a; a->nxt = tmp;
c->nxt = b; c = b;
}
} else {
c = a; a = a->nxt;
}
b = a->nxt;
if(b == e)
e = a;
}
}
#ifdef NOT
// dump connections by component
strcpy(s1, "" );
while (clst != NULL){
if(strcmp(s1, clst->net->ref) == 0)
printf("%4s %3s %s\n", clst->net->ref, clst->net->pin, clst->net->nnam);
else
printf("\n%4s %3s %s\n", clst->net->ref, clst->net->pin, clst->net->nnam);
strcpy(s1, clst->net->ref);
clst = clst->nxt;
}
// dump by netnames
while (nets != NULL){
printf("\n%s", nets->nnam);
cptr = nets->nlst;
while( cptr != NULL ){
printf(" %s.%s", cptr->ref, cptr->pin);
cptr = cptr->nxt;
}
nets = nets->nxt;
}
#endif
// output kicad netlist
printf("( { netlist created 13/9/2007-18:11:44 }\n");
// by component
strcpy(s1, "" );
while (clst != NULL){
if(strcmp(s1, clst->net->ref) != 0) {
if(!first) printf(" )\n");
printf(" ( 84DFBB8F SM0805 %s CAP {Lib=C}\n", clst->net->ref);
first=0;
}
printf(" (%5s %s )\n",clst->net->pin, clst->net->nnam);
strcpy(s1, clst->net->ref);
clst = clst->nxt;
}
printf(" )\n)\n");
#ifdef NOTNEEDED
// by net
printf("{ Pin List by Nets\n");
for( i=2 ; nets != NULL ; i++, nets = nets->nxt ){
printf("Net %d \"%s\"\n", i, nets->nnam);
for( cptr = nets->nlst; cptr != NULL ; cptr = cptr->nxt)
printf(" %s %s\n", cptr->ref, cptr->pin);
}
printf("}\n#End");
#endif
}
void yyerror (char *s) {
extern lineno;
extern char * yytext;
fprintf (stderr, "line %d %s\n'%s'\n", lineno, s, yytext);
}
Netlist for design: test
Time: 13:29
Date: 8/25/07 Sat
Processing time:1.0
Number of signals found=83
VLEDN----j1-1,r11-2,r12-1,q1-1
VLED+----j1-2,d3-2,d4-2
+3v3----j1-4,j7-33,j7-35,u1-4,c7-1,u1-6,c6-1,r2-1,r1-1,c8-1,l1-2,j5-1,&
j5-33,j5-35,j6-1,j6-33,j6-35,u4-16,r18-1,r14-2,r15-2,r16-2,r17-2
R0----j1-5,j7-1
R1----j1-6,j7-2
R2----j1-7,j7-3
R3----j1-8,j7-4
R4----j1-9,j7-5
R5----j1-10,j7-6
R6----j1-11,j7-7
R7----j1-12,j7-8
G0----j1-13,j7-9
G1----j1-14,j7-10
G2----j1-15,j7-11
G3----j1-16,j7-12
G4----j1-17,j7-13
G5----j1-18,j7-14
G6----j1-19,j7-15
G7----j1-20,j7-16
B0----j1-21,j7-17
B1----j1-22,j7-18
B2----j1-23,j7-19
B3----j1-24,j7-20
B4----j1-25,j7-21
B5----j1-26,j7-22
B6----j1-27,j7-23
B7----j1-28,j7-24
PCLK----j1-30,j7-28
MODE----j1-31,j7-26
HSYNC----j1-32,j7-27
VSYNC----j1-33,j7-29
DVAL----j1-34,j7-25
+5V----j1-35,r7-1,l2-2,c11-1,u3-5,l4-1,c19-1,r13-1,t4-1,r19-2
X1----j1-37,u1-23,c5-1
Y1----j1-38,u1-22,c4-1
X2----j1-39,u1-21,c3-1
Y2----j1-40,u1-20,c2-1
SC0_TD----u1-1,j5-17
SC0_TK----u1-3,r3-1,j5-15
GCLK0----u1-7,r3-2,j5-22
SPI0_SCK----u1-8,j5-5,u4-1
SPI0_MISO----u1-9,j5-3,u4-2
SPI0_MOSI----u1-10,j5-4,u4-14
SPI0_CS2----u1-11,j5-8,t3-1
T_INT----u1-12,j6-25
def0----u1-16,r19-1
def1----u1-17,r20-1
def2----u1-18,c1-1
AVDD----u1-24,u1-28,l1-1
HPL----u1-25,x1-a4
VGND----u1-27,x1-b1
HPR----u1-29,x1-2
RESETN----u1-30,r1-2
SC0_TF----u1-31,j5-16
def3----u1-32,r2-2
SPI0_CS0----j5-6,t1-1
SPI0_CS1----j5-7,t2-1,u4-15
PWM0----j5-20,u3-4,r13-2,q1-2
PB_INT----j6-26,r18-2,d5-1,d6-1,d7-1,d8-1
FB1----u2-4,r6-1,r7-2
def4----u2-5,r8-2
def5----u2-6,c15-2
def6----u2-7,r9-2
FB2----u2-8,r4-1,r5-2
SW2----u2-13,c10-1,l3-1,d1-2
Vin----u2-14,u2-15,u2-23,j16-1
def7----u2-16,c10-2
def8----u2-18,c18-2
def9----u2-19,r10-2
def10----u2-20,c13-2
def11----u2-22,c9-2
SW1----u2-24,c9-1,l2-1,d2-2
+1v8----r5-1,l3-2,c12-1,t7-1,r20-2
def12----r8-1,c14-2
def13----r9-1,c16-2
def14----u3-1,d3-1,l4-2
def15----u3-3,d4-1,r11-1
P0----u4-3,r14-1,d5-2
P1----u4-4,r15-1,d6-2
P2----u4-5,r16-1,d7-2
P3----u4-6,r17-1,d8-2
def16----j99-42,j99-41
GROUND----h1-1,h2-1,h3-1,j1-3,j1-29,j1-36,j7-34,j7-36,u1-5,u1-19,u1-26,&
c1-2,c2-2,c3-2,c4-2,c5-2,c6-2,c7-2,c8-2,j5-2,j5-34,j5-36,j6-2,&
j6-34,j6-4,j6-36,u2-1,u2-12,u2-2,u2-3,u2-9,u2-10,u2-11,r4-2,r6-2,&
r10-1,c13-1,d1-1,d2-1,c11-2,c12-2,c14-1,c15-1,c16-1,c18-1,j16-2,&
u3-2,c19-2,r12-2,u4-8,q1-3,t5-1,t6-1,j99-2,j99-40,j99-19,j99-22,&
j99-24,j99-26,j99-30,j99-43
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment