projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52b783a
)
Expose data_width
author
Jean THOMAS
<git0@pub.jeanthomas.me>
Wed, 29 Jul 2020 14:16:55 +0000
(16:16 +0200)
committer
Jean THOMAS
<git0@pub.jeanthomas.me>
Wed, 29 Jul 2020 14:16:55 +0000
(16:16 +0200)
gram/common.py
patch
|
blob
|
history
diff --git
a/gram/common.py
b/gram/common.py
index 3da6c7d9816f29c74c41da46546db0f84687a4bd..1b53722f58b59588791f4b1588ab3f49a8ac31b2 100644
(file)
--- a/
gram/common.py
+++ b/
gram/common.py
@@
-192,6
+192,8
@@
class gramNativePort(Settings):
self.flush = Signal()
+ self.data_width = data_width
+
def get_bank_address(self, bank_bits, cba_shift):
cba_upper = cba_shift + bank_bits
return self.cmd.addr[cba_shift:cba_upper]