[aes/sv/common] Updated aes to pass the csr test suite
Signed-off-by: Rasmus Madsen <rasmus.madsen@wdc.com>
diff --git a/hw/ip/aes/dv/env/seq_lib/aes_common_vseq.sv b/hw/ip/aes/dv/env/seq_lib/aes_common_vseq.sv
index 78d7b8f..b89c5eb 100644
--- a/hw/ip/aes/dv/env/seq_lib/aes_common_vseq.sv
+++ b/hw/ip/aes/dv/env/seq_lib/aes_common_vseq.sv
@@ -21,10 +21,13 @@
// write exclusions - these should not apply to hw_reset test
if (csr_test_type != "hw_reset") begin
- // TODO: below is a sample
- // status reads back unexpected values due to writes to other csrs
- // csr_excl.add_excl({scope, ".", "status"}, CsrExclWriteCheck);
- end
- endfunction
+ csr_excl.add_excl({scope, ".", "trigger" }, CsrExclWriteCheck);
+ csr_excl.add_excl({scope, ".", "ctrl" }, CsrExclWriteCheck);
+ // exclude dataout/status because they change once data in has been written
+ csr_excl.add_excl({scope, ".", "status" }, CsrExclWriteCheck);
+ csr_excl.add_excl({scope, ".", "data_out*" }, CsrExclWriteCheck);
+ end
+
+ endfunction
endclass