ScratchpadSlavePort doesn't support byte/halfword atomics
This commit is contained in:
parent
d6e69066a5
commit
f49172b5bc
@ -22,8 +22,8 @@ class ScratchpadSlavePort(address: AddressSet)(implicit p: Parameters) extends L
|
|||||||
resources = device.reg,
|
resources = device.reg,
|
||||||
regionType = RegionType.UNCACHED,
|
regionType = RegionType.UNCACHED,
|
||||||
executable = true,
|
executable = true,
|
||||||
supportsArithmetic = if (usingAtomics) TransferSizes(1, coreDataBytes) else TransferSizes.none,
|
supportsArithmetic = if (usingAtomics) TransferSizes(4, coreDataBytes) else TransferSizes.none,
|
||||||
supportsLogical = if (usingAtomics) TransferSizes(1, coreDataBytes) else TransferSizes.none,
|
supportsLogical = if (usingAtomics) TransferSizes(4, coreDataBytes) else TransferSizes.none,
|
||||||
supportsPutPartial = TransferSizes.none, // Can't support PutPartial
|
supportsPutPartial = TransferSizes.none, // Can't support PutPartial
|
||||||
supportsPutFull = TransferSizes(1, coreDataBytes),
|
supportsPutFull = TransferSizes(1, coreDataBytes),
|
||||||
supportsGet = TransferSizes(1, coreDataBytes),
|
supportsGet = TransferSizes(1, coreDataBytes),
|
||||||
|
Loading…
Reference in New Issue
Block a user