Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

tracking time for real time control algorithm ??

Hi,

i am new in VHDL, and i want to know if there is time() function at library that i can record time through for real time control algorithm using vhdl in my ALTERA DE2_70??

thanks

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    No. How would you expect to do that in logic? Remember VHDL is NOT a programming language running on a processor.

    you will need a counter and something to read the start and end values, then, as you know the clock speed, you can work out how long it's taken.