Forum Discussion

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

Configuring the System clock timer in system library

Hello,

I am trying to configure the system library of a NIOS II IDE Application. In the system library contents, there is an option named "system clock timer" that can be set to none or to a timer present in the SOPC.

I've chosen to have no RTOS (single threaded).

What are the impacts to set the "system clock timer" to none ? or to set it to the timer present in the SOPC ?

Best regards,

Alora

3 Replies

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

    If you don't have a system timer, some functions won't work. Functions such as sleep, all the time functions, the alarms... If you don't use them, you don't need to set a timer.

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

    In fact, I don't need to use these functions. Thanks for you answer.

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

    I would recommend that you clearly indicate in some documentation somewhere that you didn't put a system timer and what the consequences are.

    You never know how projects evolve over time, and you may need to add a delay or timeout mechanism one day, and spend hours trying to find out why it doesn't work... ;)