mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Swapped the m and k parameters for local history predictor.
This commit is contained in:
		
							parent
							
								
									4eff75449a
								
							
						
					
					
						commit
						0904a9b97f
					
				@ -28,7 +28,7 @@
 | 
			
		||||
 | 
			
		||||
`include "wally-config.vh"
 | 
			
		||||
 | 
			
		||||
`define INSTR_CLASS_PRED 1
 | 
			
		||||
`define INSTR_CLASS_PRED 0
 | 
			
		||||
 | 
			
		||||
module bpred (
 | 
			
		||||
  input  logic             clk, reset,
 | 
			
		||||
@ -128,7 +128,7 @@ module bpred (
 | 
			
		||||
      .BranchE, .BranchM, .PCSrcE);
 | 
			
		||||
  
 | 
			
		||||
  end else if (`BPRED_TYPE == "BP_LOCAL") begin:Predictor
 | 
			
		||||
    localHistoryPredictor #(6, 10)
 | 
			
		||||
    localHistoryPredictor #(`BPRED_NUM_LHR, `BPRED_SIZE)
 | 
			
		||||
DirPredictor(.clk, .reset, .StallF, .StallD, .StallE, .StallM, .StallW, .FlushD, .FlushE, .FlushM, .FlushW,
 | 
			
		||||
      .PCNextF, .PCM, .BPDirPredF, .BPDirPredWrongE,
 | 
			
		||||
      .BranchE, .BranchM, .PCSrcE);
 | 
			
		||||
 | 
			
		||||
@ -2057,8 +2057,8 @@ string arch64zbs[] = '{
 | 
			
		||||
 | 
			
		||||
 string custom[] = '{
 | 
			
		||||
    `CUSTOM,
 | 
			
		||||
    "debug",
 | 
			
		||||
    "simple",
 | 
			
		||||
    "debug",
 | 
			
		||||
    "cacheTest"
 | 
			
		||||
 };
 | 
			
		||||
  string testsBP64[] = '{
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user