Forum Discussion
Altera_Forum
Honored Contributor
16 years agoSyntax error in alt_sys_init.c ???
Hi, I am using the cycloneIII and I am desperately trying to run a simple "hello world" on a two-cores system. I picked up the NEEK and I added a second proccessor(called E1), some on-chip R...
Altera_Forum
Honored Contributor
16 years agoHi,
I am using the 9.0 version. I am not quite sure about what you are talking, but I saw some lines in the macro in alt_avalon_sgdma.h : --- Quote Start --- /* * The macro ALTERA_AVALON_SGDMA_INIT is called by the auto-generated function * alt_sys_init() to initialize a given device instance. */ # define ALTERA_AVALON_SGDMA_INIT(name, dev) if (name##_IRQ == ALT_IRQ_NOT_CONNECTED) { ALT_LINK_ERROR ("Error: Interrupt not connected for "# dev ". " "The Altera Avalon Scatter-Gather DMA driver requires " "that an interrupt is connected. Please select an IRQ " "for this device in SOPC builder."); } else { alt_avalon_sgdma_init(&dev, name##_IRQ); } --- Quote End --- The problem is that these header files are automatically generated during the syslib building...so I should not modify these files. I am wondering if the problem comes from bad hardware in SOPC builder or from bad parameter/option in nios IDE... thank you for helping me!