Run Analysis - VHDLTool/sonar-VHDLRC GitHub Wiki

In order to analyse a vhdl project, SonarQube server must be running. (How?)

Create a configuration file in the root directory of the project: sonar-project.properties

sonar-project.properties

# must be unique in a given SonarQube instance
sonar.projectKey=my:project
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
sonar.projectName=My project
sonar.projectVersion=1.0
 
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# This property is optional if sonar.modules is set. 
sonar.sources=.

# Comma-separated Top entities, format : Library.Entity(architecture)
sonar.vhdl.topEntities=work.top(rtl)

More info on analysis parameters
Library and architecture of top entities are optional (e.g. top, work.MY_top) but a top entity name has to be selected otherwise rule reported won't be correct.

Run the following command from the project base directory to launch the analysis:

rc-scanner

You should get an EXECUTION SUCCESS
Now learn how to manage your projects with SonarQube