Skip to content

Commit e8bc329

Browse files
committed
make gpio default data width 8
1 parent 6e5a8c1 commit e8bc329

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

amaranth_orchard/io/gpio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def pin_count(self):
3333
addr_width : :class:`int`
3434
CSR bus address width. Defaults to ``4``.
3535
data_width : :class:`int`
36-
CSR bus data width. Defaults to ``4``.
36+
CSR bus data width. Defaults to ``8``.
3737
input_stages : :class:`int`
3838
Number of synchronization stages between pin inputs and the :class:`~Peripheral.Input`
3939
register. Optional. Defaults to ``2``.
@@ -55,7 +55,7 @@ def pin_count(self):
5555
If ``input_stages`` is not a non-negative integer.
5656
"""
5757

58-
def __init__(self, *, pin_count, addr_width=4, data_width=4, input_stages=2):
58+
def __init__(self, *, pin_count, addr_width=4, data_width=8, input_stages=2):
5959
self._gpio = gpio.Peripheral(pin_count=pin_count,
6060
addr_width=addr_width,
6161
data_width=data_width,

0 commit comments

Comments
 (0)