def setUp(self): self.dsource = Component.DynamicSource(Bits('0b100'), Bits('0b0'))
def setUp(self): a = BitArray('0b10101') a.reverse() self.LFSR = Component.LFSR(Component.DynamicSource(a, Bits('0b0')), Bits('0b101'), 2)