1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00

moved to icarus for test with cosimulation again

This commit is contained in:
Jan Decaluwe 2011-04-22 14:48:46 +02:00
parent 0be158ff43
commit a07a9ce322
2 changed files with 9 additions and 8 deletions

View File

@ -5,6 +5,7 @@ from random import randrange
random.seed(2)
from myhdl import *
from myhdl.conversion import verify
NRTESTS = 10
@ -184,7 +185,7 @@ def binaryBench(Ll, Ml, Lr, Mr):
def checkBinaryOps( Ll, Ml, Lr, Mr):
assert conversion.verify(binaryBench, Ll, Ml, Lr, Mr ) == 0
assert verify(binaryBench, Ll, Ml, Lr, Mr ) == 0
def testBinaryOps():
for Ll, Ml, Lr, Mr in (
@ -262,7 +263,7 @@ def unaryBench( m):
def checkUnaryOps(m):
assert conversion.verify(unaryBench, m) == 0
assert verify(unaryBench, m) == 0
def testUnaryOps():
@ -408,7 +409,7 @@ def augmBench( Ll, Ml, Lr, Mr):
def checkAugmOps( Ll, Ml, Lr, Mr):
assert conversion.verify(augmBench, Ll, Ml, Lr, Mr ) == 0
assert verify(augmBench, Ll, Ml, Lr, Mr) == 0
def testAugmOps():
for Ll, Ml, Lr, Mr in (
@ -499,7 +500,7 @@ def expressionsBench():
def testExpressions():
assert conversion.verify(expressionsBench) == 0
assert verify(expressionsBench) == 0

View File

@ -35,8 +35,8 @@ def verilogCompileCver(name):
#setupCosimulation = setupCosimulationIcarus
setupCosimulation = setupCosimulationCver
setupCosimulation = setupCosimulationIcarus
#setupCosimulation = setupCosimulationCver
#verilogCompile = verilogCompileIcarus
verilogCompile = verilogCompileCver
verilogCompile = verilogCompileIcarus
#verilogCompile = verilogCompileCver