[dv] Fix indent in spi_monitor

No functional change, only update indents and spaces

Signed-off-by: Weicai Yang <weicai@google.com>
diff --git a/hw/dv/sv/spi_agent/spi_monitor.sv b/hw/dv/sv/spi_agent/spi_monitor.sv
index 0299678..ad100e2 100644
--- a/hw/dv/sv/spi_agent/spi_monitor.sv
+++ b/hw/dv/sv/spi_agent/spi_monitor.sv
@@ -54,13 +54,13 @@
     fork
       begin: isolation_thread
         fork
-          begin: csb_deassert_thread
+          begin : csb_deassert_thread
             wait(cfg.vif.csb[cfg.csb_sel] == 1'b1);
           end
-          begin: sample_thread
+          begin : sample_thread
             // for mode 1 and 3, get the leading edges out of the way
             cfg.wait_sck_edge(LeadingEdge);
-            forever begin
+            forever begin : loop_forever
               bit [7:0] host_byte;    // from sio
               bit [7:0] device_byte;  // from sio
               int       which_bit_h;
@@ -74,21 +74,21 @@
               end
 
               case(cmd)
-              CmdOnly, ReadStd, WriteStd: begin
-                data_shift = 1;
-              end
-              ReadDual, WriteDual: begin
-                data_shift = 2;
-              end
-              ReadQuad, WriteQuad: begin
-                data_shift = 4;
-              end
-              default: begin
-                data_shift = 1;
-              end
+                CmdOnly, ReadStd, WriteStd: begin
+                  data_shift = 1;
+                end
+                ReadDual, WriteDual: begin
+                  data_shift = 2;
+                end
+                ReadQuad, WriteQuad: begin
+                  data_shift = 4;
+                end
+                default: begin
+                  data_shift = 1;
+                end
               endcase
 
-              for (int i = 0; i < num_samples; i = i + data_shift) begin
+              for (int i = 0; i < num_samples; i = i + data_shift) begin : loop_num_samples
                 // wait for the sampling edge
                 cfg.wait_sck_edge(SamplingEdge);
                 // check sio not x or z
@@ -99,51 +99,51 @@
 
                 which_bit_h = cfg.host_bit_dir ? i : 7 - i;
                 which_bit_d = cfg.device_bit_dir ? i : 7 - i;
-              case(cmd)
-              CmdOnly, ReadStd, WriteStd: begin
-                // sample sio[0] for tx
-                host_byte[which_bit_h] = cfg.vif.sio[0];
-                // sample sio[1] for rx
-                device_byte[which_bit_d] = cfg.vif.sio[1];
-              end // cmdonly,readstd,writestd
-              ReadDual, WriteDual: begin
-                // sample sio[0] sio[1] for tx bidir
-                host_byte[which_bit_h] = cfg.vif.sio[1];
-                host_byte[which_bit_h-1] = cfg.vif.sio[0];
-                // sample sio[0] sio[1] for rx bidir
-                device_byte[which_bit_d] = cfg.vif.sio[1];
-                device_byte[which_bit_d-1] = cfg.vif.sio[0];
-              end // ReadDual,WriteDual
-              ReadQuad, WriteQuad: begin
-                // sample sio[0] sio[1] sio[2] sio[3] for tx bidir
-                host_byte[which_bit_h] = cfg.vif.sio[3];
-                host_byte[which_bit_h-1] = cfg.vif.sio[2];
-                host_byte[which_bit_h-2] = cfg.vif.sio[1];
-                host_byte[which_bit_h-3] = cfg.vif.sio[0];
-                // sample sio[0] sio[1] sio[2] sio[3] for rx bidir
-                device_byte[which_bit_d] = cfg.vif.sio[3];
-                device_byte[which_bit_d-1] = cfg.vif.sio[2];
-                device_byte[which_bit_d-2] = cfg.vif.sio[1];
-                device_byte[which_bit_d-3] = cfg.vif.sio[0];
-              end // ReadQuad,WriteQuad
-              default: begin
-                // sample sio[0] for tx
-                host_byte[which_bit_h] = cfg.vif.sio[0];
-                // sample sio[1] for rx
-                device_byte[which_bit_d] = cfg.vif.sio[1];
-              end
-              endcase
+                case(cmd)
+                  CmdOnly, ReadStd, WriteStd: begin
+                    // sample sio[0] for tx
+                    host_byte[which_bit_h] = cfg.vif.sio[0];
+                    // sample sio[1] for rx
+                    device_byte[which_bit_d] = cfg.vif.sio[1];
+                  end // cmdonly,readstd,writestd
+                  ReadDual, WriteDual: begin
+                    // sample sio[0] sio[1] for tx bidir
+                    host_byte[which_bit_h] = cfg.vif.sio[1];
+                    host_byte[which_bit_h-1] = cfg.vif.sio[0];
+                    // sample sio[0] sio[1] for rx bidir
+                    device_byte[which_bit_d] = cfg.vif.sio[1];
+                    device_byte[which_bit_d-1] = cfg.vif.sio[0];
+                  end // ReadDual,WriteDual
+                  ReadQuad, WriteQuad: begin
+                    // sample sio[0] sio[1] sio[2] sio[3] for tx bidir
+                    host_byte[which_bit_h] = cfg.vif.sio[3];
+                    host_byte[which_bit_h-1] = cfg.vif.sio[2];
+                    host_byte[which_bit_h-2] = cfg.vif.sio[1];
+                    host_byte[which_bit_h-3] = cfg.vif.sio[0];
+                    // sample sio[0] sio[1] sio[2] sio[3] for rx bidir
+                    device_byte[which_bit_d] = cfg.vif.sio[3];
+                    device_byte[which_bit_d-1] = cfg.vif.sio[2];
+                    device_byte[which_bit_d-2] = cfg.vif.sio[1];
+                    device_byte[which_bit_d-3] = cfg.vif.sio[0];
+                  end // ReadQuad,WriteQuad
+                  default: begin
+                    // sample sio[0] for tx
+                    host_byte[which_bit_h] = cfg.vif.sio[0];
+                    // sample sio[1] for rx
+                    device_byte[which_bit_d] = cfg.vif.sio[1];
+                  end
+                endcase
 
                 cfg.vif.host_bit  = which_bit_h;
                 cfg.vif.host_byte = host_byte;
-               // sending 7 bits will be padded with 0 for the last bit
+                // sending 7 bits will be padded with 0 for the last bit
                 if (i == 6 && num_samples == 7) begin
                   which_bit_d = cfg.device_bit_dir ? 7 : 0;
                   device_byte[which_bit_d] = 0;
                 end
                 cfg.vif.device_bit = which_bit_d;
                 cfg.vif.device_byte = device_byte;
-              end
+              end : loop_num_samples
 
               // sending less than 7 bits will not be captured, byte to be re-sent
               if (num_samples >= 7) begin
@@ -153,15 +153,15 @@
               // sending transactions when collect a word data
               if (host_item.data.size == cfg.num_bytes_per_trans_in_mon &&
                   device_item.data.size == cfg.num_bytes_per_trans_in_mon) begin
-              if (host_item.first_byte == 1 && cfg.decode_commands == 1)  begin
-                cmdtmp = spi_cmd_e'(host_byte);
-                `uvm_info(`gfn, $sformatf("spi_monitor: cmdtmp \n%0h", cmdtmp), UVM_DEBUG)
-                 end
-                 cmd_byte++;
-              if (cmd_byte == cfg.num_bytes_per_trans_in_mon)begin
-                 cmd = cmdtmp;
-                `uvm_info(`gfn, $sformatf("spi_monitor: cmd \n%0h", cmd), UVM_DEBUG)
-                 end
+                if (host_item.first_byte == 1 && cfg.decode_commands == 1)  begin
+                  cmdtmp = spi_cmd_e'(host_byte);
+                  `uvm_info(`gfn, $sformatf("spi_monitor: cmdtmp \n%0h", cmdtmp), UVM_DEBUG)
+                end
+                cmd_byte++;
+                if (cmd_byte == cfg.num_bytes_per_trans_in_mon)begin
+                  cmd = cmdtmp;
+                  `uvm_info(`gfn, $sformatf("spi_monitor: cmd \n%0h", cmd), UVM_DEBUG)
+                end
                 `uvm_info(`gfn, $sformatf("spi_monitor: host packet:\n%0s", host_item.sprint()),
                           UVM_DEBUG)
                 `uvm_info(`gfn, $sformatf("spi_monitor: device packet:\n%0s", device_item.sprint()),
@@ -177,8 +177,8 @@
                 host_item   = spi_item::type_id::create("host_item", this);
                 device_item = spi_item::type_id::create("device_item", this);
               end
-            end // forever
-          end: sample_thread
+            end : loop_forever
+          end : sample_thread
         join_any
         disable fork;
       end