longer simulation

This commit is contained in:
Stanislaw Kaushanski 2021-04-12 13:12:04 +02:00
parent 2a9ce332c7
commit d0eff8c08d
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -49,8 +49,9 @@ int main() {
printf("Result Bytes: %d\n", result_bytes);
const uint32_t amount_of_input_samples = 50000;
uint32_t step = 10000;
uint32_t iterations = 5;
uint32_t iterations = 40;
uint32_t in_beats = (step * sample_bytes) / axi_bytes;
if (in_beats * axi_bytes < step * sample_bytes) in_beats++;
@ -78,6 +79,9 @@ int main() {
spn::interrupt_reg() = 1;
in_addr += step * sample_bytes; // 5 bytes in each sample
if (k == amount_of_input_samples) {
in_addr = 0x20010000;
}
}
return 0;