view ueda/uschem-netlist/netlist.h @ 141:fddb020e9b68

netdiff/Makefile added
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 07 Sep 2020 05:13: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;
};