![]() |
Editor to use with pulpissimo? - Printable Version +- PULP Community (https://pulp-platform.org/community) +-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1) +--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2) +--- Thread: Editor to use with pulpissimo? (/showthread.php?tid=180) |
Editor to use with pulpissimo? - sake - 04-06-2020 Hey, What kind of setup do you people use to work with pulpissimo? I would also like to know about editor extensions that might provide auto-completion, jumping to definition and integration with make build errors. RE: Editor to use with pulpissimo? - kgf - 04-06-2020 There is not 'one' setup that I am aware of. From what I have seen people in our group use generally emacs, sublime and vi, and everyone has their own extensions they feel comfortable with. RE: Editor to use with pulpissimo? - bluewww - 04-06-2020 There is also visual studio code (note this is a FOSS editor and not the IDE) which seems to have decent SystemVerilog support with plugins. I personally use emacs and https://github.com/universal-ctags/ctags to generate a TAGS file that allows jumping to definition/auto-completion. The default tag tools (excuberant ctags, etags) do not have SystemVerilog support. Make build errors are already a basic feature of emacs, though you need to add your own regular expression to parse your tool's error format (often some line number and error text). This allows you to click on the errors messages which will then show you the appropriate code section. RE: Editor to use with pulpissimo? - sake - 04-17-2020 Can somebody post their .emacs file or the relevant lines regarding formatting verilog the way in pulpissimo. RE: Editor to use with pulpissimo? - meggiman - 04-18-2020 Hi sake, I'm personally using a heavily customized version of emacs called spacemacs ( https://www.spacemacs.org) a community managed .emacs.d customization. Although their homepage says that it is focused on using VIM keybindings in Emacs you can also use normal emacs keybinding and profit from all the nice customizations for a plethora of programming languages and other applications. Just to clarify Spacemacs is not a different program. Its just a huge (some people might argue to bloated) set of customization for normal emacs to make it look and feel more like an editor of the 21st century. You find my personal customization file on Github: https://github.com/meggiman/iis-spacemacs-config This customization uses emacs keybindings instead of the VIM ones that Spacemacs would normally use. This configuration maps the global leader key of Spacemacs (SPACE) to (M-m). Among various other personal customizations, there are a bunch of useful additions specifically for HDL development in SystemVerilog. Most of them where added to make it easier for me to navigate through the huge RTL code base of PULPissimo that can be quite intimidating in the beginning. If you are somewhat experienced using emacs and willing to give it a try here are some features and tricks on how to use the customization effectively to make your life easier when exploring the PULPissimo codebase or when developing SystemVerilog in general. For me at least they gave a huge efficiency boost when exploring new HDL (or other languages) codebases:
Greetings, Manuel RE: Editor to use with pulpissimo? - sake - 04-18-2020 Yes I'm familiar with emacs, I could have mentioned it before. Thanks for descriptive answer, good stuff. |