longer simulation
This commit is contained in:
parent
2a9ce332c7
commit
d0eff8c08d
Binary file not shown.
|
@ -49,8 +49,9 @@ int main() {
|
||||||
|
|
||||||
printf("Result Bytes: %d\n", result_bytes);
|
printf("Result Bytes: %d\n", result_bytes);
|
||||||
|
|
||||||
|
const uint32_t amount_of_input_samples = 50000;
|
||||||
uint32_t step = 10000;
|
uint32_t step = 10000;
|
||||||
uint32_t iterations = 5;
|
uint32_t iterations = 40;
|
||||||
|
|
||||||
uint32_t in_beats = (step * sample_bytes) / axi_bytes;
|
uint32_t in_beats = (step * sample_bytes) / axi_bytes;
|
||||||
if (in_beats * axi_bytes < step * sample_bytes) in_beats++;
|
if (in_beats * axi_bytes < step * sample_bytes) in_beats++;
|
||||||
|
@ -78,6 +79,9 @@ int main() {
|
||||||
spn::interrupt_reg() = 1;
|
spn::interrupt_reg() = 1;
|
||||||
|
|
||||||
in_addr += step * sample_bytes; // 5 bytes in each sample
|
in_addr += step * sample_bytes; // 5 bytes in each sample
|
||||||
|
if (k == amount_of_input_samples) {
|
||||||
|
in_addr = 0x20010000;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue