[tlul] Revise full data check.
If `a_mask` is `0h` for 1 byte write, `tlul_err` did not raise an error
for PutFullData command. It is fixed to check a_mask with mask signal.
This is related to #236
diff --git a/hw/ip/tlul/rtl/tlul_err.sv b/hw/ip/tlul/rtl/tlul_err.sv
index e58f83f..24a8a76 100644
--- a/hw/ip/tlul/rtl/tlul_err.sv
+++ b/hw/ip/tlul/rtl/tlul_err.sv
@@ -52,7 +52,7 @@
'h0: begin // 1 Byte
addr_sz_chk = 1'b1;
mask_chk = ~|(tl_i.a_mask & ~mask);
- fulldata_chk = mask_chk;
+ fulldata_chk = |(tl_i.a_mask & mask);
end
'h1: begin // 2 Byte