Bankmaschine: Don't use A10 for col addresses.
A10 is reserved for auto precharge. For memories with more than 1024 cols (>10bit) A[0:9] and A[11:] is used. I tested this with MT46H128M16.
This commit is contained in:
parent
4815be2fef
commit
cf893a9839
|
@ -34,7 +34,10 @@ class _AddressSlicer:
|
||||||
|
|
||||||
def col(self, address):
|
def col(self, address):
|
||||||
split = self.colbits - self.address_align
|
split = self.colbits - self.address_align
|
||||||
return Cat(Replicate(0, self.address_align), address[:split])
|
if self.colbits>10: # A10 is reserved for auto-precharge, this bit needs to be skipped for col addresses
|
||||||
|
return Cat(Replicate(0, self.address_align), address[:10-self.address_align], 0, address[10-self.address_align:split])
|
||||||
|
else:
|
||||||
|
return Cat(Replicate(0, self.address_align), address[:split])
|
||||||
|
|
||||||
# BankMachine --------------------------------------------------------------------------------------
|
# BankMachine --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue