[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:55:16 BST 2019


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

--- Comment #6 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #5)
>     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])

oops, fixed

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


More information about the libre-riscv-dev mailing list