[aon_timer/lint] Minor lint fixes
Signed-off-by: Tom Roberts <tomroberts@lowrisc.org>
diff --git a/hw/ip/aon_timer/aon_timer.core b/hw/ip/aon_timer/aon_timer.core
index e7abcb0..487eaa4 100644
--- a/hw/ip/aon_timer/aon_timer.core
+++ b/hw/ip/aon_timer/aon_timer.core
@@ -22,12 +22,18 @@
# common waivers
- lowrisc:lint:common
- lowrisc:lint:comportable
+ files:
+ - lint/aon_timer.vlt
+ file_type: vlt
files_ascentlint_waiver:
depend:
# common waivers
- lowrisc:lint:common
- lowrisc:lint:comportable
+ files:
+ - lint/aon_timer.waiver
+ file_type: waiver
files_veriblelint_waiver:
depend:
diff --git a/hw/ip/aon_timer/rtl/aon_timer.sv b/hw/ip/aon_timer/rtl/aon_timer.sv
index 1435bb6..61d772b 100644
--- a/hw/ip/aon_timer/rtl/aon_timer.sv
+++ b/hw/ip/aon_timer/rtl/aon_timer.sv
@@ -36,7 +36,7 @@
// Register structs
aon_timer_reg2hw_t reg2hw;
aon_timer_hw2reg_t hw2reg, aon_hw2reg, hw2reg_sync;
- logic [1:0] unused_intr_state_bits;
+ logic unused_intr_state_bits;
// Register read signals
logic wkup_enable;
logic [11:0] wkup_prescaler;
@@ -116,7 +116,7 @@
assign hw2reg.wdog_bite_thold.d = hw2reg_sync.wdog_bite_thold.d;
assign hw2reg.wdog_count.d = hw2reg_sync.wdog_count.d;
assign hw2reg.wkup_cause.d = hw2reg_sync.wkup_cause.d;
- assign unused_intr_state_bits = hw2reg_sync.intr_state;
+ assign unused_intr_state_bits = &{1'b0, hw2reg_sync.intr_state};
//////////////////////////////
// Register Write Interface //