Interrupt-driven wait: matmul HWI2 + DMA HWI1 direct CPU lines
This commit is contained in:
@@ -103,7 +103,10 @@ module matmul_axi_slave (
|
||||
output [1:0] s_axi_rresp,
|
||||
output reg s_axi_rlast,
|
||||
output reg s_axi_rvalid,
|
||||
input s_axi_rready
|
||||
input s_axi_rready,
|
||||
|
||||
// Interrupt output (active high level, pulsed by calc_done)
|
||||
output intr
|
||||
);
|
||||
|
||||
// ==========================================
|
||||
@@ -459,4 +462,7 @@ module matmul_axi_slave (
|
||||
end
|
||||
end
|
||||
|
||||
// Interrupt: driven by done, cleared when software writes STATUS[1]
|
||||
assign intr = done;
|
||||
|
||||
endmodule
|
||||
Reference in New Issue
Block a user