Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17247 Discussions

How to measure the running time in FPGA?

Altera_Forum
Honored Contributor II
1,295 Views

Hi, I am a new FPGA learner using quartus2 and stratix2 and I have a very basic question: when running circuit on the board, how can I measure the exact time needed from one state to another state, which is about 500ms? For example the time need from the condition that one register become "1" to the condition that the content of a RAM become "11001"?  

 

I am trying to use the signalTap2 logic analyzer to do it. But do not know how. Should I use this tool, or there is any other way, which is much easier? It is really appreciated if you could help me on how to measure the time! Thank you very much!!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
565 Views

If you know your circuit, you can figure out how many clock cycles it takes. Then you just multiply it by clock period ( -- 1/frequency). 

 

You can also just simulate your circuit and measure the timings.
0 Kudos
Altera_Forum
Honored Contributor II
565 Views

I got the idea now... Thank you so much for your kind help! :)

0 Kudos
Reply