forked from Firmware/Firmwares
increase XSPN load
This commit is contained in:
parent
d0eff8c08d
commit
96de37dbc2
Binary file not shown.
@ -50,8 +50,8 @@ int main() {
|
|||||||
printf("Result Bytes: %d\n", result_bytes);
|
printf("Result Bytes: %d\n", result_bytes);
|
||||||
|
|
||||||
const uint32_t amount_of_input_samples = 50000;
|
const uint32_t amount_of_input_samples = 50000;
|
||||||
uint32_t step = 10000;
|
uint32_t step = 50000;
|
||||||
uint32_t iterations = 40;
|
uint32_t iterations = 15;
|
||||||
|
|
||||||
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++;
|
||||||
@ -59,7 +59,7 @@ int main() {
|
|||||||
if (out_beats * axi_bytes < step * result_bytes) out_beats++;
|
if (out_beats * axi_bytes < step * result_bytes) out_beats++;
|
||||||
|
|
||||||
int in_addr = 0x20010000; // place input samples in the SPI memory
|
int in_addr = 0x20010000; // place input samples in the SPI memory
|
||||||
int out_addr = 0x20210000;
|
int out_addr = 0x20510000;
|
||||||
|
|
||||||
// inject SPN input data
|
// inject SPN input data
|
||||||
spn_checker::input_addr_reg() = in_addr;
|
spn_checker::input_addr_reg() = in_addr;
|
||||||
|
Loading…
Reference in New Issue
Block a user