[kmac] Add HintByteData for packer in MSGFIFO
This commit adds the compile-time parameter of prim_packer to turn on
ByteData. The packer checks the continuity of the input mask/ output
mask if this parameter is non-zero.
Signed-off-by: Eunchan Kim <eunchan@opentitan.org>
diff --git a/hw/ip/kmac/rtl/kmac_msgfifo.sv b/hw/ip/kmac/rtl/kmac_msgfifo.sv
index b9ca002..e8bd9fa 100644
--- a/hw/ip/kmac/rtl/kmac_msgfifo.sv
+++ b/hw/ip/kmac/rtl/kmac_msgfifo.sv
@@ -97,8 +97,9 @@
logic msgfifo_flush_done;
prim_packer #(
- .InW (OutWidth),
- .OutW (OutWidth)
+ .InW (OutWidth),
+ .OutW (OutWidth),
+ .HintByteData (1)
) u_packer (
.clk_i,
.rst_ni,