migen icon indicating copy to clipboard operation
migen copied to clipboard

<< seems buggy

Open whitequark opened this issue 6 years ago • 2 comments

E.g.:

s = Signal(max=8)
self.comb += s.eq(1)
(s << 3) # produces 0
(s * 8) # produces 8

whitequark avatar Nov 22 '18 18:11 whitequark

Produces where? Simulation? Do you have a full repro?

sbourdeauducq avatar Nov 22 '18 19:11 sbourdeauducq

Synthesis with Diamond. I'll need to minimize a repro.

whitequark avatar Nov 22 '18 19:11 whitequark