mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-20 03:57:25 -04:00
fix core_sleep_o (#131)
This commit is contained in:
parent
066ff47261
commit
a439ef7ad9
1 changed files with 2 additions and 2 deletions
|
@ -134,8 +134,8 @@ module cve2_top import cve2_pkg::*; #(
|
|||
end
|
||||
end
|
||||
|
||||
assign clock_en = core_busy_q | debug_req_i | irq_pending | irq_nm_i;
|
||||
assign core_sleep_o = ~clock_en;
|
||||
assign clock_en = fetch_enable_q & (core_busy_q | debug_req_i | irq_pending | irq_nm_i);
|
||||
assign core_sleep_o = fetch_enable_q & !clock_en;
|
||||
assign fetch_enable_d = fetch_enable_i ? 1'b1 : fetch_enable_q;
|
||||
|
||||
cve2_clock_gate core_clock_gate_i (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue