Forum Discussion
Altera_Forum
Honored Contributor
7 years ago --- Quote Start --- Hi, Counter.cpp have only two printf statement for the pass and fail condition, count values are not displayed. To see the count values introduce printf statement for seeing the count values at console. Example:
for(unsigned int i=0; i < SIZE; ++i) {
if (result != i) {
printf("ERROR: Expected %u, found %u\n", i, result);
pass = false;}
else{
printf("Expected %u, found %u\n", i, result);
}
} You can also run test-x86-64.exe to see the result after compilation using command build.bat test-x86-64 https://alteraforum.com/forum/showthread.php?t=57668 Let me know if this has helped resolve the issue you are facing or if you need any further assistance. Best Regards, Anand Raj Shankar (This message was posted on behalf of Intel Corporation) --- Quote End --- Hi, I want to make this counter on the 7 segment display of DE1 SoC board, my question is: How can I do this with intel HLS ?? Thank you Best Regards, Sarah