Altera_Forum
Honored Contributor
19 years agohave warning component is not supported ?
I made simple system in SOPC (nios II core, On chip SRAM memory, + PIO (8 IO ports) I generated system and in nios II IDE crated new procect with hello word example C code I changed this C code to simple code that writes to PIO periphery to toggle IO pins I build project and whent to Instruction set simulatior and then run debugger got sutch Warning mesage:
Warning : SOPC Builder system component pio_0 is not supported by the simulator. Simulation may be incorrect if your software attempts to access it Listening on port 1383 for connection from GDB: this is my C code:#include "STDIO.h"# include "system.h"# include "ALTERA_AVALON_PIO_REGS.h"
int main ()
{
int i=14;
int b;
IOWR_ALTERA_AVALON_PIO_DATA(PIO_0_BASE,i);
b = IORD_ALTERA_AVALON_PIO_DATA(PIO_0_BASE);
} I wanted to evaluate writing and reading to PIO periphery and when I step through instructions then it writes to b value 0 I tried diferent codes and didn't succeed http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif Is it becouse of this Warning massage?? I also tried supported niosII_cyclone_1c20 bord example (full_featured) compiled and still this warning but now there was list of all SOPC components. so what is wrong ?