interconnect/axi: set default data_width/address_width to 32-bit.
This commit is contained in:
parent
8e1d528663
commit
6be7e9c33d
|
@ -56,7 +56,7 @@ def r_description(data_width, id_width):
|
||||||
]
|
]
|
||||||
|
|
||||||
class AXIInterface(Record):
|
class AXIInterface(Record):
|
||||||
def __init__(self, data_width, address_width, id_width=1, clock_domain="sys"):
|
def __init__(self, data_width=32, address_width=32, id_width=1, clock_domain="sys"):
|
||||||
self.data_width = data_width
|
self.data_width = data_width
|
||||||
self.address_width = address_width
|
self.address_width = address_width
|
||||||
self.id_width = id_width
|
self.id_width = id_width
|
||||||
|
@ -89,7 +89,7 @@ def r_lite_description(data_width):
|
||||||
]
|
]
|
||||||
|
|
||||||
class AXILiteInterface(Record):
|
class AXILiteInterface(Record):
|
||||||
def __init__(self, data_width, address_width, clock_domain="sys"):
|
def __init__(self, data_width=32, address_width=32, clock_domain="sys"):
|
||||||
self.data_width = data_width
|
self.data_width = data_width
|
||||||
self.address_width = address_width
|
self.address_width = address_width
|
||||||
self.clock_domain = clock_domain
|
self.clock_domain = clock_domain
|
||||||
|
|
Loading…
Reference in New Issue