FreeCalypso > hg > ueda-linux
diff ueda/uschem-netlist/netlist.h @ 0:cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 20 Jul 2015 00:24:37 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ueda/uschem-netlist/netlist.h Mon Jul 20 00:24:37 2015 +0000 @@ -0,0 +1,28 @@ +/* + * Netlist data structures + */ + +struct nlcomp { + struct component *mclcomp; + int npins; + struct pinconn **pintab; + struct pinconn *pinchain; + int nconnects; +}; + +struct net { + char *netname; + struct pinconn *pins; + int npoints; + struct net *next; +}; + +struct pinconn { + struct nlcomp *comp; + char *pinnum; + struct net *net; + char *origin_file; + int origin_line; + struct pinconn *next_in_net; + struct pinconn *next_in_comp; +};