mirror of
https://github.com/enjoy-digital/litedram.git
synced 2025-01-04 09:52:25 -05:00
core/bankmachine: fix cas_count size when tccd == 1
This commit is contained in:
parent
f4ad65e3c4
commit
6d96bcc1e7
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class BankMachine(Module):
|
|||
cas_allowed = Signal(reset=1)
|
||||
tccd = settings.timing.tCCD
|
||||
if tccd is not None:
|
||||
cas_count = Signal(max=tccd)
|
||||
cas_count = Signal(max=tccd+1)
|
||||
self.sync += \
|
||||
If(cas,
|
||||
cas_count.eq(tccd-1)
|
||||
|
|
Loading…
Reference in a new issue