tilelink2 Metadata: cannot assert data good when !valid
This commit is contained in:
		| @@ -26,7 +26,7 @@ object MemoryOpCategories extends MemoryOpConstants { | |||||||
|  |  | ||||||
|   def categorize(cmd: UInt): UInt = { |   def categorize(cmd: UInt): UInt = { | ||||||
|     val cat = Cat(isWrite(cmd), isWriteIntent(cmd)) |     val cat = Cat(isWrite(cmd), isWriteIntent(cmd)) | ||||||
|     assert(cat.isOneOf(wr,wi,rd), "Could not categorize command.") |     //assert(cat.isOneOf(wr,wi,rd), "Could not categorize command.") | ||||||
|     cat |     cat | ||||||
|   } |   } | ||||||
| } | } | ||||||
| @@ -77,7 +77,7 @@ class ClientMetadata extends Bundle { | |||||||
|     import TLPermissions._ |     import TLPermissions._ | ||||||
|     import ClientStates._ |     import ClientStates._ | ||||||
|     val c = categorize(cmd) |     val c = categorize(cmd) | ||||||
|     assert(c === rd || param === toT, "Client was expecting trunk permissions.")    |     //assert(c === rd || param === toT, "Client was expecting trunk permissions.") | ||||||
|     MuxLookup(Cat(c, param), Nothing, Seq( |     MuxLookup(Cat(c, param), Nothing, Seq( | ||||||
|     //(effect param) -> (next) |     //(effect param) -> (next) | ||||||
|       Cat(rd, toB)   -> Branch, |       Cat(rd, toB)   -> Branch, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user