Avoid extra timing delays for NXLRAM path
This commit is contained in:
parent
8f04542c15
commit
c640efcec3
|
@ -79,10 +79,10 @@ class NXLRAM(LiteXModule):
|
||||||
wren = Signal()
|
wren = Signal()
|
||||||
self.comb += [
|
self.comb += [
|
||||||
datain.eq(self.bus.dat_w[32*w:32*(w+1)]),
|
datain.eq(self.bus.dat_w[32*w:32*(w+1)]),
|
||||||
|
self.bus.dat_r[32*w:32*(w+1)].eq(dataout),
|
||||||
If(self.bus.adr[14:14+self.depth_cascading.bit_length()] == d,
|
If(self.bus.adr[14:14+self.depth_cascading.bit_length()] == d,
|
||||||
cs.eq(1),
|
cs.eq(1),
|
||||||
wren.eq(self.bus.we & self.bus.stb & self.bus.cyc),
|
wren.eq(self.bus.we & self.bus.stb & self.bus.cyc)
|
||||||
self.bus.dat_r[32*w:32*(w+1)].eq(dataout)
|
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
lram_block = Instance("SP512K",
|
lram_block = Instance("SP512K",
|
||||||
|
|
Loading…
Reference in New Issue