mirror of
https://github.com/saymrwulf/litex-boards.git
synced 2026-11-19 09:50:49 +00:00
Fix Digilent Cmod A7 ISSIRAM reading
This commit is contained in:
parent
efc15a91a9
commit
a6b025f7f3
2 changed files with 3 additions and 1 deletions
|
|
@ -49,6 +49,7 @@ _io = [
|
||||||
IOStandard("LVCMOS33")),
|
IOStandard("LVCMOS33")),
|
||||||
Subsignal("wen", Pins("R19"), IOStandard("LVCMOS33")),
|
Subsignal("wen", Pins("R19"), IOStandard("LVCMOS33")),
|
||||||
Subsignal("cen", Pins("N19"), IOStandard("LVCMOS33")),
|
Subsignal("cen", Pins("N19"), IOStandard("LVCMOS33")),
|
||||||
|
Subsignal("oe", Pins("P19"), IOStandard("LVCMOS33")),
|
||||||
Misc("SLEW=FAST"),
|
Misc("SLEW=FAST"),
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,8 @@ class AsyncSRAM(LiteXModule):
|
||||||
self.comb += [
|
self.comb += [
|
||||||
cen.eq(~chip_ena),
|
cen.eq(~chip_ena),
|
||||||
wen.eq(~write_ena),
|
wen.eq(~write_ena),
|
||||||
tristate_data.oe.eq(write_ena)
|
tristate_data.oe.eq(write_ena),
|
||||||
|
oe.eq(tristate_data.oe),
|
||||||
]
|
]
|
||||||
########################
|
########################
|
||||||
# address and data
|
# address and data
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue