sReg.isLVDSWriteAble 锁定lvds写入syncPoint和synccfg
This commit is contained in:
@@ -869,7 +869,7 @@ trait InterfaceSync{ this: InterfaceBase =>
|
||||
|
||||
when( io.lvds.isEnW ){
|
||||
|
||||
when( io.lvds.addrw === "h120".U ){
|
||||
when( sReg.isLVDSWriteAble & io.lvds.addrw === "h120".U ){
|
||||
syncCfg := io.lvds.dataw
|
||||
}
|
||||
|
||||
@@ -897,7 +897,9 @@ trait InterfaceSync{ this: InterfaceBase =>
|
||||
syncPoint_WRCopy := Cat( syncPoint_WRCopy(63,56), io.lvds.dataw, syncPoint_WRCopy(47,0) )
|
||||
} .elsewhen( io.lvds.addrw === "h137".U ){
|
||||
syncPoint_WRCopy := Cat( io.lvds.dataw, syncPoint_WRCopy(55,0) )
|
||||
syncPoint := Cat( io.lvds.dataw, syncPoint_WRCopy(55,0) )
|
||||
when( sReg.isLVDSWriteAble ){
|
||||
syncPoint := Cat( io.lvds.dataw, syncPoint_WRCopy(55,0) )
|
||||
}
|
||||
}
|
||||
|
||||
.elsewhen( io.lvds.addrw === "h138".U ){
|
||||
|
||||
Reference in New Issue
Block a user