<stroboko1p>
I'm digging around in python not knowing how nmigen works, but I think what I see is this: a switch, then the only case 1, then an "eq" with this structure:
<stroboko1p>
(eq target array[val0,val1] sel)
<stroboko1p>
and then this is what rtlil.py works on, right? now that's too deep for me right now, but this is what seems to result from the assignment:
<stroboko1p>
(in the rtlil output file) switch sel ; case 1'0 ; assign target val0 ; case 1'- ; assign target val1 ; end
<stroboko1p>
in the Verilog output the case 1'- becomes case 2'h?:
<stroboko1p>
mhh now I wonder if the case 1'- is RTLIL's way of defining the Verilog "default:" or VHDL "when others =>" case, and yosys doesn't handle it correctly, or if nmigen generates wrong RTLIL
mauz555 has quit [Ping timeout: 265 seconds]
mauz555 has joined #m-labs
mauz555_ has joined #m-labs
mauz555 has quit [Ping timeout: 272 seconds]
mauz555_ has quit []
mauz555 has joined #m-labs
_whitelogger has joined #m-labs
mtrbot-ml has joined #m-labs
silipwn has joined #m-labs
noopwafel has joined #m-labs
sb0 has joined #m-labs
m4ssi has quit [Remote host closed the connection]
mauz555 has quit [Remote host closed the connection]