MyFPGA Forum

标题: de1 雙NIOSII核心如何使用 [打印本页]

作者: kay54068    时间: 2009-9-18 21:53
标题: de1 雙NIOSII核心如何使用
本人想做個遊戲,利用雙核心控制聲音與影像,請高手教導如何除SOPC Buillder 建立出一個雙核心系統
作者: rich    时间: 2009-9-19 22:09
三核心的範例

http://www.altera.com/support/examples/nios2/exm-multi-nios2-hardware.html?GSA_pos=4&WT.oss_r=1&WT.oss=Three%20NIOS
作者: kay54068    时间: 2009-9-20 22:11
我在第二顆核心遇到這樣的Error, rich大大有辦法解決嗎?

make -s all includes
Compiling hello_world.c...
Linking hello_world_3.elf...
/cygdrive/d/DE1_NIOS/software/hello_world_3_syslib/Debug/libhello_world_3_syslib.a(alt_sys_init.o)(.text+0x24): In function `alt_sys_init':
system_description/alt_sys_init.c:92: warning: Error: Interrupt not connected for UART. You have selected the interrupt driven version of the ALTERA Avalon UART driver, but the interrupt is not connected for this device. You can select a polled mode driver by checking the 'small driver' option in the HAL configuration window, or by using the -DALTERA_AVALON_UART_SMALL preprocessor flag.
/cygdrive/d/DE1_NIOS/software/hello_world_3_syslib/Debug/libhello_world_3_syslib.a(alt_sys_init.o)(.text+0x24):system_description/alt_sys_init.c:92: undefined reference to `__alt_invalid'
collect2: ld returned 1 exit status
make: *** [hello_world_3.elf] Error 1
Build completed in 6.766 seconds
作者: rich    时间: 2009-9-23 16:38
從文字上, 好樣是說UART的interrupt pin沒拉到.
請先看看在sopc builder 把uart 拿掉(or disable 掉), 在compile 看看
作者: americ    时间: 2010-3-19 15:15
auto address,
auto irq
设置一下,即可 。




欢迎光临 MyFPGA Forum (http://www.myfpga.org/discuz/) Powered by Discuz! X3