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