Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20704 Discussions

Hardware simulation is not enabled for the target SOPC Builder system ??

Altera_Forum
Honored Contributor II
1,172 Views

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; 

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
327 Views

Not sure what your looking for. I assume you want to turn on hardware simulation files generation. 

 

In SOPC builder GUI Click "next" button on the lower side of the window.  

click on "Simulation.Create simulator files" checkbox in the upper section of the page. 

 

This should create files you need to run simulation for your SOPC system. 

 

However this step is not necessary if you do not need to simulate the design( using MODELSIM etc ). This is usually used to debug hardware problems.
0 Kudos
Reply