zero-day-labs / riscv-iommu

IOMMU IP compliant with the RISC-V IOMMU Specification v1.0
Apache License 2.0
66 stars 12 forks source link

Parameter pin not found: `axi_lite_req_t` #1

Closed pcotret closed 1 year ago

pcotret commented 1 year ago
git clone https://github.com/zero-day-labs/riscv-iommu
cd riscv-iommu
git checkout wip/iommu
make

Got me into this error:

$ make      
verilator --lint-only lint_checks.sv -I./packages -I./vendor -I./include -I./src -Wno-MULTITOP -Wno-UNOPTFLAT -Wno-CASEINCOMPLETE -Wno-UNSIGNED -Wno-CMPCONST -Wno-SYMRSVDWORD -Wno-LATCH
%Error-PINNOTFOUND: src/lint_checks.sv:72:4: Parameter pin not found: 'axi_lite_req_t'
   72 |   .axi_lite_req_t  ( axi_lite_req_t   ),
      |    ^~~~~~~~~~~~~~
                    packages/ariane_axi_soc_pkg.sv:22:1: ... note: In file included from ariane_axi_soc_pkg.sv
                    src/lint_checks.sv:22:1: ... note: In file included from lint_checks.sv
                    ... For error description see https://verilator.org/warn/PINNOTFOUND?v=5.006
%Error-PINNOTFOUND: src/lint_checks.sv:73:4: Parameter pin not found: 'axi_lite_resp_t'
   73 |   .axi_lite_resp_t ( axi_lite_resp_t   ),
      |    ^~~~~~~~~~~~~~~
                    packages/ariane_axi_soc_pkg.sv:22:1: ... note: In file included from ariane_axi_soc_pkg.sv
                    src/lint_checks.sv:22:1: ... note: In file included from lint_checks.sv
%Error: Exiting due to 2 error(s)
        ... See the manual at https://verilator.org/verilator_doc.html for more assistance.
make: *** [Makefile:14: lint] Error 1

However, this structure is clearly defined here and Makefile includes the correct path.

Verilator version:

$ verilator --version   
Verilator 5.006 2023-01-22 rev v5.006-31-g8cc31c6cf
pcotret commented 1 year ago

Closing the issue for now. I'll make a more precise issue to fix it.