Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linty configuration #1027

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/Linty.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Linty
on:
pull_request:
push:

jobs:
linty:
name: Linty
timeout-minutes: 10
runs-on: ubuntu-latest

steps:
- name: Git Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Cache
uses: actions/[email protected]
with:
path: ~/.sonar/cache
key: sonar
restore-keys: sonar

- name: Run Linty
run: |
docker run \
--rm \
-e SONAR_HOST_URL=https://oss.linty-services.com \
-e SONAR_TOKEN="${{ secrets.LINTY_TOKEN }}" \
-e GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}" \
-e GITHUB_REPOSITORY_OWNER="$GITHUB_REPOSITORY_OWNER" \
-e GITHUB_REPOSITORY="$GITHUB_REPOSITORY" \
-e TABBY_CAD_LICENSE="$TABBY_CAD_LICENSE" \
-v "$PWD:/usr/src" \
lintyservices/linty-scanner:latest
env:
TABBY_CAD_LICENSE: ${{ secrets.TABBY_CAD_LICENSE }}

- name: Debug
if: always()
uses: actions/upload-artifact@v3
with:
name: debug
path: |
.linty/
1 change: 1 addition & 0 deletions hierarchy.ys
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hierarchy -top neorv32_ProcessorTop_UP5KDemo
49 changes: 49 additions & 0 deletions read.ys
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
verific -work neorv32 -vhdl ./rtl/core/neorv32_package.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_sys.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_clockgate.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_fifo.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cpu_decompressor.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cpu_control.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cpu_regfile.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cpu_cp_shifter.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cpu_cp_muldiv.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cpu_cp_bitmanip.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cpu_cp_fpu.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cpu_cp_cfu.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cpu_cp_cond.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cpu_alu.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cpu_lsu.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cpu_pmp.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cpu.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_bus.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cache.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_dma.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_imem.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_dmem.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_boot_rom.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_xip.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_xbus.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_cfs.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_sdi.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_gpio.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_wdt.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_mtime.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_uart.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_spi.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_twi.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_pwm.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_trng.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_neoled.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_xirq.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_gptmr.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_onewire.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_slink.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_crc.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_sysinfo.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_debug_dtm.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_debug_dm.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_top.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_application_image.vhd
verific -work neorv32 -vhdl ./rtl/core/neorv32_bootloader_image.vhd

verific -L neorv32 -vhdl ./rtl/processor_templates/neorv32_ProcessorTop_UP5KDemo.vhd
4 changes: 4 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
sonar.projectKey=neorv32
sonar.sources=./rtl,./sim
sonar.hdl.file.simulationPaths=./sim/**/*.vhd*
sonar.hdl.topModule=neorv32_ProcessorTop_UP5KDemo
Loading