fix DataCache for config without invalidation
This commit is contained in:
parent
0c8ea4a368
commit
9e1817a280
|
@ -173,7 +173,7 @@ class DBusCachedPlugin(val config : DataCacheConfig,
|
||||||
def cmdBuf = optionPipe(dBusCmdSlavePipe, cache.io.mem.cmd)(_.s2mPipe())
|
def cmdBuf = optionPipe(dBusCmdSlavePipe, cache.io.mem.cmd)(_.s2mPipe())
|
||||||
dBus.cmd << optionPipe(dBusCmdMasterPipe, cmdBuf)(_.m2sPipe())
|
dBus.cmd << optionPipe(dBusCmdMasterPipe, cmdBuf)(_.m2sPipe())
|
||||||
cache.io.mem.rsp << optionPipe(dBusRspSlavePipe,dBus.rsp)(_.m2sPipe())
|
cache.io.mem.rsp << optionPipe(dBusRspSlavePipe,dBus.rsp)(_.m2sPipe())
|
||||||
cache.io.inv <> inv
|
if(withInvalidate) cache.io.inv <> inv
|
||||||
|
|
||||||
pipeline plug new Area{
|
pipeline plug new Area{
|
||||||
//Memory bandwidth counter
|
//Memory bandwidth counter
|
||||||
|
|
Loading…
Reference in New Issue