Forum Discussion
Altera_Forum
Honored Contributor
10 years agoDE0-Nano-SoC: How HPS(ARM) recognizes f2h_irq0 or f2h_irq1 interrupts from FPGA
I designed a block in Verilog. When data processing is finished, this FPGA block sends an interrupt signal to HPS using one of dedicated interrupt line: f2h_irq0 or f2h_irq1. The question is how HP...
Altera_Forum
Honored Contributor
10 years agoHi Nachodizz990,
Thanks for the link. I successfully imported this project, added my printf’s comments, compiled it, configured Debug Configuration.. I don’t have any errors, however nothing is output on Console except my printf comment inserted just after int main (int argc, char **argv). After putting some breakpoints and removing “//” before “ printf("DIPSWITCHES => 0X%X\r\n",dipsw_value );”, I see that there might be a problem with code line “dipsw_value = alt_read_word(DIPSWITCH_address);” since uncommented line “printf("DIPSWITCHES => 0X%X\r\n",dipsw_value );” is never executed, the system freezes. Question should I build a system in QSYS first, in order to generate and provide soc_system.h?