EvilHoverCache Module
Functions and values
| Function or value | Description |
|
|
Full Usage:
changeToolTip tipName tipText xPos yPos ttXMaxEdge isVisible
Parameters:
string
tipText : string
-
Text to display in the tooltip.
xPos : float
-
X-coordinate of the tooltip.
yPos : float
-
Y-coordinate of the tooltip.
ttXMaxEdge : float
-
Maximum X-coordinate of the tooltip right edge.
isVisible : bool
-
True if the tooltip is visible, false if it is hidden.
|
|
|
|
Full Usage:
evilSvgToolTip tipName ws tipText textProps
Parameters:
string
ws : WaveSimModel
tipText : string
textProps : IProp list
Returns: ReactElement
|
|
|
|
Full Usage:
getRomCommentAtStep fs step wave
Parameters:
FastSimulation
step : int
wave : Wave
Returns: string
|
The comment written in a .ram file against the location a ROM is reading at a given simulation step, if the ROM has any comments and this wave is its data output. The location read is the address input one step earlier for a synchronous ROM and at the same step for an asynchronous one, which is the distinction WaveSimRams.addReadWrite also makes.
|
Full Usage:
getWaveToolTip cycle wave ws
Parameters:
int
wave : Wave
ws : WaveSimModel
Returns: string
|
Text for the tooltip shown when hovering a waveform at a given cycle, or "" for no tooltip. A value is given when the wave is too narrow there to have its number printed on it - the cached "gap" data says when that is - and a ROM's data output also gives the comment written against the location being read, so that both appear when the number is hidden as well. The wave is passed in rather than counted off SelectedWaves by row number. The rows drawn are the selected waves that AllWaves still HOLDS - see WaveSimStyle.selectedWaves, which the three columns are all built from - so counting rows off SelectedWaves itself answered for a different row wherever the two differ, and indexed AllWaves with a key it might not have.
|
|