Skip to content

VS Code problem #352

Open
Open
@dmradcilff

Description

@dmradcilff

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions