修改key策略
This commit is contained in:
@@ -611,12 +611,19 @@ trait MstSlvSwitchB8B4{ this: MstSlvSwitchBase =>
|
||||
}
|
||||
}
|
||||
|
||||
trait MstSlvSwitchCDRIn{ this: MstSlvSwitchBase =>
|
||||
val cdrSelB = interface.io.cReg.cdrParam(15,8) === "h60".U && interface.io.cReg.b8b4Sel(7,0) === 1.U
|
||||
val cdrSelC = interface.io.cReg.cdrParam(15,8) === "h60".U && interface.io.cReg.b8b4Sel(7,0) === 2.U
|
||||
val cdrSelA = ~cdrSelB & ~cdrSelC
|
||||
}
|
||||
|
||||
class MstSlvSwitch extends MstSlvSwitchBase
|
||||
with MstSlvSwitchMaster
|
||||
with MstSlvSwitchSlave
|
||||
with MstSlvSwitchWatchDog
|
||||
with MstSlvSwitchDataPath
|
||||
with MstSlvSwitchB8B4{
|
||||
with MstSlvSwitchB8B4
|
||||
with MstSlvSwitchCDRIn{
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user