From: Luke Kenneth Casson Leighton Date: Wed, 13 Oct 2021 12:40:43 +0000 (+0100) Subject: although it is a little less visually clear, removing the whitespace X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d593bd46d0bfc3e38d81bf1bd88c48cf0d55524;p=ieee754fpu.git although it is a little less visually clear, removing the whitespace allows illustrating what is used and what is not used in the 5-6-6-6 example --- diff --git a/src/ieee754/part/layout_experiment.py b/src/ieee754/part/layout_experiment.py index 4a18850e..3c9ab518 100644 --- a/src/ieee754/part/layout_experiment.py +++ b/src/ieee754/part/layout_experiment.py @@ -212,13 +212,13 @@ if __name__ == '__main__': # specify that the Vector Element lengths are to be *different* at # each of the elwidths. # combined with vec_el_counts we have: - # elwidth=0b00 1x 5-bit | <-- unused -->....5 | - # elwidth=0b01 1x 6-bit | <-- unused -->.....6 | - # elwidth=0b10 2x 12-bit | unused .....6 | unused .....6 | - # elwidth=0b11 3x 24-bit | .....6 | .....6 | .....6 | .....6 | - # expected partitions (^) ^ ^ ^^ (^) - # to be at these points: (|) | | || (|) - # (24) 18 12 65 (0) + # elwidth=0b00 1x 5-bit |<----unused----------->....5| + # elwidth=0b01 1x 6-bit |<----unused---------->.....6| + # elwidth=0b10 2x 12-bit |unused>.....6|unused->.....6| + # elwidth=0b11 3x 24-bit |.....6|.....6| .....6|.....6| + # expected partitions (^) ^ ^ ^^ (^) + # to be at these points: (|) | | || (|) + # (24) 18 12 65 (0) widths_at_elwidth = { 0: 5, 1: 6,