kuznia-rdzeni / coreblocks

RISC-V out-of-order core for education and research purposes
https://kuznia-rdzeni.github.io/coreblocks/
BSD 3-Clause "New" or "Revised" License
36 stars 14 forks source link

Support ArrayLayouts in assign #640

Closed tilk closed 6 months ago

tilk commented 6 months ago

Related to #629.

xThaid commented 6 months ago

Can we also add support for plain lists of signals, i.e.:

layout = ...
s1 = data.View(data.ArrayLayout(layout, 4))
s2 = [Signal(layout) for _ in range(4)]

m.d.comb += assign(s1, s2)
tilk commented 6 months ago

Can we also add support for plain lists of signals

Yes.