/************************************************************************* -------------------------------------------------------------------------- -------------------------------------------------------------------------- -- File Name : defines.h -- File type : A C++ .h file -- Introduction : Defines some constants used by the parser -- Date Created : Jan 15, 1991 -- -- Author : Jayanta Roy -- Affiliation : University of Cincinnati, -- Department of Computer Engg. -- -- This document was created as a part of the project funded by -- the Defense Advanced Research Projects Agency under order no. -- 7056 monitored by the Federal Bureau of Investigation under -- contract no. J-FBI-89-094 and by the University of Cincinnati -- Research Council. -- -- Use of this document is strictly prohibited to those members of -- the community who do not beleive in sharing their efforts with -- others. Duplication and distribution is limited to specific -- request to the author. -- -- Copyright (C) 1990 -- University of Cincinnati, The Ohio Board of Regents -- Jayanta Roy and Ranga Vemuri -- All Rights Reserved -- -------------------------------------------------------------------------- -- Modification History : -------------------------------------------------------------------------- -------------------------------------------------------------------------- *************************************************************************/ /**** Class name ****/ #define CLASS_NAME vhdl_par /**** General Defines ****/ #define UNKNOWN -1 #define UNDEFINED -2 #define FORMAL 11 #define SIMPLE 12 #define CONC_SA 13 #define INT_WIDTH 16 #define NO_OF_FUNC_NAMES 6 #define TRUE -2 #define FALSE -3 #define NORMAL 10 #define WAIT_FOR 11 /**** Special Operator Codes ****/ #define RD 51 #define WR 52 #define ARRRD 53 #define ARRWR 54 #define SELECT 55 #define DIVERGE 56 #define ENTER 57 #define LEAVE 58 #define CALL 59 #define PAD 60 #define NO_OP 61 /**** ES-Kit Specific Defines ****/ #ifndef ESKIT #define VOID_RETURN return #define CHAR_RETURN(y) return y #define INT_RETURN(y) return y #define PTR_RETURN(y) return y #define FLOAT_RETURN(y) return y #define DOUBLE_RETURN(y) return y #define STRING_RETURN(y) return y #define CONS_RETURN return #define Cout cout #else #define exit(x) this->yyterminator() #define cin Cout #endif #define free(x) #define LEX_PRT ECHO