WaveSimWaveforms Module
showWaveforms and subfunctions to display in DOM the waveforms Waveform SVGs themselves are generated from simulation in WaveSimWaves module
Functions and values
Function or value | Description |
|
|
Full Usage:
highlightCircuit fs comps wave dispatch
Parameters:
FastSimulation
comps : ComponentId list
wave : Wave
dispatch : Msg -> Unit
Returns: Unit
|
|
Full Usage:
nameRows model wsModel dispatch
Parameters:
Model
wsModel : WaveSimModel
dispatch : Msg -> Unit
Returns: ReactElement list
|
Create label of waveform name for each selected wave. Note that this is generated after calling selectedWaves. Any changes to this function must also be made to valueRows and waveRows, as the order of the waves matters here. This is because the wave viewer is comprised of three columns of many rows, rather than many rows of three columns.
|
Full Usage:
namesColumn model wsModel dispatch
Parameters:
Model
wsModel : WaveSimModel
dispatch : Msg -> Unit
Returns: ReactElement
|
|
Full Usage:
radixButtons wsModel dispatch
Parameters:
WaveSimModel
dispatch : Msg -> unit
Returns: ReactElement
|
|
Full Usage:
showWaveforms model wsModel dispatch
Parameters:
Model
wsModel : WaveSimModel
dispatch : Msg -> unit
Returns: ReactElement
|
|
|
Create label of waveform value for each selected wave at a given clk cycle. Note that this is generated after calling selectedWaves. Any changes to this function must also be made to nameRows and waveRows, as the order of the waves matters here. This is because the wave viewer is comprised of three columns of many rows, rather than many rows of three columns. Return required width of values column in pixels, and list of cloumn react elements.
|
Full Usage:
waveformColumn wsModel dispatch
Parameters:
WaveSimModel
dispatch : Msg -> unit
Returns: ReactElement
|