Module simulate

Source

Modules§

sim_time

Structs§

Sim
The Sim struct is used to communicate with a simulation. Every testbench will be provided with a copy of this struct, and will use it to communicate with the core simulation.
Simulation
This type represents a simulation over a circuit T. To simulate a circuit, you will need to construct one of these structs.

Enums§

SimError
The error type returned by a simulation

Constants§

SIMULATION_TIME_ONE_SECOND

Functions§

simulate
Update changes to a circuit until it stabilizes

Type Aliases§

CustomLogicFn
The CustomLogicFn is a boxed function that can be used to implement things (like tri-state buffers or open collector shared busses) that are otherwise difficult or impossible to model.
Result
Result type used by the simulation routines.