增加线路交叉的测试用例
This commit is contained in:
@@ -850,7 +850,7 @@ task f_write(input [31:0] logh, input [15:0] saddress, input [7:0] scmd, input [
|
||||
end
|
||||
endtask
|
||||
|
||||
task wait_comm_finished();
|
||||
task wait_comm_finished(input [16:0] dev_idx);
|
||||
begin:WAIT_COMM_FINISHED_CODE
|
||||
real st;
|
||||
integer is_run;
|
||||
@@ -867,7 +867,7 @@ task wait_comm_finished();
|
||||
txBuf[6] = 8'h00;
|
||||
|
||||
length = 8'h07;
|
||||
idx = `IF_IQSPI(0);
|
||||
idx = `IF_IQSPI(dev_idx);
|
||||
|
||||
#5
|
||||
@(negedge sck)
|
||||
@@ -887,7 +887,7 @@ task wait_comm_finished();
|
||||
txBuf[2] = `SPI_READ;
|
||||
|
||||
length = 8'h07;
|
||||
idx = `IF_IQSPI(0);
|
||||
idx = `IF_IQSPI(dev_idx);
|
||||
|
||||
#5
|
||||
@(negedge sck)
|
||||
|
||||
Reference in New Issue
Block a user