projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9341a5a
)
mmu.py fix length of hex const https://bugs.libre-soc.org/show_bug.cgi?id=450#c31
author
Cole Poirier
<colepoirier@gmail.com>
Wed, 12 Aug 2020 16:47:09 +0000
(09:47 -0700)
committer
Cole Poirier
<colepoirier@gmail.com>
Wed, 12 Aug 2020 16:47:09 +0000
(09:47 -0700)
src/soc/experiment/mmu.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/mmu.py
b/src/soc/experiment/mmu.py
index a1d848dd970a80d70a2179bba051945495d02e43..16704f09c48a2852d0cc26646deed164f56e0715 100644
(file)
--- a/
src/soc/experiment/mmu.py
+++ b/
src/soc/experiment/mmu.py
@@
-255,8
+255,7
@@
class AddrMaskGen(Elaboratable, MMU):
# -- mask_count has to be >= 5
# m := x"001f";
# mask_count has to be >= 5
- # TODO check hex conts with lkcl
- comb += mask.eq(Const(0x001F, 5)
+ comb += mask.eq(Const(0x001F, 16)
# for i in 5 to 15 loop
for i in range(5,16):