mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	same but do that right this time
This commit is contained in:
		
							parent
							
								
									18ecea4506
								
							
						
					
					
						commit
						a4dad3403e
					
				@ -169,8 +169,8 @@ module testbench();
 | 
				
			|||||||
  initial begin
 | 
					  initial begin
 | 
				
			||||||
    $readmemh({`BUSYBEAR_TEST_VECTORS,"bootmem.txt"}, dut.uncore.bootdtim.RAM, 'h1000 >> 3);
 | 
					    $readmemh({`BUSYBEAR_TEST_VECTORS,"bootmem.txt"}, dut.uncore.bootdtim.RAM, 'h1000 >> 3);
 | 
				
			||||||
    $readmemh({`BUSYBEAR_TEST_VECTORS,"ram.txt"}, dut.uncore.dtim.RAM);
 | 
					    $readmemh({`BUSYBEAR_TEST_VECTORS,"ram.txt"}, dut.uncore.dtim.RAM);
 | 
				
			||||||
    $readmemb(`TWO_BIT_PRELOAD, dut.hart.ifu.bpred.Predictor.DirPredictor.PHT.memory);
 | 
					    $readmemb(`TWO_BIT_PRELOAD, dut.hart.ifu.bpred.bpred.Predictor.DirPredictor.PHT.memory);
 | 
				
			||||||
    $readmemb(`BTB_PRELOAD, dut.hart.ifu.bpred.TargetPredictor.memory.memory);
 | 
					    $readmemb(`BTB_PRELOAD, dut.hart.ifu.bpred.bpred.TargetPredictor.memory.memory);
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  integer warningCount = 0;
 | 
					  integer warningCount = 0;
 | 
				
			||||||
@ -532,7 +532,7 @@ module testbench();
 | 
				
			|||||||
            instrs += 1;
 | 
					            instrs += 1;
 | 
				
			||||||
            // are we at a branch/jump?
 | 
					            // are we at a branch/jump?
 | 
				
			||||||
            if (`BPRED_ENABLED) begin
 | 
					            if (`BPRED_ENABLED) begin
 | 
				
			||||||
              speculative = dut.hart.ifu.bpred.BPPredWrongE;
 | 
					              speculative = dut.hart.ifu.bpred.bpred.BPPredWrongE;
 | 
				
			||||||
            end else begin
 | 
					            end else begin
 | 
				
			||||||
              casex (lastCheckInstrD[31:0])
 | 
					              casex (lastCheckInstrD[31:0])
 | 
				
			||||||
                32'b00000000001000000000000001110011, // URET
 | 
					                32'b00000000001000000000000001110011, // URET
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user