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:
ad6ed49
)
pass in addr to Tuple2 function
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 27 Jul 2018 11:29:29 +0000
(12:29 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 27 Jul 2018 11:29:29 +0000
(12:29 +0100)
src/lib/MemoryMap.bsv
patch
|
blob
|
history
diff --git
a/src/lib/MemoryMap.bsv
b/src/lib/MemoryMap.bsv
index 9d07c0987e52d38922436fd8442f22ad3cb5f287..432ad4838114373e10137e394f76a304bfc47f0c 100644
(file)
--- a/
src/lib/MemoryMap.bsv
+++ b/
src/lib/MemoryMap.bsv
@@
-41,11
+41,11
@@
package MemoryMap;
function Tuple2 #(Bool, Bit#(TLog#(Num_Slaves)))
fn_addr_to_slave_num (Bit#(`PADDR) addr);
- let ft = FastTuple2;
+ let ft = FastTuple2
(addr)
;
Bool isfast = tpl_1(ft);
Bit#(TLog#(Num_Slaves)) x = tpl_2(ft);
- let st = SlowTuple2;
+ let st = SlowTuple2
(addr)
;
Bool isslow = tpl_1(st);
Bit#(TLog#(Num_Slow_Slaves)) y = tpl_2(st);
if (isfast)