From 48a62c1b165b98edd5b244379e3101c77391c167 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 5 Aug 2018 20:34:41 +0100 Subject: [PATCH] fix fast addr map --- src/bsv/peripheral_gen/base.py | 2 +- src/bsv/peripheral_gen/eint.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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): -- 2.30.2