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

Builtin fusesoc parsing cores tree command #674

Open
newfrogg opened this issue Feb 26, 2024 · 1 comment
Open

Builtin fusesoc parsing cores tree command #674

newfrogg opened this issue Feb 26, 2024 · 1 comment

Comments

@newfrogg
Copy link

Recently, I am dealing with ibex-demo-system. There are many cores and I find it hard searching for RTL in each .core file because they loop deeper in vendor directory. In addition, name of core file someway are different from the core names. E.g: core name: "lowrisc:ibex:rv_timer" for rv_timer.core. Thanks.

So I wonder:

  • Are there any commands we can use to parse the core tree.
  • And if existed, can we move through nodes of tree it quickly (like g-f in vim)
@olofk
Copy link
Owner

olofk commented Mar 7, 2024

There isn't any built-in command for that, but I agree it would be handy. Especially with IDE integration.

I have a WIP here https://github.com/olofk/fusesoc/blob/filters/fusesoc/filters/dot.py that generates a dot (gv?) file that describes the core tree, so it is definitely possible to add a variant of that, which could also print out all files associated with each core.

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

2 participants