Dear SVEditor,
What i have seen it is an extrange error. I think it is difficult to reproduce and it is not so important because of the workaround i have.
Lets assume i have the folloding test.f file
+incdir+F:/uvm-1.1d/uvm-1.1d/src/
F:/uvm-1.1d/uvm-1.1d/src/uvm_macros.svh
Z:/SVN_Projects/test_pkg.sv
Z:/SVN_Projects/test_sequence.sv
i used full path and the incdir to be sure that the UVM_MACROS are included/registered to eclipse/SVeditor.
Besides, as stated on, https://sourceforge.net/p/sveditor/bugs/310/#e65a and on https://sourceforge.net/p/sveditor/discussion/833803/thread/1652b5b3/#017e
the test_pkg.s includes the uvm_macros and the test_sequence.sv.
include "uvm_macros.svh"
package test_pkg
include "./test_sequence.sv"
endpackage
from what i understand, i don't need to include again include "uvm_macros.svh" inside the file test_sequence.sv.
The problem is that although everything else works (blue point on files, outline view and macro expansion), the uvm_macros are showed as errors on the "test_sequence.sv" file.
If i include the uvm_macros on the "test_sequence.sv", then all macro errors dissapear (my solution). What is also strange is that although eclipse shows me the "uvm macros" as errors, when i do mouse-over the macros, then it can expands the macros.
Are you able to reproduce that?
My colleage did reproduce once but after modifying the direction of the slashes "/" it recognized the macros again. For me that is not working, both are using eclipse for window and last version of SVeditor.
FYI: Setting -mfcu at the .f file doesn't work.
Thanks
Best regards,
Jonathan
I realized that in .f file i had also included a .txt file, could it be that the problem?
+incdir+F:/uvm-1.1d/uvm-1.1d/src/
F:/uvm-1.1d/uvm-1.1d/src/uvm_macros.svh
Z:/SVN_Projects/test_pkg.sv
Z:/SVN_Projects/readme.txt
Z:/SVN_Projects/test_sequence.sv
I think we can close this. This has been solved with the last versions of SVEditor. I don´t know which version exactly solved the problem, but now it works.