TestParser Module
Types
| Type | Description |
Functions and values
| Function or value | Description |
|
|
Full Usage:
errorCheck ast linesIndex src dst
Parameters:
VerilogInput
linesIndex : int list
src : string
dst : string
Returns: int
|
|
|
|
|
Compile or run a verilog file with Icarus, writing stdout to dst. This used to spawn the program here. That single call was the last thing dragging node's child process module into the renderer bundle - and it is exactly the shape a bridge must not offer, since "run this command with these arguments" is the whole capability back again. (Spelled without the module name on purpose: grepping the built bundle for a stray require is how this class of problem gets found, and a comment that matches the search is a false lead.) Main runs it instead, from a closed pair of programs; see Bridge.runDevTool. Fire and forget, as this always was: every caller ignored the result. |
Full Usage:
formatSimulationError error
Parameters:
exn
Returns: string
|
|
|
|
Full Usage:
genDriverFiles ()
Parameters:
unit
|
|
Full Usage:
getSemanticErrors ast linesIndex
Parameters:
VerilogInput
linesIndex : int list
Returns: ErrorInfo list
|
|
Full Usage:
getSemanticErrorsWithLoadedComponents loadedComps ast linesIndex
Parameters:
LoadedComponent list
ast : VerilogInput
linesIndex : int list
Returns: ErrorInfo list
|
|
Full Usage:
heapLimitSize
Returns: float
|
|
Full Usage:
heapUsage
Returns: float
|
|
Full Usage:
icarusCompile src dst driver
Parameters:
string
dst : string
driver : string
|
|
Full Usage:
icarusCompileTestCases ()
Parameters:
unit
|
|
Full Usage:
icarusRun src dst
Parameters:
string
dst : string
|
|
Full Usage:
icarusRunTestCases ()
Parameters:
unit
|
|
Full Usage:
mbHeap ()
Parameters:
unit
Returns: float
|
|
Full Usage:
measureMem action
Parameters:
unit -> unit
Returns: float * float
|
|
Full Usage:
parseFile src dst
Parameters:
string
dst : string
Returns: VerilogInput * int list
|
|
|
|
|
|
|
|
Full Usage:
runCodeGenTests arg1
Parameters:
'a
Returns: int
|
|
Full Usage:
runCompilerTests arg1
Parameters:
'a
|
|
Full Usage:
runMemoryTests ()
Parameters:
unit
|
|
Full Usage:
runPerformanceTests ()
Parameters:
unit
|
|
Full Usage:
semanticErrorTests arg1
Parameters:
'a
Returns: int * int
|
|
Full Usage:
simulateAST ast src dst loadedComps
Parameters:
VerilogInput
src : string
dst : string
loadedComps : LoadedComponent list
Returns: int
|
|
Full Usage:
standardDev list
Parameters:
float list
Returns: float
|
|
Full Usage:
stringAppend str1 str2
Parameters:
string
str2 : string
Returns: string
|
|
|
|
|
|
Full Usage:
unzip4 xs
Parameters:
('a * 'b * 'c * 'd) list
Returns: 'a list * 'b list * 'c list * 'd list
|
|
Full Usage:
unzip5 lst
Parameters:
('a * 'b * 'c * 'd * 'e) list
Returns: 'a list * 'b list * 'c list * 'd list * 'e list
|
|
Full Usage:
unzip6 xs
Parameters:
('a * 'b * 'c * 'd * 'e * 'f) list
Returns: 'a list * 'b list * 'c list * 'd list * 'e list * 'f list
|
|
Full Usage:
usedHeapSize
Returns: float
|
|