How can I add an include path in a way that macros will be found using F12 ? I'm pretty new to vscode so I'm not sure this is a vscode or Verilog-HDL configuration.
For instance, I'm including in my verilog code a file like:
`include "axi_atomic_op.vh"
The include file is in a include directory at the same level of my verilog file. Due to other project configurations, I rather prefer not using relative path, like `include "../include/axi_atomic_op.vh
As you can see, macros definitions are not found:
For linting, I'm using verilator and added the configuration:
Hello,
How can I add an include path in a way that macros will be found using F12 ? I'm pretty new to vscode so I'm not sure this is a vscode or Verilog-HDL configuration.
For instance, I'm including in my verilog code a file like:
The include file is in a
include
directory at the same level of my verilog file. Due to other project configurations, I rather prefer not using relative path, like`include "../include/axi_atomic_op.vh
As you can see, macros definitions are not found:
For linting, I'm using
verilator
and added the configuration:So macros in
axi_atomic_op.vh
are found for linting.Any help here? Thanks in advance!