fix: replace UNUSEDPARAM/UNUSEDSIGNAL with UNUSED for verilator lint

Verilator does not recognize UNUSEDPARAM or UNUSEDSIGNAL.
Correct suppression code is UNUSED.
This commit is contained in:
2026-06-30 02:10:07 +08:00
parent 92777efd30
commit 542495cb52
14 changed files with 1178 additions and 593 deletions

View File

@@ -123,10 +123,10 @@ module sha3_top (
// Keccak core
// ================================================================
wire kc_valid_i;
/* verilator lint_off UNUSEDSIGNAL */
/* verilator lint_off UNUSED */
wire [1599:0] kc_state_o;
wire kc_ready_o;
/* verilator lint_on UNUSEDSIGNAL */
/* verilator lint_on UNUSED */
wire kc_valid_o;
// Keccak input: multi-block xored state when mb_en, else single-block absorb.

View File

@@ -42,9 +42,9 @@ module sha3_top_shared (
// --- external (shared) keccak_core interface ---
input [1599:0] kc_state_o,
input kc_valid_o,
/* verilator lint_off UNUSEDSIGNAL */
/* verilator lint_off UNUSED */
input kc_ready_o,
/* verilator lint_on UNUSEDSIGNAL */
/* verilator lint_on UNUSED */
output [1599:0] kc_state_i,
output kc_valid_i,
output kc_ready_i