撤销idle状态cdrout强制传输线为0的设定

This commit is contained in:
Ruige Lee
2025-07-17 10:03:31 +08:00
parent d760ecff08
commit 581c614017

View File

@@ -62,12 +62,9 @@ class CDROut extends Module{
}
when( stateCurr === STATE_IDLE ){
when( stateNext === STATE_PREAMBLE ){
when( stateCurr === STATE_IDLE & stateNext === STATE_PREAMBLE){ //PRE
shiftData := ETH_PRE
} .elsewhen( stateNext === STATE_IDLE ){
shiftData := 0.U
}
} .otherwise{
when( bitCnt =/= 9.U ){
shiftData := shiftData << 1