From: Luke Kenneth Casson Leighton Date: Fri, 7 Feb 2020 14:46:49 +0000 (+0000) Subject: grr correct syntax for assert X-Git-Tag: ls180-24jan2020~241 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=544ebd8d35df7df575e3ffd03e77c9ea4980f114;p=ieee754fpu.git grr correct syntax for assert --- diff --git a/src/ieee754/part_cmp/eq_gt_ge.py b/src/ieee754/part_cmp/eq_gt_ge.py index 9772522a..ef4ecb5a 100644 --- a/src/ieee754/part_cmp/eq_gt_ge.py +++ b/src/ieee754/part_cmp/eq_gt_ge.py @@ -44,8 +44,8 @@ class PartitionedEqGtGe(Elaboratable): self.partition_points = PartitionPoints(partition_points) self.mwidth = len(self.partition_points)+1 self.output = Signal(self.mwidth, reset_less=True) - assert (self.partition_points.fits_in_width(width), - "partition_points doesn't fit in width") + assert self.partition_points.fits_in_width(width), \ + "partition_points doesn't fit in width" def elaborate(self, platform): m = Module()