#ifndef _SUBCKT_H #define _SUBCKT_H #ifdef USER_SUBCKT #ifndef _LOCTYPES_H #include "loctypes.h" #endif #ifndef LOW #define LOW 0 /* low low */ #define X 1 /* unknown, intermediate, ... value */ #define X_X 2 #define HIGH 3 /* logic high */ #define N_POTS 4 /* number of potentials [LOW-HIGH] */ extern Ulong cur_delta; #endif typedef struct { char *name; /* name of this sub-circuit */ ufun model; /* function that models sub-circuit */ ufun init; /* Function to call to init */ } userSubCircuit; extern char pot2char[] ; #endif #ifndef _UNITS_H #include "units.h" #endif #endif