Altera_Forum
Honored Contributor
15 years agoHardware simulation is not enabled for the target SOPC Builder system ??
Anyone know how to solve this problem ??? Please help me!!!!!!!
Below are the simple programming that i' ve run in NIOS II, but faced with this problem: "Hardware simulation is not enabled for the target SOPC Builder system. Skipping creation of hardware simulation model contents and simulation symbol files. (Note: This does not affect the instruction set simulator.) Build completed in 20.545 seconds" Anyone know how to solve this problem ??? Please help me!!!!!!! #include <iostream> #include "system.h" // defines all system peripherals and base addresses #include "altera_avalon_pio_regs.h" //When want to access any PIO like LED, LCD, Seven-segment, or Push Button, this is the header file that user should include #include "alt_types.h" // Allow the user to user altera defined data type, for example, alt_u8, alt_u32, etc using namespace std; #ifndef ram_addr #define ram_addr 0x0 #endif#ifndef data #define data 0x1 #endif
int main() { //declaration const int SIZE= 10080; int addr; long I ; int i; addr=0x00; //PROGRAM START for (i=0; i<SIZE*3; i++) { IOWR(AVALON_0_BASE, ram_addr, addr); //ram_addr = addr I = iord (avalon_0_base, data);
addr++;
cout << "i[" << i << "] = " << i << endl; } return 0; }