From b3e3e45bde0445c99531b2748f6514b6e60cd6bf Mon Sep 17 00:00:00 2001 From: Mateusz Marszalek Date: Tue, 19 Nov 2024 00:08:53 +0100 Subject: [PATCH] Fixed formatting --- coreblocks/func_blocks/fu/fpu/lza.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coreblocks/func_blocks/fu/fpu/lza.py b/coreblocks/func_blocks/fu/fpu/lza.py index 1a636cfa1..275c1bd3a 100644 --- a/coreblocks/func_blocks/fu/fpu/lza.py +++ b/coreblocks/func_blocks/fu/fpu/lza.py @@ -4,6 +4,7 @@ from math import log2 from transactron.utils.amaranth_ext import count_leading_zeros + def nearestpow2(n): a = int(log2(n)) if 2**a == n: @@ -14,7 +15,7 @@ def nearestpow2(n): class LZAMethodLayout: """LZA module layouts for methods - + Parameters ---------- fpu_params: FPUParams