interconnect/wishbone: fix CSRBank init
authorSebastien Bourdeauducq <sb@m-labs.hk>
Tue, 3 Nov 2015 10:45:23 +0000 (18:45 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Tue, 3 Nov 2015 10:45:23 +0000 (18:45 +0800)
misoc/interconnect/wishbone.py

index 990908ddcf1053e5152eae284f6f54d1bb6f2b56..d24148bebe198dce89d2c4cbcdc54646c72afbf8 100644 (file)
@@ -641,7 +641,7 @@ class CSRBank(csr.GenericBank):
 
         ###
 
-        GenericBank.__init__(self, description, len(self.bus.dat_w))
+        csr.GenericBank.__init__(self, description, len(self.bus.dat_w))
 
         for i, c in enumerate(self.simple_csrs):
             self.comb += [