view ueda/uschem-netlist/netlist.h @ 152:d41cdd682db5

m4-fp: support for CUI DS04-254-SMT DIP switch series
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 24 Jun 2021 05:13:16 +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;
};