From: Luke Kenneth Casson Leighton Date: Sat, 28 Jul 2018 05:18:01 +0000 (+0100) Subject: duh, missed the fn name, confused with the type "Tuple2" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42f816da1ee986bd7cd4e4f031b829b3376ae697;p=shakti-core.git duh, missed the fn name, confused with the type "Tuple2" --- diff --git a/src/lib/MemoryMap.bsv b/src/lib/MemoryMap.bsv index 16d9769..1b1bfef 100644 --- a/src/lib/MemoryMap.bsv +++ b/src/lib/MemoryMap.bsv @@ -41,11 +41,11 @@ package MemoryMap; function Tuple2 #(Bool, Bit#(TLog#(Num_Fast_Slaves))) fn_addr_to_slave_num (Bit#(`PADDR) addr); - let ft = FastTuple2(addr); + let ft = fn_addr_to_fastslave_num(addr); Bool isfast = tpl_1(ft); Bit#(TLog#(Num_Fast_Slaves)) x = tpl_2(ft); - let st = SlowTuple2(addr); + let st = fn_slow_address_mapping(addr); Bool isslow = tpl_1(st); Bit#(TLog#(Num_Slow_Slaves)) y = tpl_2(st); if (isfast)