verilator_waivers.vlt 1.5 KB

123456789101112131415161718192021222324252627
  1. `verilator_config
  2. // Project waiver file reserved for line-specific Verilator suppressions.
  3. // The active lint profile is visible in tools/prod2u_p4_harness.py as
  4. // VERILATOR_LINT_WAIVERS so detector reports include the exact command.
  5. // Combinational locals inside crc_bit() are intentional blocking assigns.
  6. lint_off -rule BLKSEQ -file "*/src/common/crc16_serial.v"
  7. // door_axis_controller uses blocking assigns to step_next as an intra-cycle
  8. // scratch in the sequential process (truncate/stop mask path); not NBA race.
  9. lint_off -rule BLKSEQ -file "*/src/modules/door_axis_controller.v"
  10. // Shared integer loop index across always @(*) and always @(posedge) is a
  11. // classic Verilog pattern; MULTIDRIVENPROC is a false positive for gen-loop ints.
  12. lint_off -rule MULTIDRIVENPROC -file "*/src/modules/door_motion_controller.v"
  13. lint_off -rule MULTIDRIVENPROC -file "*/src/modules/door_axis_controller.v"
  14. // A1 DDA keeps TRAVEL_WIDTH for interface/width symmetry with rate/travel
  15. // builders; the sequential scheduler itself only consumes rate/threshold.
  16. // Narrow match: only unused TRAVEL_WIDTH, not other UNUSEDPARAM in the file.
  17. lint_off -rule UNUSEDPARAM -file "*/src/modules/door_shared_dda_scheduler.v" -match "*TRAVEL_WIDTH*"
  18. // The POR output intentionally serves as the asynchronous reset for the
  19. // design and is also sampled by synchronous logic. Keep this waiver scoped
  20. // to the single POR register rather than suppressing SYNCASYNCNET globally.
  21. lint_off -rule SYNCASYNCNET -file "*/src/rtl/prod2u_por.v" -match "*por_reset_n*"