view ueda/sverp-bind/struct.h @ 13:1f3283f8e482

unet-bind: instance hash implemented
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 02 Aug 2015 00:00:15 +0000
parents 640ba9db0e9d
children 65a515c20db8
line wrap: on
line source

/*
 * Data structures for the MCL binding step
 */

struct instance {
	char	*name;
	struct	instance *nextinhash;
	struct	outcomp *outcomp;
	char	*slot;
	int	claimed;
};

struct outcomp {
	char	*name;
	char	*altname;
	struct	component *mclcomp;
	int	npins;
	struct	grid_pkg_desc *grid_pkg;
	struct	pinconn **conn_array;
};

struct starpoint {
	struct	outcomp outcomp;
	struct	instance instance;
	struct	starpoint *next;
};

struct pinconn {
	struct	net *net;
	char	*nc_comment;
	int	input_lineno;
};