Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
The commented-out word_select shoud behave the same as the bit_select but the bit_select throws a "IndexError: Cannot stop slice 9 bits into 8-bit value" while the word_select compiles just fine.
def elaborate(self, platform):
m = Module()
datain = Signal(4)
dataout = Signal(8)
assert len(dataout) % len(datain) == 0
counter = Signal()
#m.d.sync += dataout.word_select(counter, 4).eq(datain)
m.d.sync += dataout.bit_select(counter * 4, 4).eq(datain)
The text was updated successfully, but these errors were encountered:
Interestingly the codegen for word_select appears to be broken too.
Sorry, something went wrong.
No branches or pull requests