Update SpinalHDL
This commit is contained in:
parent
b81029f619
commit
760a0fced5
|
@ -168,8 +168,9 @@ case class FenceFlags() extends Bundle {
|
|||
def forceAll(): Unit ={
|
||||
List(SW,SR,SO,SI,PW,PR,PO,PI).foreach(_ := True)
|
||||
}
|
||||
def clearAll(): Unit ={
|
||||
def clearFlags(): this.type ={
|
||||
List(SW,SR,SO,SI,PW,PR,PO,PI).foreach(_ := False)
|
||||
this
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -501,7 +501,7 @@ class DBusCachedPlugin(val config : DataCacheConfig,
|
|||
}
|
||||
|
||||
when(!input(MEMORY_FENCE) || !arbitration.isFiring){
|
||||
cache.io.cpu.writeBack.fence.clearAll()
|
||||
cache.io.cpu.writeBack.fence.clearFlags()
|
||||
}
|
||||
|
||||
when(arbitration.isValid && (input(MEMORY_FENCE) || aquire)){
|
||||
|
|
Loading…
Reference in New Issue