cbadc.circuit.simulator.SpectreSimulator

class cbadc.circuit.simulator.SpectreSimulator(testbench: TestBench, stop: float, strobefreq: float, strobedelay: float, skipdc: bool = False, cmin: float = 0.0, netlist_filename: str = 'spectre_sim.cir', raw_output_filename: str = 'spectre_sim.raw')[source]

Bases: NGSpiceSimulator

Methods

__init__(testbench, stop, strobefreq, ...[, ...])

cleanup()

Cleanup the simulation files

get_input_signals()

Get the input signals from the simulation

get_state_trajectories()

Get the state trajectories from the simulation

make_netlist()

Make the netlist for the simulation

parse()

Parse the simulation results

run()

Run the simulation

save_control_vector(filename)

Save the control vector to a numpy file

Attributes

stop

strobefreq

strobedelay

skipdc

cmin

cleanup()[source]

Cleanup the simulation files

get_input_signals()

Get the input signals from the simulation

get_state_trajectories()

Get the state trajectories from the simulation

make_netlist()[source]

Make the netlist for the simulation

parse()[source]

Parse the simulation results

run()[source]

Run the simulation

save_control_vector(filename)

Save the control vector to a numpy file