view ueda/uschem-netlist/netlist.h @ 20:dda8e455c863

unet-bind works to the point of reporting unbound instances
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 02 Aug 2015 03:23:44 +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;
};