不再通过crc校验来更新寄存器,还没等到crc火车已经回头开始上传,造成页面信息错误

This commit is contained in:
RuigeLee
2024-04-14 17:44:59 +08:00
parent d810ca68e6
commit 1721d332ad
2 changed files with 18 additions and 14 deletions

View File

@@ -57,10 +57,14 @@ trait BackBoardSlvDown{ this: BackBoardSlvBase =>
downCnt := 0.U
}
when( lvdsSlv.io.downstream_rx_crc_valid ){
when( ~lvdsSlv.io.downstream_rx_crc_err ){
downReg := downRegTemp
}
// when( lvdsSlv.io.downstream_rx_crc_valid ){
// when( ~lvdsSlv.io.downstream_rx_crc_err ){
// downReg := downRegTemp
// }
// }
when( RegNext(lvdsSlv.io.downstream_rx_data_valid,false.B) & ~lvdsSlv.io.downstream_rx_data_valid ){
downReg := downRegTemp
}
}