On Fri, 9 Feb 2024 at 00:03, Boris Matveev (Borisus)
<
mboris...@gmail.com> wrote:
>
> Hello, verible community!
>
> I'm new to Verible and linters at all, but this application is amazing!
> I'm using VScode on my windows machine. I've installed verible extention with language server.
>
> When I use UVM macros like `uvm_error, `uvm_fatal, etc, they're highlighted as syntax errors and no futher syntax errors are visible.
Verible is not working well with macros in all circumstances yet, so
this could be a contributing problem here.
Haven't looked at files with uvm macros recently, but usually they
should not harm parsing too much.
You can use the command line tool `verible-verilog-syntax` to parse
the file and see what errors it reports ( Get builds here
https://github.com/chipsalliance/verible/releases/latest ).
> I've watched rules options, but still I can't figure out, how to stop checking macros. Is it even possible?
Usually, while parsing, macros are often considered as behaving as
function calls, so that Verible does not have through all the macro
resolution as it might need to make parsing decisions in absense of
the available include files etc.
So there is currently no fine-control for that (I have that in the
works, but whatever time on weekend allows...).
So I'd say next step is to run verible-verilog-syntax on the file and
report back. Is the file you're looking at part of an OpenSource
Verilog project ? Then a link to that file would of course also be
useful.
Cheers,
Henner.