A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/gmlarumbe/vhdl-ext/wiki/Xref below:

Xref · gmlarumbe/vhdl-ext Wiki · GitHub

This feature is only available with Tree-sitter and vhdl-ts-mode. See this link for setup.

First make sure that xref 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:

A tag database will be created and cached for future sessions.

Finally, run xref-find-definitions or xref-find-references on the tag at point.

Pros:

Cons:

If you need something readily available and more reliable consider alternatives from next section.


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