Skip to content

Commit 5367cb2

Browse files
committed
Update __init__ methods of AxiLiteMaster interfaces
1 parent 0815d22 commit 5367cb2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

veriloggen/types/axi.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ def connect(self, ports, name):
755755
# AXI-Lite Master
756756
class AxiLiteMasterWriteAddress(AxiLiteWriteAddress):
757757

758-
def __init__(self, m, name=None, datawidth=32, addrwidth=32,
758+
def __init__(self, m, name, clk, rst, datawidth=32, addrwidth=32,
759759
cache_mode=AxCACHE_NONCOHERENT, prot_mode=AxPROT_NONCOHERENT,
760760
itype=None, otype=None):
761761

@@ -821,7 +821,7 @@ def connect(self, ports, name):
821821

822822
class AxiLiteMasterWriteData(AxiLiteWriteData):
823823

824-
def __init__(self, m, name=None, datawidth=32, addrwidth=32,
824+
def __init__(self, m, name, clk, rst, datawidth=32, addrwidth=32,
825825
itype=None, otype=None):
826826

827827
AxiLiteWriteData.__init__(self, m, name, datawidth, addrwidth,
@@ -882,7 +882,7 @@ def connect(self, ports, name):
882882

883883
class AxiLiteMasterWriteResponse(AxiLiteWriteResponse):
884884

885-
def __init__(self, m, name=None, datawidth=32, addrwidth=32,
885+
def __init__(self, m, name, clk, rst, datawidth=32, addrwidth=32,
886886
itype=None, otype=None):
887887

888888
AxiLiteWriteResponse.__init__(self, m, name, datawidth, addrwidth,
@@ -906,7 +906,7 @@ def connect(self, ports, name):
906906

907907
class AxiLiteMasterReadAddress(AxiLiteReadAddress):
908908

909-
def __init__(self, m, name=None, datawidth=32, addrwidth=32,
909+
def __init__(self, m, name, clk, rst, datawidth=32, addrwidth=32,
910910
cache_mode=AxCACHE_NONCOHERENT, prot_mode=AxPROT_NONCOHERENT,
911911
itype=None, otype=None):
912912

@@ -971,7 +971,7 @@ def connect(self, ports, name):
971971

972972
class AxiLiteMasterReadData(AxiLiteReadData):
973973

974-
def __init__(self, m, name=None, datawidth=32, addrwidth=32,
974+
def __init__(self, m, name, clk, rst, datawidth=32, addrwidth=32,
975975
itype=None, otype=None):
976976

977977
AxiLiteReadData.__init__(self, m, name, datawidth, addrwidth,

0 commit comments

Comments
 (0)