mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	More Icache clean up.
This commit is contained in:
		
							parent
							
								
									2f7cb82c72
								
							
						
					
					
						commit
						89f4b920ff
					
				
							
								
								
									
										2
									
								
								wally-pipelined/src/cache/icache.sv
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								wally-pipelined/src/cache/icache.sv
									
									
									
									
										vendored
									
									
								
							@ -48,7 +48,6 @@ module icache
 | 
			
		||||
   // High if the icache is requesting a stall
 | 
			
		||||
   output logic 							ICacheStallF,
 | 
			
		||||
   input logic 								CacheableF,
 | 
			
		||||
   input logic 								ITLBMissF,
 | 
			
		||||
   input logic 								InvalidateICacheM,
 | 
			
		||||
  
 | 
			
		||||
   // The raw (not decompressed) instruction that was requested
 | 
			
		||||
@ -159,7 +158,6 @@ module icache
 | 
			
		||||
					   .CPUBusy,
 | 
			
		||||
					   .ICacheMemWriteEnable,
 | 
			
		||||
					   .ICacheStallF,
 | 
			
		||||
					   .ITLBMissF,
 | 
			
		||||
					   .IgnoreRequest,
 | 
			
		||||
					   .ICacheBusAck,
 | 
			
		||||
					   .ICacheFetchLine,
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										8
									
								
								wally-pipelined/src/cache/icachefsm.sv
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								wally-pipelined/src/cache/icachefsm.sv
									
									
									
									
										vendored
									
									
								
							@ -31,9 +31,6 @@ module icachefsm
 | 
			
		||||
 | 
			
		||||
   input logic 		  CPUBusy,
 | 
			
		||||
 | 
			
		||||
   // inputs from mmu
 | 
			
		||||
   input logic 		  ITLBMissF,
 | 
			
		||||
 | 
			
		||||
   input logic 		  IgnoreRequest,
 | 
			
		||||
   input logic 		  CacheableF,
 | 
			
		||||
 | 
			
		||||
@ -89,11 +86,6 @@ module icachefsm
 | 
			
		||||
		if(IgnoreRequest) begin
 | 
			
		||||
		  SelAdr = 1'b1;
 | 
			
		||||
		  NextState = STATE_READY;
 | 
			
		||||
		end else 
 | 
			
		||||
		if(ITLBMissF) begin
 | 
			
		||||
		  NextState = STATE_READY;
 | 
			
		||||
		  SelAdr = 1'b1;
 | 
			
		||||
		  ICacheStallF = 1'b0;
 | 
			
		||||
		end
 | 
			
		||||
		else if (CacheableF & hit) begin
 | 
			
		||||
          ICacheStallF = 1'b0;
 | 
			
		||||
 | 
			
		||||
@ -247,7 +247,7 @@ module ifu (
 | 
			
		||||
  generate
 | 
			
		||||
	if(`MEM_ICACHE) begin : icache
 | 
			
		||||
	  icache icache(.clk, .reset, .CPUBusy, .IgnoreRequest, .ICacheMemWriteData , .ICacheBusAck,
 | 
			
		||||
					.ICacheBusAdr, .ICacheStallF, .ITLBMissF, .FinalInstrRawF, 
 | 
			
		||||
					.ICacheBusAdr, .ICacheStallF, .FinalInstrRawF, 
 | 
			
		||||
					.ICacheFetchLine,
 | 
			
		||||
					.CacheableF,
 | 
			
		||||
					.PCNextF(PCNextFMux),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user