Skip to content

Switch Transformer Potential Issue #297

@mattfel1

Description

@mattfel1

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions