--- Quote Start ---
originally posted by lucky@Dec 26 2005, 06:46 AM
1 all of the interruptor vertor table of nios is how to dispatch in the hardware address like the arm from 0x0 to 0xff?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11781)
--- quote end ---
--- Quote End ---
Yes, similar but a little bit simpler than ARM... you only have the IRQ pin to which all the software and hardware interrupts are redirected!
--- Quote Start ---
originally posted by lucky@Dec 26 2005, 06:46 AM
2 how to use the interrutor vertor api of the nios and how to register it and response it ?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11781)
--- quote end ---
--- Quote End ---
??? There is an example at page 6-10 of the Nios II Software Developer's handbook...
some other examples should be in the examples directory of altera...
(just grepping gives some results
pj@TOM /cygdrive/c/altera/kits/nios2_51/examples/software
$ grep -rl alt_irq_register *
board_diag/board_diag.c
count_binary/count_binary.c
tcm/timer_interrupt_latency.c
); other examples (very similar to those available in the Altera Directory) are also available in the demo we distribute with ERIKA Enterprise, in particular the 2 CPU and the FIFO demo available here (
http://www.evidence.eu.com/nios2/literature.asp)
--- Quote Start ---
originally posted by lucky@Dec 26 2005, 06:46 AM
3 have interrutor vertor functions the stable names by yourself ?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11781)
--- quote end ---
--- Quote End ---
What you mean with "stable names"? you can link a function you wrote to the interrupt using alt_irq_register...
--- Quote Start ---
originally posted by lucky@Dec 26 2005, 06:46 AM
4 who has the whole of the interrutor vertor table of nios, and he has the example of using it completed in the program?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11781)
--- quote end ---
--- Quote End ---
There is only one exception vector, whose address is specified inside SOPCBuilder. Then, there is the ipending register, and all the rest is done in software...
bye
Paolo