mirror of
https://github.com/enjoy-digital/litedram.git
synced 2025-01-04 09:52:25 -05:00
test: update
This commit is contained in:
parent
7b61b68f68
commit
1fa73e4718
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ class DRAMMemory:
|
|||
pending = 0
|
||||
elif (yield dram_port.cmd.valid):
|
||||
pending = not (yield dram_port.cmd.we)
|
||||
address = (yield dram_port.cmd.adr)
|
||||
address = (yield dram_port.cmd.addr)
|
||||
if pending:
|
||||
yield dram_port.cmd.ready.eq(1)
|
||||
yield
|
||||
|
@ -72,7 +72,7 @@ class DRAMMemory:
|
|||
yield
|
||||
elif (yield dram_port.cmd.valid):
|
||||
pending = (yield dram_port.cmd.we)
|
||||
address = (yield dram_port.cmd.adr)
|
||||
address = (yield dram_port.cmd.addr)
|
||||
if pending:
|
||||
yield dram_port.cmd.ready.eq(1)
|
||||
yield
|
||||
|
|
Loading…
Reference in a new issue