view ueda/libunet/unetrd.h @ 80:df98a82b807e

ueda-mkbom refdes list output: refdes range detection implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 23 Feb 2017 18:54:47 +0000
parents 33e4c4cdf493
children
line wrap: on
line source

/*
 * Data structures for the unet reader
 */

struct unetrd_state {
	char	*filename;
	FILE	*stream;
	int	lineno;
};

struct unetrd_out {
	int	typecode;
	char	*keyword;
	char	*objname;
	char	*connect_to_net;
	char	*nc_comment;
	char	*attr_value;
};

#define	UNETOBJ_CLOSINGBRACE	0
#define	UNETOBJ_NET		1
#define	UNETOBJ_COMPONENT	2
#define	UNETOBJ_STARPOINT	3
#define	UNETOBJ_PRIMITIVE	4
#define	UNETOBJ_ALTNAME		5
#define	UNETOBJ_PIN		6
#define	UNETOBJ_PINMAP		7
#define	UNETOBJ_ATTR		8