Forum Discussion

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

Sleeping NIOS

has anyone implemented a power-down sleeping mode on the NIOS processor?

At the moment our scheduler basically loops until an interrupt or thread needs to be run. During this state, the NIOS processor could be 'asleep'.

Does the NIOS2 processor have a sleep/low power mode?

Which docs should I be looking at?

1 Reply

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

    The only solution i found so far is to stall the nios until an irq event occours with a custom ip.

    the main problem is that you can't get access to the irq when your ip only consists of avalon slaves. you must add an avalon slave that you can connect the existing irq's at sopc level to your ip.

    so your ip would have a dummy avalon master that does nothing but must exist and a avalon slave. whenever nios accesses your slave ip, this ip raises waitrequest until an irq occours.

    maybe somebody (altera ?) knows a better implementation.

    maybe a custom instruction