view ueda/uschem-netlist/netlist.h @ 96:82d22cdaa74c

SML-510MW.fp: created based on E-Sample and FCDEV3B versions
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 26 Sep 2019 05:30:41 +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;
};