[libre-riscv-dev] [Bug 173] dynamic partitioned "shift"

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Thu Feb 13 22:59:39 GMT 2020


--- Comment #21 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Michael Nolan from comment #17)
> > it does... however i think the Switch statement really has to go.  if
> > you
> > run "proc" "opt" then "show top" on a 64-bit shifter, it's awful.
> > the MUX chain is absolutely dreadful: each "switch" statement gets
> > turned
> > into a "if x == 0b00001 if x == 0b00010 if x == 0b000011"... with the
> > results *chained* between each!

Note that there are specific yosys optimizations for mux trees that greatly
simplify them: muxpack is probably the one you want to try


You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-riscv-dev mailing list