mirror of
https://github.com/enjoy-digital/litedram.git
synced 2025-01-04 09:52:25 -05:00
core/bankmachine/write to precharge: indicate that AL=0
This commit is contained in:
parent
869c8ee618
commit
6e10daed58
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class BankMachine(Module):
|
|||
|
||||
# Respect write-to-precharge specification
|
||||
write_latency = math.ceil(settings.phy.cwl / settings.phy.nphases)
|
||||
precharge_time = write_latency + settings.timing.tWR - 1 + settings.timing.tCCD
|
||||
precharge_time = write_latency + settings.timing.tWR - 1 + settings.timing.tCCD # AL=0
|
||||
precharge_timer = WaitTimer(precharge_time)
|
||||
self.submodules += precharge_timer
|
||||
self.comb += precharge_timer.wait.eq(~(cmd.valid & cmd.ready & cmd.is_write))
|
||||
|
|
Loading…
Reference in a new issue