修正qspi测试用例读取方式
This commit is contained in:
@@ -353,8 +353,8 @@ always @(posedge sck) begin
|
||||
if( &bitCnt ) begin
|
||||
byteCnt <= byteCnt +1;
|
||||
transCnt <= transCnt + 1;
|
||||
rxBuf[byteCnt] <= isQspi ? {exChangeRegi[3:0], qspi_mux_miso} : {exChangeRegi[6:0], spi_mux_miso};
|
||||
if( txBuf[2] === 1 & nextByteCnt >= 4) begin
|
||||
rxBuf[byteCnt] <= exChangeRegi;
|
||||
$display("spi read out %x", exChangeRegi);
|
||||
end
|
||||
if( txBuf[2] === 1 & nextByteCnt >= 3) begin
|
||||
|
||||
Reference in New Issue
Block a user