示例#1
0
def sim(Test, TestFun):
    return
    from magma.testing.newfunction import testvectors as funtest
    from magma.simulator.python_simulator import testvectors as simtest
    tvsim = simtest(Test)
    tvfun = funtest(Test, TestFun)
    assert tvsim == tvfun
示例#2
0
def sim(Test, TestFun):
    tvsim = simtest(Test)
    print(tvsim)
    tvfun = funtest(Test, TestFun)
    print(tvfun)
    assert tvsim == tvfun