mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-23 21:57:11 -04:00
:fix: Pop faulting store from bypass
This commit is contained in:
parent
95e36dc3e2
commit
d59ed1ccc9
2 changed files with 4 additions and 1 deletions
|
@ -338,7 +338,9 @@ module csr_regfile #(
|
|||
// External Interrupts
|
||||
// ---------------------
|
||||
// Machine Mode External Interrupt Pending
|
||||
mip_n[11] = mie_q[11] & irq_i;
|
||||
// TODO: this is wrong for sure
|
||||
mip_n[11] = 1'b0;
|
||||
mip_n[9] = mie_q[9] & irq_i;
|
||||
// Timer interrupt pending, coming from platform timer
|
||||
mip_n[7] = time_irq_i;
|
||||
|
||||
|
|
|
@ -160,6 +160,7 @@ module store_unit (
|
|||
// we got an address translation exception (access rights, misaligned or page fault)
|
||||
if (ex_i.valid && (CS != IDLE)) begin
|
||||
// the only difference is that we do not want to store this request
|
||||
pop_st_o = 1'b1;
|
||||
st_valid = 1'b0;
|
||||
NS = IDLE;
|
||||
valid_o = 1'b1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue