mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Changed configs to support 4 ways set associative caches.
This commit is contained in:
		
							parent
							
								
									6606eea27e
								
							
						
					
					
						commit
						8141a515bb
					
				@ -58,10 +58,10 @@
 | 
			
		||||
// Cache configuration.  Sizes should be a power of two
 | 
			
		||||
// typical configuration 4 ways, 4096 bytes per way, 256 bit or more blocks
 | 
			
		||||
`define DCACHE_NUMWAYS 4
 | 
			
		||||
`define DCACHE_WAYSIZEINBYTES 2048
 | 
			
		||||
`define DCACHE_WAYSIZEINBYTES 4096
 | 
			
		||||
`define DCACHE_BLOCKLENINBITS 256
 | 
			
		||||
`define DCACHE_REPLBITS 3
 | 
			
		||||
`define ICACHE_NUMWAYS 1
 | 
			
		||||
`define ICACHE_NUMWAYS 4
 | 
			
		||||
`define ICACHE_WAYSIZEINBYTES 4096
 | 
			
		||||
`define ICACHE_BLOCKLENINBITS 256
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -56,10 +56,10 @@
 | 
			
		||||
// Cache configuration.  Sizes should be a power of two
 | 
			
		||||
// typical configuration 4 ways, 4096 bytes per way, 256 bit or more blocks
 | 
			
		||||
`define DCACHE_NUMWAYS 4
 | 
			
		||||
`define DCACHE_WAYSIZEINBYTES 2048
 | 
			
		||||
`define DCACHE_WAYSIZEINBYTES 4096
 | 
			
		||||
`define DCACHE_BLOCKLENINBITS 256
 | 
			
		||||
`define DCACHE_REPLBITS 3
 | 
			
		||||
`define ICACHE_NUMWAYS 1
 | 
			
		||||
`define ICACHE_NUMWAYS 4
 | 
			
		||||
`define ICACHE_WAYSIZEINBYTES 4096
 | 
			
		||||
`define ICACHE_BLOCKLENINBITS 256
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user