Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Durchbruchswagen committed Dec 9, 2024
1 parent 51ee0d5 commit b3e3e45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion coreblocks/func_blocks/fu/fpu/lza.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -14,7 +15,7 @@ def nearestpow2(n):

class LZAMethodLayout:
"""LZA module layouts for methods
Parameters
----------
fpu_params: FPUParams
Expand Down

0 comments on commit b3e3e45

Please sign in to comment.