Skip to content

Commit 81a89b7

Browse files
Black format
1 parent 9dc6277 commit 81a89b7

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

hwcomponents_library/library/aladdin.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class AladdinAdder(LibraryEstimatorClassBase):
3838
width : int
3939
The width of the adder in bits. This is the number of bits of the input values.
4040
"""
41+
4142
component_name = ["Adder", "AladdinAdder", "IntAdder"]
4243
priority = 0.1
4344

@@ -94,6 +95,7 @@ class AladdinRegister(LibraryEstimatorClassBase):
9495
width : int, optional
9596
The width of the register in bits.
9697
"""
98+
9799
component_name = ["Register", "AladdinRegister"]
98100
priority = 0.1
99101

@@ -170,6 +172,7 @@ class AladdinComparator(LibraryEstimatorClassBase):
170172
width : int, optional
171173
The width of the comparator in bits.
172174
"""
175+
173176
component_name = ["Comparator", "AladdinComparator"]
174177
priority = 0.1
175178

@@ -231,6 +234,7 @@ class AladdinMultiplier(LibraryEstimatorClassBase):
231234
width_b : int, optional
232235
The width of the second input value in bits.
233236
"""
237+
234238
component_name = ["Multiplier", "AladdinMultiplier", "IntMultiplier"]
235239
priority = 0.1
236240

@@ -309,6 +313,7 @@ class AladdinCounter(LibraryEstimatorClassBase):
309313
width : int, optional
310314
The width of the counter in bits.
311315
"""
316+
312317
component_name = ["Counter", "AladdinCounter"]
313318
priority = 0.1
314319

@@ -363,6 +368,7 @@ class AladdinIntMAC(LibraryEstimatorClassBase):
363368
multiplier_width : int, optional
364369
The width of the multiplier in bits.
365370
"""
371+
366372
component_name = ["IntMAC", "AladdinIntMAC"]
367373
priority = 0.1
368374

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Setup.py to ensure hwcomponents._version_scheme is importable during build."""
2+
23
import sys
34
from pathlib import Path
45

@@ -16,4 +17,3 @@
1617
from setuptools import setup
1718

1819
setup()
19-

0 commit comments

Comments
 (0)