feat(confreg): add interrupt support for fft, dma and uart

This commit is contained in:
2026-04-13 00:11:31 +08:00
parent bcde745149
commit 6146e98df6
2 changed files with 4 additions and 1 deletions

View File

@@ -89,6 +89,8 @@ module confreg #(
output [7:0] dpy1,
input [31:0] switch,
input [3 :0] touch_btn,
input uart0_int,
input dma_finish,
input fft_finish,
output confreg_int
@@ -382,7 +384,7 @@ always @(posedge aclk) begin
end
end
assign int_in = {27'b0, timer_int, touch_btn_data};
assign int_in = {24'b0, dma_finish, fft_finish, uart0_int, timer_int, touch_btn_data};
int_ctrl u_int_ctrl (
.clk (aclk),