forked from Github_Repos/cvw
		
	busybear: fix misaligned writing checking
This commit is contained in:
		
							parent
							
								
									beb93e2508
								
							
						
					
					
						commit
						4f84bd3c8f
					
				@ -131,6 +131,6 @@ add wave /testbench_busybear/InstrWName
 | 
				
			|||||||
#set DefaultRadix hexadecimal
 | 
					#set DefaultRadix hexadecimal
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
#-- Run the Simulation 
 | 
					#-- Run the Simulation 
 | 
				
			||||||
run 8690
 | 
					run 12422
 | 
				
			||||||
#run -all
 | 
					#run -all
 | 
				
			||||||
##quit
 | 
					##quit
 | 
				
			||||||
 | 
				
			|||||||
@ -171,7 +171,7 @@ module testbench_busybear();
 | 
				
			|||||||
      // then expected PC value
 | 
					      // then expected PC value
 | 
				
			||||||
      scan_file_PC = $fscanf(data_file_PC, "%x\n", pcExpected);
 | 
					      scan_file_PC = $fscanf(data_file_PC, "%x\n", pcExpected);
 | 
				
			||||||
      if (instrs < 10 || (instrs < 100 && instrs % 10 == 0) ||
 | 
					      if (instrs < 10 || (instrs < 100 && instrs % 10 == 0) ||
 | 
				
			||||||
        (instrs < 1000 && instrs % 50 == 0) || instrs > 700) begin
 | 
					        (instrs < 1000 && instrs % 50 == 0)) begin
 | 
				
			||||||
        $display("loaded %0d instructions", instrs);
 | 
					        $display("loaded %0d instructions", instrs);
 | 
				
			||||||
      end
 | 
					      end
 | 
				
			||||||
      instrs += 1;
 | 
					      instrs += 1;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user