mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	cleanup.
This commit is contained in:
		
							parent
							
								
									70eb110a9c
								
							
						
					
					
						commit
						d2a747bf3d
					
				
							
								
								
									
										4
									
								
								src/cache/cache.sv
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								src/cache/cache.sv
									
									
									
									
										vendored
									
									
								
							| @ -90,8 +90,6 @@ module cache import cvw::*; #(parameter cvw_t P, | |||||||
|   logic [NUMWAYS-1:0]            FlushWay, NextFlushWay; |   logic [NUMWAYS-1:0]            FlushWay, NextFlushWay; | ||||||
|   logic                          FlushWayCntEn; |   logic                          FlushWayCntEn; | ||||||
|   logic                          SelWriteback; |   logic                          SelWriteback; | ||||||
|   logic                          SelCMOWriteback; |  | ||||||
|   logic                          SelBothWriteback; |  | ||||||
|   logic                          LRUWriteEn; |   logic                          LRUWriteEn; | ||||||
|   logic                          SelFlush; |   logic                          SelFlush; | ||||||
|   logic                          ResetOrFlushCntRst; |   logic                          ResetOrFlushCntRst; | ||||||
| @ -231,7 +229,7 @@ module cache import cvw::*; #(parameter cvw_t P, | |||||||
|     .FlushStage, .CacheRW, .CacheAtomic, .Stall, |     .FlushStage, .CacheRW, .CacheAtomic, .Stall, | ||||||
|     .CacheHit, .LineDirty, .CacheStall, .CacheCommitted,  |     .CacheHit, .LineDirty, .CacheStall, .CacheCommitted,  | ||||||
|     .CacheMiss, .CacheAccess, .SelAdr, .SelWay, |     .CacheMiss, .CacheAccess, .SelAdr, .SelWay, | ||||||
|     .ClearDirty, .SetDirty, .SetValid, .ClearValid, .ZeroCacheLine, .SelWriteback, .SelCMOWriteback, .SelFlush, |     .ClearDirty, .SetDirty, .SetValid, .ClearValid, .ZeroCacheLine, .SelWriteback, .SelFlush, | ||||||
|     .FlushAdrCntEn, .FlushWayCntEn, .FlushCntRst, |     .FlushAdrCntEn, .FlushWayCntEn, .FlushCntRst, | ||||||
|     .FlushAdrFlag, .FlushWayFlag, .FlushCache, .SelFetchBuffer, |     .FlushAdrFlag, .FlushWayFlag, .FlushCache, .SelFetchBuffer, | ||||||
|     .InvalidateCache, .CMOp, .CacheEn, .LRUWriteEn); |     .InvalidateCache, .CMOp, .CacheEn, .LRUWriteEn); | ||||||
|  | |||||||
							
								
								
									
										1
									
								
								src/cache/cachefsm.sv
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								src/cache/cachefsm.sv
									
									
									
									
										vendored
									
									
								
							| @ -61,7 +61,6 @@ module cachefsm import cvw::*; #(parameter cvw_t P, | |||||||
|   output logic       ClearDirty,        // Clear the dirty bit in the selected way and set
 |   output logic       ClearDirty,        // Clear the dirty bit in the selected way and set
 | ||||||
|   output logic       ZeroCacheLine,     // Write zeros to all bytes of cacheline
 |   output logic       ZeroCacheLine,     // Write zeros to all bytes of cacheline
 | ||||||
|   output logic       SelWriteback,      // Overrides cached tag check to select a specific way and set for writeback
 |   output logic       SelWriteback,      // Overrides cached tag check to select a specific way and set for writeback
 | ||||||
|   output logic       SelCMOWriteback,   // Overrides cached tag check to select a specific way and set for writeback for both data and tag
 |  | ||||||
|   output logic       LRUWriteEn,        // Update the LRU state
 |   output logic       LRUWriteEn,        // Update the LRU state
 | ||||||
|   output logic       SelFlush,          // [0] Use SelAdr, [1] SRAM reads/writes from FlushAdr
 |   output logic       SelFlush,          // [0] Use SelAdr, [1] SRAM reads/writes from FlushAdr
 | ||||||
|   output logic       SelWay,            // Controls which way to select a way data and tag, 00 = hitway, 10 = victimway, 11 = flushway
 |   output logic       SelWay,            // Controls which way to select a way data and tag, 00 = hitway, 10 = victimway, 11 = flushway
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user