issie


FileMenuView

Namespace: global

Functions and values

Function or valueDescription
addFileToProject model dispatch
Signature: model:Model -> dispatch:(Msg -> unit) -> unit

Create a new file in this project and open it automatically.

bitNums(a, b)
Signature: (a:int * b:int) -> string
clkAdvance(sD)
Signature: sD:SimulationData -> SimulationData
compsConns2portLst(...)
Signature: model:Model -> simData:SimulationData -> diagElLst:DiagEl list -> WaveSimPort []
currWS(model)
Signature: model:Model -> WaveSimModel
driveOut simGraph targetCompId inPortN
Signature: simGraph:Map<'?8513,SimulationComponent> -> targetCompId:ComponentId -> inPortN:InputPortNumber -> ('?8513 * OutputPortNumber) option
Type parameters: '?8513

Returns a tuple option representing the output to which the target input is connected

extractSimData simData nCycles
Signature: simData:SimulationData -> nCycles:uint32 -> SimulationData []
extractSimTime model portFunc simData
Signature: model:'?8528 -> portFunc:('?8528 -> SimulationData -> WaveSimPort []) -> simData:SimulationData -> Sample []
Type parameters: '?8528
extractWaveData(...)
Signature: model:'a -> portFunc:('a -> SimulationData -> WaveSimPort []) -> simDataArr:SimulationData [] -> SimTime []
Type parameters: 'a
extractWaveNames simData model portFunc
Signature: simData:SimulationData -> model:Model -> portFunc:(Model -> SimulationData -> WaveSimPort []) -> string []
findName simGraph arg2
Signature: simGraph:SimulationGraph -> WaveSimPort -> (string * (int * int)) list
getCurrFile(model)
Signature: model:Model -> string
getSelected(model)
Signature: model:Model -> DiagEl list
initFileWS(model)
Signature: model:Model -> Msg
limBits(name)
Signature: name:string -> (int * int) option
makeSimData(model)
Signature: model:Model -> Result<SimulationData,SimulationError> option * Result<(Map<string,WaveSimModel> * SimulationError option),'a> option
Type parameters: 'a
processComp simData cId
Signature: simData:SimulationData -> cId:ComponentId -> WaveSimPort []
procIns simData compId inputs
Signature: simData:SimulationData -> compId:ComponentId -> inputs:InputPortNumber [] -> WaveSimPort []
reloadablePorts model simData
Signature: model:Model -> simData:SimulationData -> WaveSimPort []
remDuplicates(arrWithDup)
Signature: arrWithDup:WaveSimPort [] -> WaveSimPort []
saveOpenFileAction(model)
Signature: model:Model -> unit

Save the file currently open.

selected2portLst model simData
Signature: model:Model -> simData:SimulationData -> WaveSimPort []
simLst model dispatch portsFunc
Signature: model:Model -> dispatch:(Msg -> unit) -> portsFunc:(Model -> SimulationData -> WaveSimPort []) -> Msg
simWireData2Wire(wireData)
Signature: wireData:Bit list -> bigint
viewNoProjectMenu model dispatch
Signature: model:Model -> dispatch:(Msg -> unit) -> (type)

Display the initial Open/Create Project menu at the beginning if no project is open.

viewTopMenu model dispatch
Signature: model:Model -> dispatch:(Msg -> unit) -> (type)

Display top menu.

wSPort2Name simGraph p
Signature: simGraph:SimulationGraph -> p:WaveSimPort -> string