view ueda/uschem-netlist/netlist.h @ 59:aeef205f7580

pads2gpcb: width and height in ElementArc need be radius, not diameter
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 31 Jan 2016 03:26:35 +0000
parents cd92449fdb51
children
line wrap: on
line source

/*
 * 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;
};