[libre-riscv-dev] [Bug 60] N-stage 64-bit multiplier pipeline needed (signed/unsigned)

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Mon Apr 29 04:36:24 BST 2019


http://bugs.libre-riscv.org/show_bug.cgi?id=60

--- Comment #4 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
cooooool, found the src/multiplier.py code - recursive code-generation
(AddReduce), cooool :)

        self.partition_points = dict((
            (index, Value.wrap(value))
            for index, value in partition_points.items()))

can be done as:

        for idx, value in self.partition_points.items():
            self.partition_points[idx] = Value.wrap(value)

there's probably a... "nicer" way to do it, just can't think of it.

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


More information about the libre-riscv-dev mailing list