From 475846870b137decc0e6650f5b9cad6fff19593b Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Wed, 29 Jul 2020 16:16:55 +0200 Subject: [PATCH] Expose data_width --- gram/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gram/common.py b/gram/common.py index 3da6c7d..1b53722 100644 --- 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] -- 2.30.2