Random values output from the IP core
조회 수: 2 (최근 30일)
이전 댓글 표시
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
Walter Roberson
2017년 2월 7일
You appear to be displaying a status rather than the content of the counter ?
답변 (1개)
Jan
2017년 2월 7일
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
Walter Roberson
2017년 2월 12일
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Communications Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!