issie


Simulator

Namespace: global

Functions and values

Function or valueDescription
extractSimulationIOs
Signature: SimulationIO list -> SimulationGraph -> (SimulationIO * WireData) list

Expose the extractSimulationIOs function from SimulationRunner.

extractStatefulComponents(graph)
Signature: graph:SimulationGraph -> SimulationComponent list

Get some info and the state of all stateful components in a graph.

feedClockTick
Signature: SimulationGraph -> SimulationGraph

Expose the feedClockTick function from SimulationRunner.

feedSimulationInput
Signature: SimulationGraph -> ComponentId -> WireData -> SimulationGraph

Expose the feedSimulationInput function from SimulationRunner.

prepareSimulation(...)
Signature: diagramName:string -> (Component list * Connection list) -> loadedDependencies:LoadedComponent list -> Result<SimulationData,SimulationError>

Builds the graph and simulates it with all inputs zeroed.