litex/litex/soc
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
..
cores Merge pull request #1993 from FlyGoat/jtag-patch 2024-06-22 14:34:50 +02:00
doc Fix generation of documentation of `atomic_write` CSRStorage 2022-01-30 18:05:52 +01:00
integration soc: add_spi_master: make spi_clk_freq an int 2024-06-19 16:29:35 +02:00
interconnect csr_bus: Honour re signal from the upstream bus 2024-06-23 19:35:19 +01:00
software software/libbase/isr.c: Fix regression. 2024-06-14 14:08:22 +02:00
__init__.py litex: reorganize things, first work working version 2015-11-07 17:48:55 +01:00