Forum Discussion

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

Detect one shot signal from Nios II

Hi

I am new to Nios II. I need to detect a one shot signal generated by an external module. But the Nios II (e) is not receiving the signal.

Is it possible to detect or I should make a signal with longer duration. What if I use ISR?

2 Replies

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

    You are more than likely missing the pulsed signal. I was running into the same issue. I was providing the nios with a 1cc pulsed signal as an interrupt. The nios was on the same clock domain, but it was still missing it.

    The solution was to use an active high level interrupt. This interrupt remains high until the nios acknowledges it, then the nios goes out and clears it. This was accomplished by writing to a "clear" register that I implemented in the interrupt generating component.