I didn't found a clean way for the CPU core.py to provide a reset (comming from its jtag debug module) to the SoC
Here is what i mean as a idea reset tree topology :
- power on reset / external async reset
-> Debug module
-> Soc reset
- Debug module reset from JTAG (NDM_RESET) this guy is the subject of this issue.
-> Soc reset
- Soc reset
-> CPU / Interconnect / Peripherals
Hi,
I didn't found a clean way for the CPU core.py to provide a reset (comming from its jtag debug module) to the SoC
Here is what i mean as a idea reset tree topology :
So far, it has been handled in a hacky way which assumes how the board target is implemented : https://github.com/enjoy-digital/litex/blob/59fc1caac4da47e297db863bca0a9b70a950d8d3/litex/soc/cores/cpu/vexiiriscv/core.py#L522 For Rocket, they keept their NDM_RESET floating (non-functional)
Is there any other way ?