Verilog Module
Types
Type | Description |
Functions and values
Function or value | Description |
|
|
Full Usage:
extractRamDefinitions fs
Parameters:
FastSimulation
Returns: (string * ComponentType)[]
|
get the module definitions (one per RAM instance) that define RAMs used TODO: make output more compact by using multiple instances of one module where possible. NB. Initial statement is used to initialise RAM as per simulation: should work with Quartus. NB - there is some inconsistency between this definition and current simulation, which will output ram[0] contents in clock 0 on q. the simulation is incompatible with FPGA tools and should change so that initial ram output is always 0.
|
Full Usage:
fastOutputDefinition vType fc opn
Parameters:
VMode
fc : FastComponent
opn : OutputPortNumber
Returns: string
|
|
Full Usage:
getDebugController profile fs
Parameters:
CompilationProfile
fs : FastSimulation
Returns: string[]
|
|
Full Usage:
getInitialSimulationBlock vType fs
Parameters:
VMode
fs : FastSimulation
Returns: string[]
|
|
Full Usage:
getInstanceOf block instanceName ports
Parameters:
string
instanceName : string
ports : string array
Returns: string
|
|
|
|
|
|
Full Usage:
getMainHeader vType profile fs
Parameters:
VMode
profile : CompilationProfile
fs : FastSimulation
Returns: string[]
|
|
Full Usage:
getMainSignalDefinitions vType profile fs
Parameters:
VMode
profile : CompilationProfile
fs : FastSimulation
Returns: string[]
|
|
Full Usage:
getVPortInput fs fc arg3
Parameters:
FastSimulation
fc : FastComponent
arg2 : InputPortNumber
Returns: string
|
|
Full Usage:
getVPortOut fc arg2
Parameters:
FastComponent
arg1 : OutputPortNumber
Returns: string
|
|
Full Usage:
getVPortOutWithSlice fc opn
Parameters:
FastComponent
opn : OutputPortNumber
Returns: string
|
|
Full Usage:
getVerilog vType fs profile
Parameters:
VMode
fs : FastSimulation
profile : CompilationProfile
Returns: string
|
Outputs a string which contains a single verilog file with the hardware in verilog form. The top-level simulation moudle is called main - other modules may be included for RAM & ROM this can be called any time after after buildFastSimulation has created the initial FastSimulation data structure. To simulate this you would need to set up clk as a clock input, and provide stimulus for other inputs if there are any.
|
Full Usage:
getVerilogBinaryOp gType op1 op2
Parameters:
GateComponentType
op1 : string
op2 : string
Returns: string
|
|
Full Usage:
getVerilogComponent fs fc
Parameters:
FastSimulation
fc : FastComponent
Returns: string
|
|
Full Usage:
getVerilogNInputBinaryOp cType portConversionFn
Parameters:
ComponentType
portConversionFn : int -> string
Returns: string
|
|
Full Usage:
getZeros width
Parameters:
int
Returns: string
|
|
Full Usage:
makeAccessPathIndex fs
Parameters:
FastSimulation
Returns: Map<ComponentId list, int>
|
|
Full Usage:
makeAsyncRamModule moduleName mem
Parameters:
string
mem : Memory1
Returns: string
|
|
Full Usage:
makeAsyncRomModule moduleName mem
Parameters:
string
mem : Memory1
Returns: string
|
|
Full Usage:
makeBits w c
Parameters:
int32
c : bigint
Returns: string
|
|
Full Usage:
makeRamModule moduleName mem
Parameters:
string
mem : Memory1
Returns: string
|
|
Full Usage:
makeRomModule moduleName mem
Parameters:
string
mem : Memory1
Returns: string
|
|
|
|
Full Usage:
verilogNameConvert maxChars s
Parameters:
int
s : string
Returns: string
|
|
|
|