撤销idle状态cdrout强制传输线为0的设定
This commit is contained in:
@@ -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
|
shiftData := ETH_PRE
|
||||||
} .elsewhen( stateNext === STATE_IDLE ){
|
|
||||||
shiftData := 0.U
|
|
||||||
}
|
|
||||||
} .otherwise{
|
} .otherwise{
|
||||||
when( bitCnt =/= 9.U ){
|
when( bitCnt =/= 9.U ){
|
||||||
shiftData := shiftData << 1
|
shiftData := shiftData << 1
|
||||||
|
|||||||
Reference in New Issue
Block a user