Move N_CORES and MMIO_BASE to SCRFile instance in RocketChip
This commit is contained in:
		
				
					committed by
					
						 Palmer Dabbelt
						Palmer Dabbelt
					
				
			
			
				
	
			
			
			
						parent
						
							7fa38b5624
						
					
				
				
					commit
					ba96ad2b38
				
			| @@ -171,6 +171,8 @@ class Uncore(implicit val p: Parameters) extends Module | |||||||
|   scrArb.io.in(0) <> htif.io.scr |   scrArb.io.in(0) <> htif.io.scr | ||||||
|   scrArb.io.in(1) <> outmemsys.io.scr |   scrArb.io.in(1) <> outmemsys.io.scr | ||||||
|   scrFile.io.smi <> scrArb.io.out |   scrFile.io.smi <> scrArb.io.out | ||||||
|  |   scrFile.io.scr.attach(UInt(nTiles), "N_CORES", false, true) | ||||||
|  |   scrFile.io.scr.attach(UInt(p(MMIOBase) >> 20), "MMIO_BASE", false, true) | ||||||
|   // scrFile.io.scr <> (... your SCR connections ...) |   // scrFile.io.scr <> (... your SCR connections ...) | ||||||
|  |  | ||||||
|   // Configures the enabled memory channels.  This can't be changed while the |   // Configures the enabled memory channels.  This can't be changed while the | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								uncore
									
									
									
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								uncore
									
									
									
									
									
								
							 Submodule uncore updated: 42549fd7cf...01e9a7f0ff
									
								
							
		Reference in New Issue
	
	Block a user