You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Before I get into it, just wanna say that I absolutely love hdl_checker, it has made my development at work so much more streamlined.
I have noticed this issue a couple times, and decided to make an example reproducible thing and report it. I have noticed that if you already have a project defined (with .hdl_checker.config and .hdl_checker/ at the root) in which there have already been compiled sources; then you create a new file, it doesn't get added to the project, even though it is defined (by a glob. or explicitly defined) in the project file. So I get an error [HDL Checker] [W] Path "/home/sgower/test/test1.vhd" not found in project file". Deleting the .hdl_checker directory and reopening the file makes it work.
Here is a simple test project that shows the error. I realize you won't be able to use it perfectly given the path names, but here's a list of steps to reproduce it, but you can still use the source files and the config file.
Put test.vhd into the project directory (don't put test1.vhd)
Open it and run hdl_checker on it
Move test1.vhd into the project, and open it.
It should show the error.
I haven't tried it with other compilers, but I feel like this wouldn't be modelsim specific.
EDIT: It seems that in addition to deleting the .hdl_checker/ directory, touch .hdl_checker.config and restarting the editor also worked. Is this an intended behavior, to not reprocess the config file every time, only if its timestamp is newer?
The text was updated successfully, but these errors were encountered:
Issue details
Hello,
Before I get into it, just wanna say that I absolutely love
hdl_checker
, it has made my development at work so much more streamlined.I have noticed this issue a couple times, and decided to make an example reproducible thing and report it. I have noticed that if you already have a project defined (with
.hdl_checker.config
and.hdl_checker/
at the root) in which there have already been compiled sources; then you create a new file, it doesn't get added to the project, even though it is defined (by a glob. or explicitly defined) in the project file. So I get an error[HDL Checker] [W] Path "/home/sgower/test/test1.vhd" not found in project file"
. Deleting the.hdl_checker
directory and reopening the file makes it work.When opening an issue, make sure you provide
hdl_checker -V
:0.7.3
python3 --version
:Python 3.8.5
vsim -version
:Model Technology ModelSim - Intel FPGA Edition vsim 2020.3 Simulator 2020.07 Jul 22 2020
HDL Checker Log
Here is a simple test project that shows the error. I realize you won't be able to use it perfectly given the path names, but here's a list of steps to reproduce it, but you can still use the source files and the config file.
test.vhd
into the project directory (don't puttest1.vhd
)test1.vhd
into the project, and open it.I haven't tried it with other compilers, but I feel like this wouldn't be modelsim specific.
EDIT: It seems that in addition to deleting the
.hdl_checker/
directory,touch .hdl_checker.config
and restarting the editor also worked. Is this an intended behavior, to not reprocess the config file every time, only if its timestamp is newer?The text was updated successfully, but these errors were encountered: