def tv_out(m, tv):
     assert m.out[0] == Bits8(tv[1])
     assert m.out[1] == Bits8(tv[2])
示例#2
0
 def __init__( s, a=0, b=0 ):
   s.a = Bits8(a)
   s.b = Bits32(b)
示例#3
0
 def construct(s):
     s.wire = Wire(Bits32)
     connect(s.wire, Bits8(8))
示例#4
0
 def __init__(s, a=0):
     s.c = Bits8(a)