Fix Digilent Cmod A7 ISSIRAM reading
This commit is contained in:
parent
efc15a91a9
commit
a6b025f7f3
|
@ -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 New Issue