coreplex: allow legacy devices to override the config string (#458)
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							9433da8458
						
					
				
				
					commit
					a17753983a
				
			@@ -29,7 +29,9 @@ trait CoreplexRISCVPlatform extends CoreplexNetwork {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  lazy val configString = {
 | 
					  lazy val configString = {
 | 
				
			||||||
    val managers = l1tol2.node.edgesIn(0).manager.managers
 | 
					    val managers = l1tol2.node.edgesIn(0).manager.managers
 | 
				
			||||||
    rocketchip.GenerateConfigString(p, clint, plic, managers)
 | 
					    // Use the existing config string if the user overrode it
 | 
				
			||||||
 | 
					    ConfigStringOutput.contents.getOrElse(
 | 
				
			||||||
 | 
					      rocketchip.GenerateConfigString(p, clint, plic, managers))
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user