예제 #1
0
def test():
    nt = NetlistTest('diodecw8', ea=1e-1, er=1e-3,
                     sim_opts=myoptions())
    nt.setUp()
    nt.test()
    if __name__ != '__main__':
        nt.tearDown()
예제 #2
0
파일: test_t3p.py 프로젝트: yh2424/ahkab
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False


def test():
    nt = NetlistTest('t3p', er=1e-3, ea=1e-5)
    nt.setUp()
    nt.test()
    nt.tearDown()


test.__doc__ = "SL: NMOS (OFF) PMOS (ON) CMOS inverter."

if __name__ == '__main__':
    nt = NetlistTest('t3p')
    nt.setUp()
    nt.test()
예제 #3
0
파일: test_bfpss1.py 프로젝트: yh2424/ahkab
def test():
    nt = NetlistTest('bfpss1', er=1e-3, ea=1e-2)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #4
0
from __future__ import unicode_literals, print_function
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False

def test():
    nt = NetlistTest('tran_gear5', er=1e-2, ea=1e-2)
    nt.setUp()
    nt.test()
    nt.tearDown()

test.__doc__ = "GEAR5 DF TRAN test"

if __name__ == '__main__':
    nt = NetlistTest('tran_gear5', er=1e-2, ea=1e-3)
    nt.setUp()
    nt.test()
예제 #5
0
파일: test_amckt.py 프로젝트: yh2424/ahkab
def test():
    nt = NetlistTest('amckt')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #6
0
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False


def test():
    nt = NetlistTest('series_resonance')
    nt.setUp()
    nt.test()
    nt.tearDown()


test.__doc__ = "AC series resonance test"

if __name__ == '__main__':
    nt = NetlistTest('series_resonance')
    nt.setUp()
    nt.test()
예제 #7
0
def test():
    nt = NetlistTest('colpitts', er=1e-3, ea=5e-4, sim_opts=myoptions())
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #8
0
파일: test_rout.py 프로젝트: B-Rich/ahkab
def test():
    nt = NetlistTest('rout')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #9
0
def test():
    nt = NetlistTest('tran_gear6', er=1e-3, ea=1e-2)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #10
0
def test():
    nt = NetlistTest('diode_op')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #11
0
def test():
    nt = NetlistTest('transformer')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #12
0
def test():
    nt = NetlistTest("tran_gear5", er=1e-2, ea=1e-2)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #13
0
def test():
    nt = NetlistTest('ohms_law')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #14
0
def test():
    nt = NetlistTest('downscaling_cm', ea=1e-6, er=1e-5)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #15
0
def test():
    nt = NetlistTest('colpitts', er=1e-3, ea=5e-4, sim_opts=myoptions())
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #16
0
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False


def test():
    nt = NetlistTest('shooting1', ea=1e-3, er=1e-3)
    nt.setUp()
    nt.test()
    nt.tearDown()


test.__doc__ = "PSS SHOOTING test 1"

if __name__ == '__main__':
    nt = NetlistTest('shooting1', ea=1e-3, er=1e-3)
    nt.setUp()
    nt.test()
예제 #17
0
파일: test_pz1.py 프로젝트: B-Rich/ahkab
def test():
    nt = NetlistTest('pz1', er=1e-4, ea=1e-3)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #18
0
def test():
    nt = NetlistTest("t3np", er=1e-3, ea=1e-5)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #19
0
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False


def test():
    nt = NetlistTest('diode_mult')
    nt.setUp()
    nt.test()
    nt.tearDown()


test.__doc__ = "Diode multiplier test"

if __name__ == '__main__':
    nt = NetlistTest('diode_mult')
    nt.setUp()
    nt.test()
예제 #20
0
def test():
    nt = NetlistTest('tran_trap')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #21
0
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False


def test():
    nt = NetlistTest('rout')
    nt.setUp()
    nt.test()
    nt.tearDown()


test.__doc__ = "Symbolic output resistance of a deg NMOS"

if __name__ == '__main__':
    nt = NetlistTest('rout')
    nt.setUp()
    nt.test()
예제 #22
0
파일: test_ekv1.py 프로젝트: yh2424/ahkab
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False


def test():
    nt = NetlistTest('ekv1')
    nt.setUp()
    nt.test()
    nt.tearDown()


test.__doc__ = "EKV NMOS DC sweep"

if __name__ == '__main__':
    nt = NetlistTest('ekv1')
    nt.setUp()
    nt.test()
예제 #23
0
파일: test_ring3.py 프로젝트: B-Rich/ahkab
def test():
    nt = NetlistTest('ring3', er=1e-1, ea=1e-2)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #24
0
파일: test_ekv1.py 프로젝트: yh2424/ahkab
def test():
    nt = NetlistTest('ekv1')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #25
0
파일: test_bfpss1.py 프로젝트: B-Rich/ahkab
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False

def test():
    nt = NetlistTest('bfpss1', er=1e-3, ea=1e-2)
    nt.setUp()
    nt.test()
    nt.tearDown()

test.__doc__ = "PSS BFPSS test 1"

if __name__ == '__main__':
    nt = NetlistTest('bfpss1')
    nt.setUp()
    nt.test()
예제 #26
0
def test():
    nt = NetlistTest('tran_gear4', er=1e-3, ea=1e-3)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #27
0
def test():
    nt = NetlistTest('switch1', er=1, ea=5e-1)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #28
0
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False

def test():
    nt = NetlistTest('gisource')
    nt.setUp()
    nt.test()
    nt.tearDown()

test.__doc__ = "VCCS test (netlist)"

if __name__ == '__main__':
    nt = NetlistTest('gisource')
    nt.setUp()
    nt.test()
예제 #29
0
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False


def test():
    nt = NetlistTest('fft_ckt')
    nt.setUp()
    nt.test()
    nt.tearDown()


test.__doc__ = ".FFT circuit test"

if __name__ == '__main__':
    nt = NetlistTest('fft_ckt')
    nt.setUp()
    nt.test()
예제 #30
0
def test():
    nt = NetlistTest('gisource')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #31
0
파일: test_t3p.py 프로젝트: yh2424/ahkab
def test():
    nt = NetlistTest('t3p', er=1e-3, ea=1e-5)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #32
0
def test():
    nt = NetlistTest('sffmckt')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #33
0
def test():
    nt = NetlistTest('shooting1', ea=1e-3, er=1e-3)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #34
0
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False


def test():
    nt = NetlistTest('ring3mosq', er=1e-1, ea=1e-2)
    nt.setUp()
    nt.test()
    nt.tearDown()


test.__doc__ = "Transient simulation of a 3-stages ring oscillator (MOSQ)"

if __name__ == '__main__':
    nt = NetlistTest('ring3mosq')
    nt.setUp()
    nt.test()
예제 #35
0
파일: test_symbro.py 프로젝트: B-Rich/ahkab
def test():
    nt = NetlistTest('symbro')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #36
0
def test():
    nt = NetlistTest('ring3mosq', er=1e-1, ea=1e-2)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #37
0
def test():
    nt = NetlistTest('fisource')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #38
0
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False


def test():
    nt = NetlistTest('switch1', er=1, ea=5e-1)
    nt.setUp()
    nt.test()
    nt.tearDown()


test.__doc__ = "Switch test 1"

if __name__ == '__main__':
    nt = NetlistTest('switch1', er=1, ea=5e-1)
    nt.setUp()
    nt.test()
예제 #39
0
def test():
    nt = NetlistTest('diode_mult')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #40
0
def test():
    nt = NetlistTest('switch1', er=1, ea=5e-1)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #41
0
파일: test_symbro.py 프로젝트: yh2424/ahkab
from ahkab.testing import NetlistTest
from ahkab import options


def test():
    nt = NetlistTest('symbro')
    nt.setUp()
    nt.test()
    nt.tearDown()


test.__doc__ = "OP double vsource test"

if __name__ == '__main__':
    nt = NetlistTest('symbro')
    nt.setUp()
    nt.test()
예제 #42
0
파일: test_symbro.py 프로젝트: yh2424/ahkab
def test():
    nt = NetlistTest('symbro')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #43
0
def test():
    nt = NetlistTest('fourier_ckt')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #44
0
파일: test_ekv1.py 프로젝트: B-Rich/ahkab
def test():
    nt = NetlistTest('ekv1')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #45
0
def test():
    nt = NetlistTest('series_resonance')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #46
0
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False


def test():
    nt = NetlistTest('diode_op')
    nt.setUp()
    nt.test()
    nt.tearDown()


test.__doc__ = "Diode OP test"

if __name__ == '__main__':
    nt = NetlistTest('diode_op')
    nt.setUp()
    nt.test()
예제 #47
0
파일: test_amckt.py 프로젝트: yh2424/ahkab
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False


def test():
    nt = NetlistTest('amckt')
    nt.setUp()
    nt.test()
    nt.tearDown()


test.__doc__ = "AM circuit test"

if __name__ == '__main__':
    nt = NetlistTest('amckt')
    nt.setUp()
    nt.test()
예제 #48
0
파일: test_t1.py 프로젝트: B-Rich/ahkab
def test():
    nt = NetlistTest('t1', er=1e-3, ea=1e-5)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #49
0
def test():
    nt = NetlistTest('downscaling_cm')
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #50
0
def test():
    nt = NetlistTest('diodecw8', ea=1e-1, er=1e-3, sim_opts=myoptions())
    nt.setUp()
    nt.test()
    if __name__ != '__main__':
        nt.tearDown()
예제 #51
0
파일: test_bfpss1.py 프로젝트: B-Rich/ahkab
def test():
    nt = NetlistTest('bfpss1', er=1e-3, ea=1e-2)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #52
0
파일: test_bfpss1.py 프로젝트: yh2424/ahkab
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False


def test():
    nt = NetlistTest('bfpss1', er=1e-3, ea=1e-2)
    nt.setUp()
    nt.test()
    nt.tearDown()


test.__doc__ = "PSS BFPSS test 1"

if __name__ == '__main__':
    nt = NetlistTest('bfpss1')
    nt.setUp()
    nt.test()
예제 #53
0
def test():
    nt = NetlistTest('tran_gear5', er=1e-2, ea=1e-2)
    nt.setUp()
    nt.test()
    nt.tearDown()
예제 #54
0
파일: test_miller.py 프로젝트: B-Rich/ahkab
def test():
    nt = NetlistTest('miller')
    nt.setUp()
    nt.test()
    nt.tearDown()