From: Luke Kenneth Casson Leighton Date: Sun, 5 Aug 2018 19:34:41 +0000 (+0100) Subject: fix fast addr map X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48a62c1b165b98edd5b244379e3101c77391c167;p=pinmux.git fix fast addr map --- diff --git a/src/bsv/peripheral_gen/base.py b/src/bsv/peripheral_gen/base.py index 6a22061..59d0f02 100644 --- a/src/bsv/peripheral_gen/base.py +++ b/src/bsv/peripheral_gen/base.py @@ -969,7 +969,7 @@ class MkSlowIfDeclMux(IfaceIter): class MkAxiFastAddrMap(IfaceIter): def check(self, name, i): - return not self.ifaces.is_on_fastbus(name, i) + return self.ifaces.is_on_fastbus(name, i) def item(self, name, i): return self.ifaces.data[name].axi_fastaddr_map(name, i) diff --git a/src/bsv/peripheral_gen/eint.py b/src/bsv/peripheral_gen/eint.py index f59dd32..b562063 100644 --- a/src/bsv/peripheral_gen/eint.py +++ b/src/bsv/peripheral_gen/eint.py @@ -17,7 +17,7 @@ class eint(PBase): def axi_slave_idx(self, idx, name, ifacenum, typ): return ('', 0) - def axi_addr_map(self, name, ifacenum): + def axi_addr_map(self, name, ifacenum, typ=None): return '' def ifname_tweak(self, pname, typ, txt):