Forum Discussion
Altera_Forum
Honored Contributor
18 years agoclock timing measurement
Hi, my aim is to see how many clock cycles it takes for my C code to execute. How can I do this?. I have no block design file, I'm using an verliog code as top level design, and a C c...
Altera_Forum
Honored Contributor
18 years agoHi,
should I give the base address of PERFORMANCE_COUNTER_0_BASE, or wil it get it automatically from system.h, If I dont declare it gives me an error saying " first use of this function" PERFORMANCE_COUNTER_0_BASE If I declare this with its base address like. # define PERFORMANCE_COUNTER_0_BASE 0x00021000 it builds and runs but I get an output where the output runs like : yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy why is this because of ?. waiting for your reply. thanks, Anand