Passed multi-thread-xspn-vp simulation

This commit is contained in:
Stanislaw Kaushanski 2021-01-06 17:27:58 +01:00
parent 3d93e4b9a5
commit 685f25e2ce
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -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;