duh, missed the fn name, confused with the type "Tuple2"
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 28 Jul 2018 05:18:01 +0000 (06:18 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 28 Jul 2018 05:18:01 +0000 (06:18 +0100)
src/lib/MemoryMap.bsv

index 16d97695c89682aa9736637a9a77046a19db962c..1b1bfef5145c57cb1f3d73c29d616671db293fb2 100644 (file)
@@ -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)