blob: bac1064c53dfc8ab8679adbd459c1dd9cce1f65e [file] [log] [blame]
import os
import SpiceInterface
# read the generated netlist.
netlist_path = os.environ.get('HOME') + '/.xschem/simulations/bandgap_core_test_mc.spice'
# create the object
spice_interface_obj = SpiceInterface.SpiceInterface(netlist_path=netlist_path)
# run the monte-carlo simulation
spice_interface_obj.monte_carlo(32, 'dc_sweep', ['i(viout)'])