修正spi协议开关的bug
This commit is contained in:
@@ -709,7 +709,7 @@ task spi_trans( input [15:0] saddress, input [7:0] scmd, input [12:0] slength, i
|
|||||||
`endif
|
`endif
|
||||||
|
|
||||||
idx <= sidx;
|
idx <= sidx;
|
||||||
spi_1to4 = (idx < (`ALL_DEV_NUM * 4));
|
spi_1to4 = (sidx < (`ALL_DEV_NUM * 4));
|
||||||
|
|
||||||
#5
|
#5
|
||||||
@(negedge sck)
|
@(negedge sck)
|
||||||
|
|||||||
Reference in New Issue
Block a user