litex/test
Jiaxun Yang af3d2a29fc
csr_bus: Honour re signal from the upstream bus
Currently CSR bus assumed that ~we means reading, that created
a problem that when for a CSR if reading has side effects and adr
parked unintentionally at that CSR, the reading side effect will be
triggered.

For SoCs, this happened when upstream bus issued a write transaction
with wishbone.sel, then on CSR bus it will be translated
as adr = addr, we = 0, which will be interpreted as a read to such
address, and trigger undesired side effect for such CSR.

Such upstream transaction will be generated by our bus width converter.

Given that we signal already presents in CSR Interface, the easiest way
to handle such situation is to generate re signal at bus bridges and
propagate it all the way down to the Interface.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2024-06-23 19:35:19 +01:00
..
__init__.py
test_avalon_mm.py
test_axi.py
test_axi_lite.py
test_axi_stream.py test: Add minimal test_axi_stream test (Just syntax check for now). 2022-09-08 11:53:05 +02:00
test_bitbang.py
test_clock.py
test_code_8b10b.py
test_cpu.py
test_csr.py csr_bus: Honour re signal from the upstream bus 2024-06-23 19:35:19 +01:00
test_ecc.py
test_emif.py
test_fifosyncmacro.py
test_gearbox.py
test_hyperbus.py
test_i2s.py
test_icap.py
test_led.py
test_packet.py
test_prbs.py
test_reduce.py
test_spi.py
test_spi_mmap.py
test_spi_opi.py
test_stream.py
test_timer.py
test_wishbone.py