This feature is only available with Tree-sitter and vhdl-ts-mode
. See this link for setup.
First make sure that capf
has been included in vhdl-ext-feature-list
before running vhdl-ext-mode-setup
.
Set the variable vhdl-ext-project-alist
:
(setq vhdl-ext-project-alist ("axi_if_converter" :root "/home/gonz/Repos/larumbe/axi_if_converter" :files ("src/top/rtl/global_pkg.vhd" "src/misc/clk_div.vhd" "src/misc/clk_sync.vhd" "src/pattern_counter/rtl/pattern_counter.vhd" "src/input_buffer/rtl/input_buffer_pkg.vhd" "src/input_buffer/rtl/input_buffer.vhd" "src/core_fsm/rtl/core_fsm.vhd" "src/axi_lite_regs/rtl/axi_lite_regs.vhd" "src/axi_lite_master/rtl/axi_lite_master.vhd" "src/core_conv/rtl/core_converter.vhd" "src/top/rtl/axi_if_converter.vhd") ;; The ones below are used for GHDL-related features :worklib "xil_defaultlib" ; Defaults to `work' if not set :workdir "library/xil_defaultlib" ; Output compilation directory for worklib :lib-search-path ("/opt/ghdl_Xilinx_lib/"))) ; Extra directories to look for compiled libraries
Next visit one of the project files and gather tags through one of these commands:
M-x vhdl-ext-tags-get RET
M-x vhdl-ext-tags-get-async RET
A tag database will be created and cached for future sessions.
Finally run completion-at-point
, or if you are using company
add company-capf
as a company
backend.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4