cbadc.simulator.simulator.SpectreSimulator
- class cbadc.simulator.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:
NGSpiceSimulatorMethods
__init__(testbench, stop, strobefreq, ...[, ...])cleanup()Cleanup the simulation files
Get the input signals from the simulation
get_sampled_state_trajectories()Get the state trajectories from the simulation
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
stopstrobefreqstrobedelayskipdccmin- get_input_signals()
Get the input signals from the simulation
- get_state_trajectories()
Get the state trajectories from the simulation
- save_control_vector(filename)
Save the control vector to a numpy file