mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Possible minor enhancement to gshare.
This commit is contained in:
		
							parent
							
								
									14ecaabbf6
								
							
						
					
					
						commit
						f7dacb59f9
					
				@ -104,7 +104,8 @@ module speculativegshare
 | 
				
			|||||||
  flopenr #(2) PredictionRegE(clk, reset, ~StallE, DirPredictionD, DirPredictionE);
 | 
					  flopenr #(2) PredictionRegE(clk, reset, ~StallE, DirPredictionD, DirPredictionE);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // New prediction pipeline
 | 
					  // New prediction pipeline
 | 
				
			||||||
  satCounter2 BPDirUpdateF(.BrDir(DirPredictionF[1]), .OldState(DirPredictionF), .NewState(NewDirPredictionF));
 | 
					  assign NewDirPredictionF = {DirPredictionF[1], DirPredictionF[1]};
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
  flopenr #(2) NewPredDReg(clk, reset, ~StallD, NewDirPredictionF, NewDirPredictionD);
 | 
					  flopenr #(2) NewPredDReg(clk, reset, ~StallD, NewDirPredictionF, NewDirPredictionD);
 | 
				
			||||||
  satCounter2 BPDirUpdateE(.BrDir(PCSrcE), .OldState(DirPredictionE), .NewState(NewDirPredictionE));
 | 
					  satCounter2 BPDirUpdateE(.BrDir(PCSrcE), .OldState(DirPredictionE), .NewState(NewDirPredictionE));
 | 
				
			||||||
  flopenr #(2) NewPredMReg(clk, reset, ~StallM, NewDirPredictionE, NewDirPredictionM);
 | 
					  flopenr #(2) NewPredMReg(clk, reset, ~StallM, NewDirPredictionE, NewDirPredictionM);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user