chipyard icon indicating copy to clipboard operation
chipyard copied to clipboard

Does anyone have an IntelliJ setup for chipyard that allows full editing of chisel/scala code and searching code?

Open gabaxter opened this issue 5 years ago • 3 comments

gabaxter avatar Feb 10 '21 01:02 gabaxter

Most of the Chipyard devs that I know just use Vim/Emacs as their editors + Ctags/Grep to search around. If you end up setting up an IntelliJ setup, feel free to let us know what it takes to setup Chipyard that way!

abejgonzalez avatar Feb 15 '21 02:02 abejgonzalez

I haven't used chipyard specifically, but I remember getting rocket-chip/riscv-boom to work (IntelliJ was a good way to navigate the complexity of rocket-chip!). The only big "trick" I remember needing to do was I found it necessary to first build rocket-chip manually, which constructed the necessary jar files, and then I told IntelliJ "Add as Library..." to point to these compiled jar files. Sorry if my information is very out-of-date or not relevant, but I do want to encourage usage of IntelliJ. It's a good tool, especially when trying to learn a new code base. =).

There's also this blogpost which is maybe relevant : http://blog.edmondcote.com/2018/04/using-intellij-as-rocketchip-ide.html.

ccelio avatar Feb 15 '21 04:02 ccelio

[Closing as question was answered - feel free to reopen as enhancement if there's interest in getting IntelliJ documentation!] + Agreed that to this day most users are on vim/emacs OR VSCode with the Metals extension for Scala: https://github.com/scalameta/metals-vscode

Fi50 avatar Mar 30 '25 21:03 Fi50