From: Luke Kenneth Casson Leighton Date: Sat, 28 Jul 2018 05:04:52 +0000 (+0100) Subject: use Num_Fast_Slaves define X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fcae1912869a2b23b72365ac972a0abea906899;p=shakti-core.git use Num_Fast_Slaves define --- diff --git a/src/lib/MemoryMap.bsv b/src/lib/MemoryMap.bsv index d1c2968..16d9769 100644 --- a/src/lib/MemoryMap.bsv +++ b/src/lib/MemoryMap.bsv @@ -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);