where Slice was accidentally being done on SimdSignal rather than
SimdSignals internal sig. whilst this was a legitimate oversight
the bug should have been found when a NotImplemented SimdSignal.__Slice__
was added.
Project Development Practices were violated here by unit tests not
having been run, which would have easily detected the bug
start = keys[upto]
end = keys[upto+numparts]
print ("start end", start, end, len(x))
- return x[start:end]
+ # access the underlying signal of SimdSignal directly
+ return x.sig[start:end]
def elaborate(self, platform):
m = Module()
start = keys[upto]
end = keys[upto+numparts]
print ("start end", start, end, len(x))
- return x[start:end]
+ # access the underlying Signal of SimdSignal directly
+ return x.sig[start:end]
def elaborate(self, platform):
m = Module()