WaveNames Module
The name a waveform is called, worked out from the component and port it is a wave of. Below the UI because both simulators produce it. A name carries the port's BIT WIDTH, and a width is a fact about the elaborated instance rather than about the sheet it instantiates - parameters see to that - so nothing above can work one out from a design. The alternative is the sidecar reimplementing which port of a Mux is called SEL and how an adder's carry in is written, and two answers that agree until they do not. Moved out of `WaveSimHelpers`, which is where it was and which now opens it. What stayed there is everything that needs a WaveSimModel: `makeWave` builds a Wave, and a Wave is a thing the selector holds.
Functions and values
| Function or value | Description |
Full Usage:
bitLimsString (a, b)
Parameters:
int
b : int
Returns: string
|
|
Full Usage:
camelCaseDottedWords text
Parameters:
string
Returns: string
|
|
Full Usage:
cap sheet
Parameters:
string
Returns: string
|
|
Full Usage:
caseCompAndPortName name
Parameters:
string
Returns: string
|
|
Full Usage:
getInputNameW withComp compType label insWidths outsWidths port
Parameters:
bool
compType : ComponentType
label : string
insWidths : int array
outsWidths : int array
port : InputPortNumber
Returns: string
|
|
Full Usage:
getInputPortName compType port
Parameters:
ComponentType
port : InputPortNumber
Returns: string
|
|
|
|
Full Usage:
getOutputNameW withComp compType label insWidths outsWidths port
Parameters:
bool
compType : ComponentType
label : string
insWidths : int array
outsWidths : int array
port : OutputPortNumber
Returns: string
|
The name of one output port, from design facts plus the instance's port widths. The IOLabel case is the one the fc-based version needed a whole simulation for - which member of the group drives the net - and needs nothing here: the slice width of an IOLabel's output IS the elected driver's, because the group shares its array.
|
Full Usage:
getOutputPortName compType port
Parameters:
ComponentType
port : OutputPortNumber
Returns: string
|
|
|