Skip to content

Commit 6d24f37

Browse files
committed
[spi_device,lint] Fix spi_device VARHIDDEN lint issue
TpmRdFifoWidth from spi_device_reg_pkg was imported on L11, then overwritten with a localparam with the same name and value on L87. This commit removes the redundant localparam. Signed-off-by: Ray Lau <[email protected]>
1 parent 24a3888 commit 6d24f37

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

hw/ip/spi_device/rtl/spi_device.sv

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ module spi_device
8484
localparam int unsigned ReadBufferDepth = spi_device_pkg::SramMsgDepth;
8585
localparam int unsigned BufferAw = $clog2(ReadBufferDepth);
8686

87-
localparam int unsigned TpmRdFifoWidth = spi_device_reg_pkg::TpmRdFifoWidth;
88-
8987
// Derived parameters
9088
localparam top_racl_pkg::racl_range_t [0:0] RaclPolicySelRangesEgressbuffer = '{
9189
'{

0 commit comments

Comments
 (0)