Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing reset comming from the CPU jtag #2109

Open
Dolu1990 opened this issue Oct 28, 2024 · 0 comments
Open

Implementing reset comming from the CPU jtag #2109

Dolu1990 opened this issue Oct 28, 2024 · 0 comments

Comments

@Dolu1990
Copy link
Collaborator

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 :

- 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 

So far, it has been handled in a hacky way which assumes how the board target is implemented :

if hasattr(soc.crg.pll, "locked") and isinstance(self.platform.toolchain, EfinityToolchain):

For Rocket, they keept their NDM_RESET floating (non-functional)

Is there any other way ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant