From d4bb02e2c31e8a87a08bc332340cb64f90da9d33 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 14 Oct 2021 20:53:09 -0700 Subject: [PATCH] split out end_bit --- src/ieee754/part/layout_experiment.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ieee754/part/layout_experiment.py b/src/ieee754/part/layout_experiment.py index 75adc34f..4497c30a 100644 --- a/src/ieee754/part/layout_experiment.py +++ b/src/ieee754/part/layout_experiment.py @@ -142,8 +142,9 @@ def layout(elwid, vec_el_counts, lane_shapes=None, fixed_width=None): # for each elwidth, create the required number of vector elements for start in range(c): start_bit = start * part_wid + end_bit = start_bit + lane_shapes[i] add_p("start", start, start_bit) # start of lane - add_p("end ", start, start_bit + lane_shapes[i]) # end lane + add_p("end ", start, end_bit) # end lane # deduplicate dpoints lists for k in dpoints.keys(): -- 2.30.2