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,18 +216,20 @@ class BankMachine(Module):
track_close.eq(1)
)
fsm.act("ACTIVATE",
sel_row_addr.eq(1),
track_open.eq(1),
cmd.valid.eq(1),
cmd.is_cmd.eq(1),
cmd.is_activate.eq(1),
If(cmd.ready,
NextState("TRCD")
),
cmd.ras.eq(1)
If(activate_allowed,
sel_row_addr.eq(1),
track_open.eq(1),
cmd.valid.eq(1),
cmd.is_cmd.eq(1),
cmd.is_activate.eq(1),
If(cmd.ready,
NextState("TRCD")
),
cmd.ras.eq(1)
)
)
fsm.act("REFRESH",
If(twtpcon.ready,
If(twtpcon.ready & precharge_allowed,
self.refresh_gnt.eq(1),
),
track_close.eq(1),