MemoryEditorView Module
Functions and values
Function or value | Description |
Full Usage:
baseSelector numBase changeBase
Parameters:
NumberBase
changeBase : NumberBase -> unit
Returns: ReactElement
|
|
Full Usage:
changeBase memoryEditorData dispatch numBase
Parameters:
MemoryEditorData
dispatch : Msg -> 'a
numBase : NumberBase
Returns: 'a
|
|
|
|
|
|
Full Usage:
openMemoryEditor memory compId model dispatch
Parameters:
Memory1
compId : ComponentId
model : Model
dispatch : Msg -> unit
|
|
Full Usage:
reactMemoryAddressInputBox numberBase addressWidth setMemoryAddress dispatch
Parameters:
NumberBase
addressWidth : int32
setMemoryAddress : bigint option -> Msg
dispatch : Msg -> unit
Returns: ReactElement
|
Function creating react input box for memory address for use in WaveSim code (could also be used here). setMemoryAddress dispatches a message to set the memory address to that typed in the input box. numberBase, addressWidth configure the view. TODO: make box width variable according to memory width?
|
|
|
|
|
|
|
Full Usage:
viewFilledNum width numBase
Parameters:
int
numBase : NumberBase
Returns: bigint -> string
|
|
|
|