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
I have a .toml file but every time I start VS Code I get this error. Any idea what I am doing wrong?
I do not have a .toml file in my home directory. It is instead at the top level of my project directory.
Error while loading HOME folder configuration file: The 'work' library is not a valid library.
Hint: To use a library that contains all files, use a common name for all libraries, i.e., 'defaultlib'
# File names are either absolute or relative to the parent folder of the
# vhdl_ls.toml file and supports glob-style patterns.
[libraries]
simulation.files = [
'testbench/**/*.v'
]
module.files = ['modules/**/*.vhd']
ip.files = [
'dpram/**/*.v',
'rx/**/*.v',
'tx/**/*.v'
]
top.files = [
'source/**/*.v',
]
# Libraries can be marked as third-party to disable some analysis warnings, such as unused declarations
UNISIM.files = [
'/opt/Xilinx/Vivado/2020.2/data/vhdl/src/unisims/unisim_VCOMP.vhd',
]
UNISIM.is_third_party = true
UNIMACRO.files = [
'/opt/Xilinx/Vivado/2020.2/data/vhdl/src/unimacro/*.vhd',
]
UNIMACRO.is_third_party = true
The text was updated successfully, but these errors were encountered:
Hi @dmradcilff, it's a bit difficult to read your toml file because it's been mixed up by the github markdown.
If you put three backticks (```)on the line above and below your snippet, it will format the snippet as a code block, making it much easier to read, e.g.
here is my code
# no markdown formatting
Judging by the error message, I would check that your toml file doesn't create a library called "work". If you can post the toml file as a code snippet then I could try to see whether I can recreate your problem.
Is the toml file that you posted located in your home directory?
I have a .toml file but every time I start VS Code I get this error. Any idea what I am doing wrong?
I do not have a .toml file in my home directory. It is instead at the top level of my project directory.
Error while loading HOME folder configuration file: The 'work' library is not a valid library.
Hint: To use a library that contains all files, use a common name for all libraries, i.e., 'defaultlib'
The text was updated successfully, but these errors were encountered: