soc/integration/soc_core: rework csr assignation/reservation
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 9 May 2019 21:32:22 +0000 (23:32 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 9 May 2019 21:32:22 +0000 (23:32 +0200)
commitb6be534cd66051277ff1640887b70f30a6396e07
tree5d1cb2dd15676cf31683ea581c0b40b9d043154b
parent3f09af6d6e7432e8592c30178ad974acd8f07ed5
soc/integration/soc_core: rework csr assignation/reservation

Similar refactor than on interrupts. Adds a add_csr method but still
retro-compatible with old way to declare CSRs.
litex/soc/integration/soc_core.py