use Num_Fast_Slaves define
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 28 Jul 2018 05:04:52 +0000 (06:04 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 28 Jul 2018 05:04:52 +0000 (06:04 +0100)
src/lib/MemoryMap.bsv

index d1c29685e24040d5d3b1ca2985e007216f33bfeb..16d97695c89682aa9736637a9a77046a19db962c 100644 (file)
@@ -38,12 +38,12 @@ package MemoryMap;
        /*========================= */
 
 
-function Tuple2 #(Bool, Bit#(TLog#(Num_Slaves)))
+function Tuple2 #(Bool, Bit#(TLog#(Num_Fast_Slaves)))
                     fn_addr_to_slave_num  (Bit#(`PADDR) addr);
 
     let ft = FastTuple2(addr);
     Bool isfast = tpl_1(ft);
-    Bit#(TLog#(Num_Slaves)) x = tpl_2(ft);
+    Bit#(TLog#(Num_Fast_Slaves)) x = tpl_2(ft);
 
     let st = SlowTuple2(addr);
     Bool isslow = tpl_1(st);