software, integration/export: (re-)expose CSR subregister accessors
authorGabriel Somlo <gsomlo@gmail.com>
Wed, 29 Jan 2020 15:54:30 +0000 (10:54 -0500)
committerGabriel Somlo <gsomlo@gmail.com>
Wed, 29 Jan 2020 19:29:24 +0000 (14:29 -0500)
commitff2775c264cc452a05119dd895e25b559867dac2
tree84b9ffeb73b2feaf5cc60f79542bb5c339675893
parent7bc34a9bc75ce0b5d672323c7d05797592697274
software, integration/export: (re-)expose CSR subregister accessors

Expose a pair of `csr_[read|write]_simple()` subregister accessors, and
restore the way dedicated accessors are generated in "generated/csr.h"
to use hard-coded combinations of shifts and subregister accessor calls.

This restores downstream ability to override CSR handling at the
subregister accessor level.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
litex/soc/integration/export.py
litex/soc/software/include/hw/common.h