-
-
Notifications
You must be signed in to change notification settings - Fork 7
Navigation
Gonzalo Larumbe edited this page Feb 20, 2023
·
14 revisions
For Ubuntu/Debian:
sudo apt-get install global universal-ctags python3-pygments silversearcher-ag ripgrep
Context aware functions (do what I mean) depending on the file being edited. Modules (RTL) navigate through instances while classes (Verification) navigate through methods/defuns.
Functions:
verilog-ext-nav-down-dwim
verilog-ext-nav-up-dwim
verilog-ext-nav-beg-of-defun-dwim
verilog-ext-nav-end-of-defun-dwim
verilog-ext-nav-next-dwim
verilog-ext-nav-prev-dwim
Jump to definition of module at point. Requires setting up an xref-backend via LSP, ggtags or other means. See link to configure.
Jump to parent module via ag
/ripgrep
.
Context aware functions (do what I mean) depending on the file being edited. Modules (RTL) navigate through instances while classes (Verification) navigate through methods/defuns.
-
Navigate through instances inside a module:
verilog-ext-find-module-instance-fwd
verilog-ext-find-module-instance-bwd
-
Jump to definition/references of module at point
verilog-ext-jump-to-module-at-point-def
verilog-ext-jump-to-module-at-point-ref
-
Jump to parent module
verilog-ext-jump-to-parent-module
-
Context aware dwim navigation (do what I mean):
verilog-ext-nav-beg-of-defun-dwim
verilog-ext-nav-end-of-defun-dwim
verilog-ext-nav-down-dwim
verilog-ext-nav-up-dwim
verilog-ext-nav-prev-dwim
verilog-ext-nav-next-dwim