Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12410 Discussions

Detect one shot signal from Nios II

Honored Contributor II


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?
0 Kudos
2 Replies
Honored Contributor II

you could use a PIO-Core inside the QSYS-System, which is connectable with the NIOS and is generating an Interrupt which gets catched by the NIOS. 


See in [1] for further details. 


Maybe there are also some reference designs for your board available with a PIO-Core connected?! 




Honored Contributor II

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.