Skip to content

SublimeLinter plugin for using ModelSim/QuestaSim vcom to lint VHDL

License

Notifications You must be signed in to change notification settings

vengin/SublimeLinter-contrib-vcom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SublimeLinter-contrib-vcom

This linter plugin for SublimeLinter provides an interface to vcom/vlog - VHDL/Verilog/SystemVerilog compilers provided with ModelSim and QuestaSim which provide a linting mode. vcom will be used with "VHDL" files , vlog with "Verilog" and "SystemVerilog" files.

Installation

SublimeLinter must be installed in order to use this plugin.

Please use Package Control to install the linter plugin.

Before installing this plugin, you must ensure that vcom/vlog are installed on your system.

In order for vcom/vlog to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover troubleshooting PATH configuration.

Settings

Passing arguments to vcom/vlog

Arguments can be passed in a linter settings file or set in a project settings file:

  1. Using linter settings file:
    {
      "linters": {
        "vcom": {
          "args": ["-check_synthesis", "-2002"],
          "working_dir": "$project_path/../sim",
      },
    }
  2. Alternately, project specific arguments can be set in a project file:
    "settings":
    {
      // SublimeLinter-contrib-vcom
      "SublimeLinter.linters.vcom.args": ["-check_synthesis", "-2002"],
      "SublimeLinter.linters.vcom.working_dir": "$project_path/../sim",
    },

Demo

vcom for vhdl file:

vcom_lint_example

vlog for verilog file:

vlog_lint_example

About

SublimeLinter plugin for using ModelSim/QuestaSim vcom to lint VHDL

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 91.9%
  • VHDL 4.4%
  • Verilog 3.7%