whoops num axi regs 16 too many
[pinmux.git] / src / bsv / peripheral_gen / flexbus.py
index 82d67e452926e772760eadf24b932648fe071cec..4d5b13444e97c245411672cef14536e80234c378 100644 (file)
@@ -7,7 +7,7 @@ class flexbus(PBase):
         return "import FlexBus_Types::*;"
 
     def num_axi_regs32(self):
-        return 0x4000000  # defines an entire memory range
+        return 0x400000  # defines an entire memory range
 
     def extfastifinstance(self, name, count):
         return self._extifinstance(name, count, "_out", "", True,
@@ -50,9 +50,9 @@ class flexbus(PBase):
             ('bwe', 'm_BWEn'),
             ('tbst', 'm_TBSTn'),
             ('tsiz', 'm_TSIZ'),
-            ('ad_in', 'm_AD'),
-            ('ad_out', 'm_din'),
-            ('ad_en', 'm_OE32n'),
+            ('ad_out', 'm_AD'),
+            ('ad_in', 'm_din'),
+            ('ad_out_en', 'm_OE32n'),
         ]:
             ret.append(template.format(ps, ptype, n, stype))
         return '\n'.join(ret)