[kmac, fpga] Keep signaling idle until SHA3 starts in SCA mode

When doing SCA experiments, we want KMAC to keep signaling idle while
writing the message FIFO. The idle signal is used as capture trigger
it should only go low once the SHA3 core starts the actual operation.

This change is only enabled on the FPGA platform used for SCA
measurements.

Signed-off-by: Pirmin Vogel <vogelpi@lowrisc.org>
diff --git a/hw/ip/kmac/rtl/kmac.sv b/hw/ip/kmac/rtl/kmac.sv
index 5f503b6..2788b5c 100644
--- a/hw/ip/kmac/rtl/kmac.sv
+++ b/hw/ip/kmac/rtl/kmac.sv
@@ -478,7 +478,7 @@
   always_ff @(posedge clk_i or negedge rst_ni) begin
     if (!rst_ni) begin
       idle_o <= 1'b 1;
-    end else if ((sha3_fsm == sha3_pkg::StIdle) && msgfifo_empty) begin
+    end else if ((sha3_fsm == sha3_pkg::StIdle) && (msgfifo_empty || SecIdleAcceptSwMsg)) begin
       idle_o <= 1'b 1;
     end else begin
       idle_o <= 1'b 0;