spatial icon indicating copy to clipboard operation
spatial copied to clipboard

Switch Transformer Potential Issue

Open mattfel1 opened this issue 5 years ago • 0 comments

Haven't thoroughly looked into this yet, but this seems to give the "used removed sym" error:

                 val a = if ((j & 1) == 0) M0(2 * k0 + k1 + 0) else N0(2 * k0 + k1 + 0))
                 val b = if ((j & 1) == 0) M0(2 * k0 + k1 + 1) else N0(2 * k0 + k1 + 1))
                 val c = if ((j & 1) == 0) M1(2 * k0 + k1 + 0) else N1(2 * k0 + k1 + 0))
                 val d = if ((j & 1) == 0) M1(2 * k0 + k1 + 1) else N1(2 * k0 + k1 + 1))

But if you use muxes instead, it works. Also it seems like this only happens with the --sim backend?

mattfel1 avatar Feb 22 '20 02:02 mattfel1