Fix issue where we ignore important timing parameters.

This commit is contained in:
2018-10-11 16:56:36 -04:00
parent 08afc9d8bc
commit acef5f523b
1 changed files with 12 additions and 10 deletions

View File

@ -216,6 +216,7 @@ class BankMachine(Module):
track_close.eq(1)
)
fsm.act("ACTIVATE",
If(activate_allowed,
sel_row_addr.eq(1),
track_open.eq(1),
cmd.valid.eq(1),
@ -226,8 +227,9 @@ class BankMachine(Module):
),
cmd.ras.eq(1)
)
)
fsm.act("REFRESH",
If(twtpcon.ready,
If(twtpcon.ready & precharge_allowed,
self.refresh_gnt.eq(1),
),
track_close.eq(1),