Fix stateless caching (#1084)
* tilelink: ToAXI4 should format it's error message * WithStatelessBridge: mark the memory bus incoherent and cacheable ... and hope that the user doesn't put more than one master down.
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							4ccdbecb63
						
					
				
				
					commit
					16116991e7
				
			@@ -14,7 +14,7 @@ case class TLToAXI4Node(stripBits: Int = 0)(implicit valName: ValName) extends M
 | 
			
		||||
    p.clients.foreach { c =>
 | 
			
		||||
      require (c.sourceId.start % (1 << stripBits) == 0 &&
 | 
			
		||||
               c.sourceId.end   % (1 << stripBits) == 0,
 | 
			
		||||
               "Cannot strip bits of aligned client ${c.name}: ${c.sourceId}")
 | 
			
		||||
               s"Cannot strip bits of aligned client ${c.name}: ${c.sourceId}")
 | 
			
		||||
    }
 | 
			
		||||
    val clients = p.clients.sortWith(TLToAXI4.sortByType _)
 | 
			
		||||
    val idSize = clients.map { c => if (c.requestFifo) 1 else (c.sourceId.size >> stripBits) }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user