Forum Discussion
Altera_Forum
Honored Contributor
21 years agointerfacing to custom logic with an interrupt
I have made an interface to custom logic using an avalon slave port with the following signals, clk, irq, readdata, address, read, chipselect the idea is that custom logic c...
Altera_Forum
Honored Contributor
20 years agoIn my system, my ISR returns CYG_ISR_HANDLED | CYG_ISR_CALL_DSR; yours is omitting CYG_ISR_HANDLED. Not sure how much of a problem this is; I know that, at least, it will go poll every ISR if you don't have it. Maybe it's ignoring CYG_ISR_CALL_DSR since CYG_ISR_HANDLED isn't there?
Also, I have to concur that it's good to access peripherals via only IORD/IOWR macros; it's one less thing to worry about.