![]() |
![]() |
Functions | |
void | ParseArguments (int argc, const char **argv) |
void | shell_assert (const char *filename, int linenumber) |
void | shell_xfree (void *p, int s) |
void * | shell_xmalloc (int s) |
void | PrintUsage (void) |
const char * | VrqVersionString () |
Plugins should not be using these. | |
void | GetPluginPaths (list< string > &paths) |
void | GetPlusArgs (const char *prefix, list< string > &args) |
char * | GetPlusArg (const char *prefix) |
Get plusarg from command line that matches prefix. | |
void | AddPlusArg (const char *s) |
int | PlusArgMatch (const char *s1, const char *s2) |
void | ValidatePlusArgs () |
void | DumpWarningList () |
void | ParseWarningSwitch (const char *s) |
void | ReadArgumentFile (const char *filename) |
CNode * | Load (const char *filename, int direct, int included) |
static CNode * | _Resolve (CModule *module, int reportError) |
static CNode * | ResolveModuleList (CBackend *tool, CNode *n, int reportError) |
static int | ModulesResolved (CBackend *tool, CNode *n) |
void | LoadTools () |
static void | DumpCode (FILE *f, CNode *n) |
int | main (int argc, char **argv) |
Variables | |
map< string, CBackend * > | tools |
CObstack | thePermStack ("permStack") |
CObstack * | permStack = &thePermStack |
CObstack | theUnitStack ("unitStack") |
CObstack * | unitStack = &theUnitStack |
CObstack | thePluginStack ("pluginStack") |
CObstack * | pluginStack = &thePluginStack |
CObstack | theTokenStack ("tokenStack") |
CObstack * | tokenStack = &theTokenStack |
FILE * | logfile = stdout |
CSymtab< CMacro > | macroSymtab |
CSymtab< CModule > | defSymtab |
CSymtab< CDecl > | moduleSymtab |
list< CBackend * > | enabledTools |
list< string > | pragmas |
set< string > | pragmaTickDefines |
list< string > | pluginPaths |
int | totalMem = 0 |
const CSymbol ** | fileList = NULL |
const CSymbol ** | libSearchList = NULL |
const CSymbol ** | libFileSearchList = NULL |
const CSymbol ** | incSearchList = NULL |
const CSymbol ** | libExtList = NULL |
static char | whiteSpace [] = " \t\f\n\r" |
INT32 | argNestLevel |
vector< const CSymbol * > | aFileList |
vector< const CSymbol * > | aLibSearchList |
vector< const CSymbol * > | aLibFileSearchList |
vector< const CSymbol * > | aIncSearchList |
vector< const CSymbol * > | aLibExtList |
CNode * | codeList = NULL |
CSymtab< CDecl > | portSymtab |
CSymtab< CDecl > | frefSymtab |
int | errorCount = 0 |
int | warningCount = 0 |
int | dumpFlag = FALSE |
int | debugFlag = FALSE |
int | quietFlag = FALSE |
int | inferVectors = FALSE |
int | macrocheck = FALSE |
DelayMode_t | delayMode = eTYP_DELAY |
const char * | outputPath = NULL |
const char * | outputDirectory = NULL |
vector< char * > | plusArgs |
int | modulesDirectlyDefined |
int | modulesIncluded |
int | ignoreVrqComments = 0 |
int | verboseFlag = FALSE |
int | svEnable = FALSE |
int | keepMacros |
int | keepMacroDefinitions |
static Message * | mILLPA |
static Message * | mILLWS |
static Message * | mILLSW |
static Message * | mINAST |
CDumpVerilog * | dumpVerilog |
CSim * | sim |
char | copyright [] |
static const char * | vrqVersion = VERSION |
set< string > | loadedFiles |
static set< lt_dlhandle > | toolHandles |
void AddPlusArg | ( | const char * | s | ) |
static void DumpCode | ( | FILE * | f, | |
CNode * | n | |||
) | [static] |
void DumpWarningList | ( | ) |
void GetPluginPaths | ( | list< string > & | paths | ) |
void GetPlusArgs | ( | const char * | prefix, | |
list< string > & | args | |||
) |
CNode* Load | ( | const char * | filename, | |
int | direct, | |||
int | included | |||
) |
void LoadTools | ( | ) |
int main | ( | int | argc, | |
char ** | argv | |||
) |
void ParseArguments | ( | int | argc, | |
const char ** | argv | |||
) |
void ParseWarningSwitch | ( | const char * | s | ) |
int PlusArgMatch | ( | const char * | s1, | |
const char * | s2 | |||
) |
void PrintUsage | ( | void | ) |
void ReadArgumentFile | ( | const char * | filename | ) |
void shell_assert | ( | const char * | filename, | |
int | linenumber | |||
) |
void shell_xfree | ( | void * | p, | |
int | s | |||
) |
void* shell_xmalloc | ( | int | s | ) |
void ValidatePlusArgs | ( | ) |
vector<const CSymbol*> aIncSearchList |
vector<const CSymbol*> aLibExtList |
vector<const CSymbol*> aLibFileSearchList |
vector<const CSymbol*> aLibSearchList |
char copyright[] |
"Copyright (C) 1997-2009 Mark Hummel\n\n" "Vrq comes with ABSOLUTELY NO WARRANTY; This is free\n" "software, and you are welcome to redistribute it under the\n" "terms of the GNU General Public License as published by\n" "the Free Software Foundation; either version 2 of the License,\n" "or (at your option) any later version. " "\n\n"
int debugFlag = FALSE |
DelayMode_t delayMode = eTYP_DELAY |
int dumpFlag = FALSE |
CDumpVerilog* dumpVerilog |
list<CBackend*> enabledTools |
int errorCount = 0 |
int ignoreVrqComments = 0 |
const CSymbol** incSearchList = NULL |
int inferVectors = FALSE |
int keepMacros |
const CSymbol** libExtList = NULL |
const CSymbol** libFileSearchList = NULL |
const CSymbol** libSearchList = NULL |
set<string> loadedFiles |
FILE* logfile = stdout |
int macrocheck = FALSE |
Message::RegisterWarning( NULL, Message::eERROR, "ILLPA", "%s is an illegal command line plusarg", "<plusarg>", 0 )
Message::RegisterWarning( NULL, Message::eERROR, "ILLSW", "%s is an illegal command line switch", "<switch>", 0 )
Message::RegisterWarning( NULL, Message::eERROR, "ILLWS", "%s is an illegal warning specification", "<warning switch>", 0 )
Message::RegisterWarning( NULL, Message::eERROR, "INAST", "%s is not a supported tool", "<tool>", 0 )
int modulesIncluded |
const char* outputDirectory = NULL |
const char* outputPath = NULL |
list<string> pluginPaths |
vector<char*> plusArgs |
list<string> pragmas |
set<string> pragmaTickDefines |
int quietFlag = FALSE |
CSim* sim |
int svEnable = FALSE |
CObstack thePermStack("permStack") |
CObstack thePluginStack("pluginStack") |
CObstack theTokenStack("tokenStack") |
CObstack theUnitStack("unitStack") |
set<lt_dlhandle> toolHandles [static] |
int totalMem = 0 |
int verboseFlag = FALSE |
const char* vrqVersion = VERSION [static] |
int warningCount = 0 |
char whiteSpace[] = " \t\f\n\r" [static] |