csr_bus: Add addressing property.

This commit is contained in:
Florent Kermarrec 2023-10-26 17:23:31 +02:00
parent c5d869447a
commit dde9605a5d
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ _layout = [
]
class Interface(Record):
addressing = "word"
def __init__(self, data_width=8, address_width=14, alignment=32):
self.data_width = data_width
self.address_width = address_width