Skip to content

Build fails with Verilator 5.x due to missing warning suppressions #318

@karabambus

Description

@karabambus

Building cve2_riscv_compliance with Verilator 5.x (tested: 5.044) fails because three warnings are promoted to errors in 5.x but are not suppressed in cve2_riscv_compliance.core:

  • UNOPTFLAT
  • MODDUP
  • PINMISSING

tool_requirements.py specifies verilator >= 4.210 but the build is incompatible with 5.x as-is.

Fix: add -Wno-UNOPTFLAT -Wno-MODDUP -Wno-PINMISSING to verilator_options in dv/riscv_compliance/cve2_riscv_compliance.core.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions