I developed a very simple intellij plugin , so that we can use this diagrammer tool by Right-click on the opened firrtl file in the IDE.
here is the experimental build, one can download and install it from the intellij idea plugin manager
easysoc-diagrammer-1.0.0.zip
it will generate dot and svg files in the directory where the current firrtl file is located.
currently it doesn't open program to view the result.
although it works, I don't really like it because it has a lot of dependencies.
this plugin depend on another plugin easysoc-firrtl which support firrtl syntax highlighting, structure view and jump to the corresponding Chisel code by navigate(Ctrl+Click) the Firrtl fileinfo comment in intellij IDE.
the plugin easysoc-firrtl use antlr4 grammar definition by Firrtl, and the PSI (Program Structure Interface) has been successfully constructed, which provide a basis for other functions.
If someone want to provide functions such as circuit visualization based on intellij IDE, I think this may be a starting point to consider.
I developed a very simple intellij plugin , so that we can use this diagrammer tool by Right-click on the opened firrtl file in the IDE.
here is the experimental build, one can download and install it from the intellij idea plugin manager easysoc-diagrammer-1.0.0.zip
it will generate dot and svg files in the directory where the current firrtl file is located. currently it doesn't open program to view the result.
although it works, I don't really like it because it has a lot of dependencies.
this plugin depend on another plugin easysoc-firrtl which support firrtl syntax highlighting, structure view and jump to the corresponding Chisel code by navigate(Ctrl+Click) the Firrtl fileinfo comment in intellij IDE.
the plugin easysoc-firrtl use antlr4 grammar definition by Firrtl, and the PSI (Program Structure Interface) has been successfully constructed, which provide a basis for other functions.
If someone want to provide functions such as circuit visualization based on intellij IDE, I think this may be a starting point to consider.