I am using Zybo board with standalone OS using Xilinx SDK.
I wonder to know if there is any library or board support package that I can get the value of PC (Program Counter).
The reason I am looking for that, is that I want to measure how much clock cycle does a portion of my code take (by calculating difference between PCs at two test points of the code).
Question
Mehdim
Hello everyone;
I am using Zybo board with standalone OS using Xilinx SDK.
I wonder to know if there is any library or board support package that I can get the value of PC (Program Counter).
The reason I am looking for that, is that I want to measure how much clock cycle does a portion of my code take (by calculating difference between PCs at two test points of the code).
Appreciate your comments.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.