mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-19 11:44:58 -04:00
Linting verilator script for _top (#126)
Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>
This commit is contained in:
parent
a439ef7ad9
commit
7880e5ae68
1 changed files with 16 additions and 0 deletions
16
scripts/verilator/verilate.sh
Executable file
16
scripts/verilator/verilate.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
VLT_CONFIG="./lint/verilator_waiver.vlt"
|
||||
|
||||
SV_DEPS="./vendor/lowrisc_ip/ip/prim/rtl/prim_ram_1p_pkg.sv rtl/cve2_pkg.sv ./bhv/cve2_sim_clock_gate.sv"
|
||||
SV_TOP="./rtl/cve2_top.sv"
|
||||
|
||||
|
||||
verilator --lint-only \
|
||||
-Wall \
|
||||
-I./rtl \
|
||||
-I./vendor/lowrisc_ip/ip/prim/rtl \
|
||||
-I./vendor/lowrisc_ip/dv/sv/dv_utils \
|
||||
${VLT_CONFIG} \
|
||||
${SV_DEPS} \
|
||||
${SV_TOP}
|
Loading…
Add table
Reference in a new issue