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)
def test_1(): ana = Analysis(input=root, simulator_name='icarus') ana.gen_sources() ana.set_target(target_name='sim') ana.simulate()