If you have tested the linters in new platforms or have issues with them, feel free to file an issue. While using `include directives, the path to the files should be relative to the workspace directory, unless runAtFileLocation is enabled (not supported by all linters).) to be present in the PATH environment variable, unless otherwise specified. All linters expect the executable binary ( iverilog, verilator.
Useful if the code was changed by an external script or version control system.Ĭhoose a module present in your workspace to instantiate it in the current file. Under Simulation, select ModelSim as the simulator.
Before you build a simulation export, configure the simulator. Open the Output pane in VS Code and choose Verilog in the drop-down menu to view the log.Ĭhoose a lint tool from the list and run it manually. Configure the LabVIEW FPGA Module for Simulation. (Default: false )Įnable logging for this extension. Make sure svls is in your $PATH environmental variable. Path to your installation of Ctags if it isn't already present in your PATH environment variable. Paths generated automatically by theĮxtension (the path to the Verilog file as well as the auto-generated document folder for -I ) are translated
Run verilator under WSL (use apg-get install verilator to install). Saved configuration can be read by choosing (ModelSim : File - Load Format.) and choosing the file you have saved. The argument -lint-only -I will be added by the linter automatically. Saving the configuration After your simulation environment is ready, you can save it in the script file as a configuration for future use by choosing (Wave : File - Save Format.). (Default: nothing)Īdd custom arguments to Verilator for linting, like -Wall. (Default: nothing)Īdd custom work library to Modelsim for linting. (Default: nothing)Īdd custom arguments to Modelsim for linting. If enabled, `include directives should contain file paths relative to the current file. Enable this option to run at the file location. (Default: false )īy default, the linter will be run at the workspace directory. The argument -t null will be added by the linter automatically. (Default: nothing)Īdd custom arguments to Icarus Verilog for linting, like -Wall. Use the following settings to configure the extension to your needsĬhoose the linter for you.