[libre-riscv-dev] partitioned compare and mux

Luke Kenneth Casson Leighton lkcl at lkcl.net
Fri Feb 7 15:13:52 GMT 2020

hiya michael ok just seeing the mods you're doing, good to see the
partitioned "!=" (__ne__) working again.  despite working on the same
unit test code we're avoiding stepping on each others' toes which is

i have PartitionedMux working, the unit test i had to cycle through
all permutations of the input selector - except of course i had to set
*all* bits within that partition in order to get it to work (doh).

i have a feeling that partitioned-not-equal could prooobably do with
being an actual operator in eq_gt_ge.py because i suspect that the
external negation of in-A, just to make the partitioned-eq go the
other way round, would be more efficiently done by inverting the
single-bit *result* of the comparisons rather than inverting *all* the
bits of the input.

if you can do that i think we can throw a stake in the ground, call
#171 done, and add it to the list of things to submit an rfp for.

then perhaps we can move on to some of the other operators?  i added
quite a list in #132


More information about the libre-riscv-dev mailing list