[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
Wed May 1 18:49:36 BST 2019


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

--- Comment #5 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
    def eq(self, rhs: 'PartitionPoints') -> Iterable[Assign]:
        if set(self.keys()) != set(rhs.keys()):
            raise ValueError("incompatible point set")
        for point, enabled in self.items():
            yield enabled.eq(rhs[enabled])


dict.items returns key, value - so that will need to be
yiield enabled.eq(rhs[point])

using the words "key, value" - as in the commonly-used phrase
"key-value pairs" - helps make it clear.

yield value.eq(rhs[key])

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


More information about the libre-riscv-dev mailing list