-function FastTuple2 #(Bool, Bit#(TLog#(Num_Fast_Slaves)))
- fn_addr_to_slave_num (Bit#(`PADDR) addr);
+function Tuple2 #(Bool, Bit#(TLog#(Num_Fast_Slaves)))
+ fn_addr_to_fastslave_num (Bit#(`PADDR) addr);
if(addr>=`SDRAMMemBase && addr<=`SDRAMMemEnd)
return tuple2(True,fromInteger(valueOf(Sdram_slave_num)));
/* ==== define the number of slow peripheral irqs ==== */
- function SlowTuple2#(Bool, Bit#(TLog#(Num_Slow_Slaves)))
- fn_address_mapping (Bit#(`ADDR) addr);
+ function Tuple2#(Bool, Bit#(TLog#(Num_Slow_Slaves)))
+ fn_slow_address_mapping (Bit#(`ADDR) addr);
`ifdef CLINT
if(addr>=`ClintBase && addr<=`ClintEnd)
return tuple2(True,fromInteger(valueOf(CLINT_slave_num)));