[rtl] Fix typo in MCOUNTEREN

DbgTriggerEn has no impact on whether this is an illegal csr op.

Fixes #1379

Signed-off-by: Tom Roberts <tomroberts@lowrisc.org>
This commit is contained in:
Tom Roberts 2021-06-09 10:35:58 +01:00 committed by Vladimir Rozic
parent 7ceff60749
commit 7071b04a66

View file

@ -322,7 +322,6 @@ module ibex_cs_registers #(
// mcounteren: machine counter enable
CSR_MCOUNTEREN: begin
csr_rdata_int = '0;
illegal_csr = ~DbgTriggerEn;
end
CSR_MSCRATCH: csr_rdata_int = mscratch_q;