Skip to content
Snippets Groups Projects
Commit a0000ab5 authored by Pieter Donker's avatar Pieter Donker
Browse files

Merge branch 'CWG-44' into 'master'

Resolve CWG-44

Closes CWG-44

See merge request desp/hdl!316
parents ec5bfcde 355429db
No related branches found
No related tags found
1 merge request!316Resolve CWG-44
Pipeline #46173 passed
...@@ -26,10 +26,88 @@ ...@@ -26,10 +26,88 @@
# . See https://support.astron.nl/confluence/display/L2M/L3+SDP+Decision%3A+Gitlab+pipeline+automation+to+test+SDPFW+with+OPC+UA # . See https://support.astron.nl/confluence/display/L2M/L3+SDP+Decision%3A+Gitlab+pipeline+automation+to+test+SDPFW+with+OPC+UA
stages: stages:
- linting
- simulation - simulation
- synthesis - synthesis
- hardware - hardware
lint-vhdl-lib-base:
tags:
- hdl
stage: linting
allow_failure: true
before_script:
- pip3 install vsg --use-pep517
script:
- cd libraries/base
- find . -name "*.vhd" -exec vsg -c ../../vsg_config.yaml -f {} \;
lint-vhdl-lib-dsp:
tags:
- hdl
stage: linting
allow_failure: true
before_script:
- pip3 install vsg --use-pep517
script:
- cd libraries/dsp
- find . -name "*.vhd" -exec vsg -c ../../vsg_config.yaml -f {} \;
lint-vhdl-lib-io:
tags:
- hdl
stage: linting
allow_failure: true
before_script:
- pip3 install vsg --use-pep517
script:
- cd libraries/io
- find . -name "*.vhd" -exec vsg -c ../../vsg_config.yaml -f {} \;
lint-vhdl-lib-technology:
tags:
- hdl
stage: linting
allow_failure: true
before_script:
- pip3 install vsg --use-pep517
script:
- cd libraries/technology
- find . -name "*.vhd" -exec vsg -c ../../vsg_config.yaml -f {} \;
lint-vhdl-boards-uniboard2b:
tags:
- hdl
stage: linting
allow_failure: true
before_script:
- pip3 install vsg --use-pep517
script:
- cd boards/uniboard2b
- find . -name "*.vhd" -exec vsg -c ../../vsg_config.yaml -f {} \;
lint-vhdl-boards-uniboard2c:
tags:
- hdl
stage: linting
allow_failure: true
before_script:
- pip3 install vsg --use-pep517
script:
- cd boards/uniboard2c
- find . -name "*.vhd" -exec vsg -c ../../vsg_config.yaml -f {} \;
lint-vhdl-applications-lofar2:
tags:
- hdl
stage: linting
allow_failure: true
before_script:
- pip3 install vsg --use-pep517
script:
- cd applications/lofar2
- find . -name "*.vhd" -exec vsg -c ../../vsg_config.yaml -f {} \;
############################################################################### ###############################################################################
# HDL simulation stage # HDL simulation stage
############################################################################### ###############################################################################
......
# Gitlab CI/CD
HDL linting is using *gitlab-runners* on *dop349*.
Linting tool used is *vhdl-style-guide* (VSG)
link: https://vhdl-style-guide.readthedocs.io/en/latest/index.html
##### Linting settings.
By default all rules are disabled in de *vsg_config.yaml* file.
The only active rule on this moment is *case.keyword* and is set to *upper*.
rule:
global:
disable: True
group:
case::keyword:
disable: False
case: 'upper'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment