Skip to content

Simulator

Simulator

Simulator(ctx)

Simulates the circuit in the context by using the input values provided in the trace. If a value is not present at a time step, the default value for the type is taken

add_watch

add_watch(net)

Tells the simulator about a net whose value will be reported in the simulated trace

simulate

simulate(trace, depth)

Executes a simulation using the values in trace, up to the specified depth