mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-22 13:07:46 -04:00
removed unused irq_enable signal in controller
This commit is contained in:
parent
13c86e6a0a
commit
d62922f226
1 changed files with 0 additions and 4 deletions
|
@ -140,7 +140,6 @@ module cve2_controller #(
|
|||
logic enter_debug_mode;
|
||||
logic ebreak_into_debug;
|
||||
logic handle_irq;
|
||||
logic irq_enabled;
|
||||
logic [3:0] mfip_id;
|
||||
logic unused_irq_timer;
|
||||
|
||||
|
@ -291,9 +290,6 @@ module cve2_controller #(
|
|||
priv_mode_i == PRIV_LVL_U ? debug_ebreaku_i :
|
||||
1'b0;
|
||||
|
||||
// MIE bit only applies when in M mode
|
||||
assign irq_enabled = csr_mstatus_mie_i | (priv_mode_i == PRIV_LVL_U);
|
||||
|
||||
// Interrupts including NMI are ignored,
|
||||
// - while in debug mode [Debug Spec v0.13.2, p.39],
|
||||
// - while in NMI mode (nested NMIs are not supported, NMI has highest priority and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue