projects
/
shakti-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fcae19
)
duh, missed the fn name, confused with the type "Tuple2"
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 28 Jul 2018 05:18:01 +0000
(06:18 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 28 Jul 2018 05:18:01 +0000
(06:18 +0100)
src/lib/MemoryMap.bsv
patch
|
blob
|
history
diff --git
a/src/lib/MemoryMap.bsv
b/src/lib/MemoryMap.bsv
index 16d97695c89682aa9736637a9a77046a19db962c..1b1bfef5145c57cb1f3d73c29d616671db293fb2 100644
(file)
--- 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)