[Libre-soc-bugs] [Bug 718] New: PartitionedSignal __r*__ functions need review

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Oct 2 17:21:06 BST 2021


            Bug ID: 718
           Summary: PartitionedSignal __r*__ functions need review
           Product: Libre-SOC's first SoC
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Source Code
          Assignee: lkcl at lkcl.net
          Reporter: lkcl at lkcl.net
                CC: libre-soc-bugs at lists.libre-soc.org
   NLnet milestone: ---

reverse-operator functions have completely different behaviour
for non-commutative operators when the rhs is not also a

the obvious one is shift:

    Signal << PartitionedSignal

is not the same as:

    PartitionedSignal << Signal

yet they both (obviously) return a PartitionedSignal.

__rsub__ is also non-commutative and needs to behave very differently.

there may be others, the full list to be evaluated and added here:

* __rsub__

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

More information about the libre-soc-bugs mailing list