Random values output from the IP core
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi all,
I have an up counter (0-10) IP core generated from the Xilinx system generator. when I write an app in SDK and run the code, I get random values as outputs. what is wrong ? Can someone please help me on this?
regards
1 Kommentar
Walter Roberson
am 7 Feb. 2017
You appear to be displaying a status rather than the content of the counter ?
Antworten (1)
Jan
am 7 Feb. 2017
If the code runs on mutliple threads, the output is expected to be random, because the order of threads the code is processed in does not matter.
2 Kommentare
Walter Roberson
am 12 Feb. 2017
As far as I know, Jan does not know anything about the IP integrator. I do not know anything about it either. However, if you show the code for counter1_gateway_out_read() and counter1_initialize() then perhaps the code will lead to some ideas.
Siehe auch
Kategorien
Mehr zu C Code Generation finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!