feat(confreg): add interrupt support for fft, dma and uart
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user