[dv] Cleanup lint warnings in spi_device DV

Signed-off-by: Srikrishna Iyer <sriyer@google.com>
diff --git a/hw/ip/spi_device/dv/env/seq_lib/spi_device_base_vseq.sv b/hw/ip/spi_device/dv/env/seq_lib/spi_device_base_vseq.sv
index 987f437..3a90ae3 100644
--- a/hw/ip/spi_device/dv/env/seq_lib/spi_device_base_vseq.sv
+++ b/hw/ip/spi_device/dv/env/seq_lib/spi_device_base_vseq.sv
@@ -213,7 +213,7 @@
   // write spi device data to send when incoming host traffic arrives
   virtual task write_device_words_to_send(bit [31:0] device_data[$]);
     bit [TL_DW-1:0] tx_wptr;
-    uint tx_sram_size_bytes = `get_tx_allocated_sram_size_bytes;
+    uint tx_sram_size_bytes = `GET_TX_ALLOCATED_SRAM_SIZE_BYTES;
 
     // write data to tx base address + curr tx wptr
     tx_wptr = ral.txf_ptr.wptr.get_mirrored_value();
@@ -243,7 +243,7 @@
   // read spi host data received from the host
   virtual task read_host_words_rcvd(uint num_words, ref bit [31:0] host_data[$]);
     bit [TL_DW-1:0] rx_rptr;
-    uint rx_sram_size_bytes = `get_rx_allocated_sram_size_bytes;
+    uint rx_sram_size_bytes = `GET_RX_ALLOCATED_SRAM_SIZE_BYTES;
 
     // read data from rx base address + curr rptr
     rx_rptr = ral.rxf_ptr.rptr.get_mirrored_value();
@@ -273,7 +273,7 @@
   virtual task read_tx_avail_bytes(sram_avail_type_e avail_type, ref uint avail_bytes);
     bit [TL_DW-1:0] rptr;
     bit [TL_DW-1:0] wptr;
-    uint            sram_size_bytes = `get_tx_allocated_sram_size_bytes;
+    uint            sram_size_bytes = `GET_TX_ALLOCATED_SRAM_SIZE_BYTES;
 
     csr_rd(.ptr(ral.txf_ptr.rptr), .value(rptr));
     wptr = ral.txf_ptr.wptr.get_mirrored_value();
@@ -298,7 +298,7 @@
   virtual task read_rx_avail_bytes(sram_avail_type_e avail_type, ref uint avail_bytes);
     bit [TL_DW-1:0] rptr;
     bit [TL_DW-1:0] wptr;
-    uint            sram_size_bytes = `get_rx_allocated_sram_size_bytes;
+    uint            sram_size_bytes = `GET_RX_ALLOCATED_SRAM_SIZE_BYTES;
 
     csr_rd(.ptr(ral.rxf_ptr.wptr), .value(wptr));
     rptr = ral.rxf_ptr.rptr.get_mirrored_value();
diff --git a/hw/ip/spi_device/dv/env/spi_device_env_pkg.sv b/hw/ip/spi_device/dv/env/spi_device_env_pkg.sv
index 199d40c..a915c6b 100644
--- a/hw/ip/spi_device/dv/env/spi_device_env_pkg.sv
+++ b/hw/ip/spi_device/dv/env/spi_device_env_pkg.sv
@@ -99,11 +99,11 @@
   endfunction
 
   // macros
-  `define get_tx_allocated_sram_size_bytes \
+  `define GET_TX_ALLOCATED_SRAM_SIZE_BYTES \
     get_allocated_sram_size_bytes(ral.txf_addr.base.get_mirrored_value(), \
                                   ral.txf_addr.limit.get_mirrored_value())
 
-  `define get_rx_allocated_sram_size_bytes \
+  `define GET_RX_ALLOCATED_SRAM_SIZE_BYTES \
     get_allocated_sram_size_bytes(ral.rxf_addr.base.get_mirrored_value(), \
                                   ral.rxf_addr.limit.get_mirrored_value())
 
@@ -115,6 +115,6 @@
   `include "spi_device_env.sv"
   `include "spi_device_vseq_list.sv"
 
-  `undef get_tx_allocated_sram_size_bytes
-  `undef get_rx_allocated_sram_size_bytes
+  `undef GET_TX_ALLOCATED_SRAM_SIZE_BYTES
+  `undef GET_RX_ALLOCATED_SRAM_SIZE_BYTES
 endpackage
diff --git a/hw/ip/spi_device/dv/env/spi_device_scoreboard.sv b/hw/ip/spi_device/dv/env/spi_device_scoreboard.sv
index 4060e25..50e7282 100644
--- a/hw/ip/spi_device/dv/env/spi_device_scoreboard.sv
+++ b/hw/ip/spi_device/dv/env/spi_device_scoreboard.sv
@@ -156,7 +156,7 @@
                                tx_rptr_exp, tx_mem.read(tx_rptr_exp[SRAM_MSB:0])), UVM_MEDIUM)
       tx_rptr_exp = get_sram_new_ptr(.ptr(tx_rptr_exp),
                                      .increment(SRAM_WORD_SIZE),
-                                     .sram_size_bytes(`get_tx_allocated_sram_size_bytes));
+                                     .sram_size_bytes(`GET_TX_ALLOCATED_SRAM_SIZE_BYTES));
       filled_bytes -= SRAM_WORD_SIZE;
     end
   endfunction
@@ -198,7 +198,7 @@
                                 rx_wptr_exp, data), UVM_MEDIUM)
       rx_wptr_exp = get_sram_new_ptr(.ptr(rx_wptr_exp),
                                      .increment(SRAM_WORD_SIZE),
-                                     .sram_size_bytes(`get_rx_allocated_sram_size_bytes));
+                                     .sram_size_bytes(`GET_RX_ALLOCATED_SRAM_SIZE_BYTES));
       space_bytes -= SRAM_WORD_SIZE;
     end
   endfunction
@@ -207,7 +207,7 @@
     uint tx_wptr      = ral.txf_ptr.wptr.get_mirrored_value();
     uint filled_bytes = get_sram_filled_bytes(tx_wptr,
                                               tx_rptr_exp,
-                                              `get_tx_allocated_sram_size_bytes,
+                                              `GET_TX_ALLOCATED_SRAM_SIZE_BYTES,
                                               {`gfn, "::get_tx_sram_filled_bytes"});
     return filled_bytes;
   endfunction
@@ -216,7 +216,7 @@
     uint rx_rptr     = ral.rxf_ptr.rptr.get_mirrored_value();
     uint space_bytes = get_sram_space_bytes(rx_wptr_exp,
                                             rx_rptr,
-                                            `get_rx_allocated_sram_size_bytes,
+                                            `GET_RX_ALLOCATED_SRAM_SIZE_BYTES,
                                             {`gfn, "::get_rx_sram_space_bytes"});
     return space_bytes;
   endfunction