示例#1
0
def test_2(simulator_name):
    # set defaults
    if simulator_name is None:
        simulator_name = 'vivado'

    # run simulation
    ana = Analysis(input=str(THIS_DIR), simulator_name=simulator_name)
    ana.set_target(target_name='sim')
    ana.simulate(convert_waveform=False)
示例#2
0
def test_1():
    ana = Analysis(input=root, simulator_name='icarus')
    ana.gen_sources()
    ana.set_target(target_name='sim')
    ana.simulate()