mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-23 05:37:16 -04:00
🐛 Make misa a true WARL field
This commit is contained in:
parent
2c3fd21fc8
commit
dc3bae683d
1 changed files with 3 additions and 1 deletions
|
@ -282,6 +282,8 @@ module csr_regfile #(
|
|||
// this register has side-effects on other registers, flush the pipeline
|
||||
flush_o = 1'b1;
|
||||
end
|
||||
// MISA is WARL (Write Any Value, Reads Legal Value)
|
||||
CSR_MISA:;
|
||||
// machine exception delegation register
|
||||
// 0 - 15 exceptions supported
|
||||
CSR_MEDELEG: medeleg_n = csr_wdata & 64'hF7FF;
|
||||
|
@ -656,4 +658,4 @@ module csr_regfile #(
|
|||
time_q <= time_n;
|
||||
end
|
||||
end
|
||||
endmodule
|
||||
endmodule
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue