Fix store opcode assertion in AOpcodeIsStore
Now we support PutPartialData for narrow write requests that doesn't have all-1 mask.
This commit is contained in:
@@ -56,7 +56,7 @@ object DefaultInFlightTableSizeEnum extends InFlightTableSizeEnum {
|
|||||||
case class CoalescerConfig(
|
case class CoalescerConfig(
|
||||||
enable: Boolean, // globally enable or disable coalescing
|
enable: Boolean, // globally enable or disable coalescing
|
||||||
numLanes: Int, // number of lanes (or threads) in a warp
|
numLanes: Int, // number of lanes (or threads) in a warp
|
||||||
reqQueueDepth: Int, // request window per lane
|
reqQueueDepth: Int, // request window per lane
|
||||||
waitTimeout: Int, // max cycles to wait before forced fifo dequeue, per lane
|
waitTimeout: Int, // max cycles to wait before forced fifo dequeue, per lane
|
||||||
addressWidth: Int, // assume <= 32
|
addressWidth: Int, // assume <= 32
|
||||||
dataBusWidth: Int, // memory-side downstream TileLink data bus size. Nominally, this has
|
dataBusWidth: Int, // memory-side downstream TileLink data bus size. Nominally, this has
|
||||||
@@ -1366,7 +1366,8 @@ object TLUtils {
|
|||||||
// 0: PutFullData, 1: PutPartialData, 4: Get
|
// 0: PutFullData, 1: PutPartialData, 4: Get
|
||||||
when(checkOpcode) {
|
when(checkOpcode) {
|
||||||
assert(
|
assert(
|
||||||
opcode === TLMessages.PutFullData || opcode === TLMessages.Get,
|
opcode === TLMessages.PutFullData || opcode === TLMessages.PutPartialData ||
|
||||||
|
opcode === TLMessages.Get,
|
||||||
"unhandled TL A opcode found"
|
"unhandled TL A opcode found"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user