Passed multi-thread-xspn-vp simulation
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| @@ -58,7 +58,7 @@ int main() { | ||||
|     printf("READOUT HW:0x%x\n", spn::readout_reg()); | ||||
|  | ||||
| 	int in_addr  = (int)input_data.data(); | ||||
| 	int out_addr = 0x800A0000; | ||||
| 	int out_addr = 0x800B0000; | ||||
|  | ||||
|     int step = 500; // number of samples to be process at once | ||||
|     for (int k = 0; k < 10000; k+=step) { | ||||
| @@ -70,7 +70,7 @@ int main() { | ||||
|     	spn::interrupt_reg() = 1; | ||||
|  | ||||
| 		ret_val = check_results(out_addr, k); | ||||
| 		in_addr += 2500; | ||||
| 		in_addr += step * 5; // 5 bytes in each sample | ||||
| 	} | ||||
|  | ||||
| 	return ret_val; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user