Open dzx-dzx opened 2 years ago
Can you share your files?
All in the same folder. Should I also attach the .yml
file?
Is there anything else I shall provide?
Does it work if you provide the full path?
El dom., 26 dic. 2021 4:54, dzx-dzx @.***> escribió:
Is there anything else I shall provide?
— Reply to this email directly, view it on GitHub https://github.com/TerosTechnology/vscode-terosHDL/issues/284#issuecomment-1001103008, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNN4RY6OBRJFCQVT3TKDV3US2GWXANCNFSM5KX26IQA . You are receiving this because you commented.Message ID: @.***>
Does it work if you provide the full path? El dom., 26 dic. 2021 4:54, dzx-dzx @.> escribió: … Is there anything else I shall provide? — Reply to this email directly, view it on GitHub <#284 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNN4RY6OBRJFCQVT3TKDV3US2GWXANCNFSM5KX26IQA . You are receiving this because you commented.Message ID: @.>
That would be successful.
Actually, does terosHDL simply not welcome the use of include
? Few example projects have it.
I need to check it.
El dom., 26 dic. 2021 17:01, dzx-dzx @.***> escribió:
Actually, does terosHDL simply not welcome the use of include? Few example projects have it.
— Reply to this email directly, view it on GitHub https://github.com/TerosTechnology/vscode-terosHDL/issues/284#issuecomment-1001204655, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNN4R2LQHSD7BUHK2Z7SA3US433ZANCNFSM5KX26IQA . You are receiving this because you commented.Message ID: @.***>
This might be helpful: Both files are placed inside a folder that is not the directory vscode opens.
I have done a test with your files. You don't need to use "include" directive. You need to add both files to TerosHDL project manager:
The other solution is only add to the project manager the file "alu_tb.v" and to add the full path in the include directive:
But...Using full path would render it impossible for publishing. Does that mean I simply can't use include
?
Yes, for now it isn't possible.
Hello. Had same problem, there are at least two workarounds for icarus:
"-grelative-include" in "Additional arguments directly passed to linter."
"-I/absolute/path/to/project/" in same place, which allows to use includes relative to project directory (but suitable only for one project)
If you don't use include
, then the linter goes mad about the unknown module type.
If you use include
, then the Icarus just won't build it.
Overall, the idea of using a fixed build directory for all projects is just terrible and causes such bugs.
Same here: cannot use the include directive at all. I want to integrate TerosHDL into an existing codebase, and so I can't remove all the include directives and add the files to the project.
Overall, I wish Teros HDL worked with projects not created with it. I'd love to use it if it was incrementally adoptable/pluggable.
Describe the bug While attempting to compile my testbench... with icarus:
with Modelsim:
Code Code to reproduce the error.
Please complete the following information: