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:
Hansung Kim
2023-10-31 23:06:35 -07:00
parent 635f4e42ff
commit d2bfc31592

View File

@@ -56,7 +56,7 @@ object DefaultInFlightTableSizeEnum extends InFlightTableSizeEnum {
case class CoalescerConfig(
enable: Boolean, // globally enable or disable coalescing
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
addressWidth: Int, // assume <= 32
dataBusWidth: Int, // memory-side downstream TileLink data bus size. Nominally, this has
@@ -1366,7 +1366,8 @@ object TLUtils {
// 0: PutFullData, 1: PutPartialData, 4: Get
when(checkOpcode) {
assert(
opcode === TLMessages.PutFullData || opcode === TLMessages.Get,
opcode === TLMessages.PutFullData || opcode === TLMessages.PutPartialData ||
opcode === TLMessages.Get,
"unhandled TL A opcode found"
)
}