From: Luke Kenneth Casson Leighton Date: Sat, 8 Feb 2020 13:16:32 +0000 (+0000) Subject: add comments X-Git-Tag: ls180-24jan2020~231 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f99b40853faf59d692906ef626abe733d2a8ad7;p=ieee754fpu.git add comments --- diff --git a/src/ieee754/part/partsig.py b/src/ieee754/part/partsig.py index cef3fed6..7868cf71 100644 --- a/src/ieee754/part/partsig.py +++ b/src/ieee754/part/partsig.py @@ -86,6 +86,9 @@ class PartitionedSignal: # binary ops that need partitioning + # TODO: detect if the 2nd operand is a Const, a Signal or a + # PartitionedSignal. if it's a Const or a Signal, a global shift + # can occur. if it's a PartitionedSignal, that's much more interesting. def __lshift__(self, other): return Operator("<<", [self, other]) def __rlshift__(self, other):