Header menu logo issie

Constants Module

Functions and values

Function or value Description

borderProperties

Full Usage: borderProperties

Returns: string

Border between columns and headers of waveform viewer.

Returns: string

clkCycleNarrowThreshold

Full Usage: clkCycleNarrowThreshold

Returns: int

If the width of a non-binary waveform is less than this value, display a cross-hatch to indicate a non-binary wave is rapidly changing value.

Returns: int

clkLineWidth

Full Usage: clkLineWidth

Returns: float

Width of line that separates each clock cycle.

Returns: float

columnFontFamily

Full Usage: columnFontFamily

Returns: string
Returns: string

columnFontSize

Full Usage: columnFontSize

Returns: string
Returns: string

cursorColumnColor

Full Usage: cursorColumnColor

Returns: string
Returns: string

cursorColumnOpacity

Full Usage: cursorColumnOpacity

Returns: float
Returns: float

deleteSymbolWidth

Full Usage: deleteSymbolWidth

Returns: int
Returns: int

extraSimulatedSteps

Full Usage: extraSimulatedSteps

Returns: int

number of extra steps simulated beyond that used in simulation. Is this needed?

Returns: int

infoSignUnicode

Full Usage: infoSignUnicode

Returns: string
Returns: string

initSimulationTime

Full Usage: initSimulationTime

Returns: float

initial time running simulation without spinner to check speed (in ms)

Returns: float

initWaveformTime

Full Usage: initWaveformTime

Returns: float

initial time making waveforms without spinner to check speed (in ms)

Returns: float

labelPadding

Full Usage: labelPadding

Returns: int

Padding between name label/value label and waveform column.

Returns: int

leftMargin

Full Usage: leftMargin

Returns: int

Width of left margin of waveform simulator. What was once a 30px margin is now the view-symbol strip inside the names column (see viewSymbolWidth), which the controls and the scrollbar are indented past. All that is left to do here is keep the view buttons off the divider bar.

Returns: int

lineThickness

Full Usage: lineThickness

Returns: float

Width of each waveform line.

Returns: float

maxRamLocsWithSparseDisplay

Full Usage: maxRamLocsWithSparseDisplay

Returns: int
Returns: int

maxRamRowsDisplayed

Full Usage: maxRamRowsDisplayed

Returns: int
Returns: int

maxSimulationTimeWithoutSpinner

Full Usage: maxSimulationTimeWithoutSpinner

Returns: float

max estimated time to run simulation and not need a spinner (in ms)

Returns: float

maxWaveCreationTimeWithoutSpinner

Full Usage: maxWaveCreationTimeWithoutSpinner

Returns: float

max estimated time to generate new waveforms and not need a spinner (in ms)

Returns: float

minCycleWidth

Full Usage: minCycleWidth

Returns: int

Minimum number of visible clock cycles.

Returns: int

minVisibleCycles

Full Usage: minVisibleCycles

Returns: int

minium number of cycles on screen when zooming in

Returns: int

namesValuesColumnColor

Full Usage: namesValuesColumnColor

Returns: string

Color for cursor and values column

Returns: string

nonBinaryTransLen

Full Usage: nonBinaryTransLen

Returns: float

The horizontal length of a transition cross-hatch for non-binary waveforms

Returns: float

rightMargin

Full Usage: rightMargin

Returns: int

Width of right margin of waveform simulator

Returns: int

rowBandColor

Full Usage: rowBandColor

Returns: string

Fill of every other waveform row, so a trace can be followed across the column to its name and value. Lavender - namesValuesColumnColor, rgb(230,230,250) - at an opacity low enough that a blue trace and the purple cursor column both stay clearly on top of it.

Returns: string

rowHeight

Full Usage: rowHeight

Returns: int

Height of each row in name and value columns. Same as SVG ViewBox Height.

Returns: int

scrollBarWidth

Full Usage: scrollBarWidth

Returns: int
Returns: int

scrollbarThumbMinWidth

Full Usage: scrollbarThumbMinWidth

Returns: float

Minimum width of the scrollbar thumb, in pixels.

Returns: float

sheetLoadPollMs

Full Usage: sheetLoadPollMs

Returns: int

How often, and for how many tries, to look for the sheet that a jump to a waveform's component has asked for. Opening a sheet is asynchronous: its load messages are delivered in one batch 300ms later by SimulationView.doBatchOfMsgsAsynch, and that batch ends with the Ctrl-W which fits the sheet to the window - so a jump has to wait for the component to appear rather than act on the next render, which would be both too early and then undone.

Returns: int

sheetLoadPollTries

Full Usage: sheetLoadPollTries

Returns: int
Returns: int

softScrollBarWidth

Full Usage: softScrollBarWidth

Returns: float
Height of scrollbar, in pixels. Affects only the SVG and not the buttons.
 Currently set to same height as buttons.
Returns: float

spacing

Full Usage: spacing

Returns: float

Vertical padding between top and bottom of each wave and the row it is in.

Returns: float

tooltipBackgroundColor

Full Usage: tooltipBackgroundColor

Returns: string
Returns: string

tooltipShadowOpacity

Full Usage: tooltipShadowOpacity

Returns: float
Returns: float

tooltipTextColour

Full Usage: tooltipTextColour

Returns: string
Returns: string

topHalfHeight

Full Usage: topHalfHeight

Returns: float

height of the top half of the wave sim window (including tabs) when waveforms are displayed

Returns: float

topRowButtonMargin

Full Usage: topRowButtonMargin

Returns: int

Margin carried by each button on the two control rows above the waveform table.

Returns: int

valueColumnFontFamily

Full Usage: valueColumnFontFamily

Returns: string
Returns: string

valueColumnFontSize

Full Usage: valueColumnFontSize

Returns: string
Returns: string

valueColumnMaxChars

Full Usage: valueColumnMaxChars

Returns: int
Returns: int

valueOnWaveEdgePadding

Full Usage: valueOnWaveEdgePadding

Returns: float

Whitespace padding between non-binary wave values and the edge of transition.

Returns: float

valueOnWavePadding

Full Usage: valueOnWavePadding

Returns: float

Whitespace padding between repeated values displayed on non-binary waves.

Returns: float

valuesColWidth

Full Usage: valuesColWidth

Returns: int

Width of values column

Returns: int

viewBoxHeight

Full Usage: viewBoxHeight

Returns: float

The height of the viewbox used for a wave's SVG. This is the same as the height of a label in the name and value columns. TODO: Combine this with WaveSimStyle.Constants.rowHeight?

Returns: float

viewSymbolWidth

Full Usage: viewSymbolWidth

Returns: int

Width of the slot at the left of each wave name holding the button which shows that wave's component on the schematic. Taken out of leftMargin rather than added to the names column, so that the waveforms are no narrower for it: updateViewerWidthInWaveSim subtracts both from the same total.

Returns: int

waveHeight

Full Usage: waveHeight

Returns: float

Height of a waveform

Returns: float

waveLegendMaxChars

Full Usage: waveLegendMaxChars

Returns: int
Returns: int

waveTableRightGap

Full Usage: waveTableRightGap

Returns: int

The waveform table stops this far short of the right-hand edge of the viewer: room for the scroll bar down the wave column, plus the couple of pixels of padding that updateViewerWidthInWaveSim has always allowed for. The controls above the table are indented to match, so that both end on the same line.

Returns: int

yBot

Full Usage: yBot

Returns: float

y-coordiante of the bottom of a waveform

Returns: float

yTop

Full Usage: yTop

Returns: float

y-coordinate of the top of a waveform

Returns: float

zoomChangeFactor

Full Usage: zoomChangeFactor

Returns: float
Returns: float

Type something to start searching.