解决了base.tc27的中断清除问题

This commit is contained in:
2025-09-03 19:08:29 +08:00
parent 4b0e81f8f2
commit 34b7576f15
5 changed files with 21 additions and 9 deletions

View File

@@ -871,6 +871,7 @@ task wait_comm_finished(input [16:0] dev_idx);
st = $realtime;
is_run = 1;
`ifdef enable_wait_clear_int
txBuf[0] = 8'h00;
txBuf[1] = 8'h78;
txBuf[2] = `SPI_WRITE;
@@ -892,7 +893,7 @@ task wait_comm_finished(input [16:0] dev_idx);
begin
end
`endif
while (is_run == 1) begin
txBuf[0] = 8'h00;