Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

NIOS II sim with Questa

Majo
Beginner
1,218 Views

Hi!

I'm trying to start a simulation of my NIOS design but when I launch Questa from Eclipse tool I see a such error

Majo_0-1669986276715.png

As a result, my code doesn't executed as I expect.

Could anyone assume what's wrong?

Thanks. 

0 Kudos
15 Replies
Majo
Beginner
1,165 Views

In additional, I've found a such information https://www.intel.com/content/www/us/en/docs/programmable/683820/current/nios-ii-sbt-makefile-mem-init-generate.html :

Majo_0-1670243398775.png

The main question, why Eclipse doesn't generate it.

0 Kudos
EBERLAZARE_I_Intel
1,148 Views

Hi,


Which version are you using?


0 Kudos
Majo
Beginner
1,122 Views

Hi,

 

I use these tools:

Eclipse Mars.2 Release (4.5.2);

Quartus Prime 21.1.1 Build 850 Lite Edition;

Questa - Intel FPGA Starter Edition.

0 Kudos
EBERLAZARE_I_Intel
1,112 Views

Hi,


Did you run into any issue in eclipse when building your project?


Could you share your design for me to replicate and check?


0 Kudos
Majo
Beginner
1,098 Views

Hi,

 

Yes of course, you could find my project as an attached file. Its very simple project.  

0 Kudos
EBERLAZARE_I_Intel
1,086 Views

Hi,


Thanks, let me try to do the simple replication, you may expect some delay in my response latest by Monday next week.


0 Kudos
EBERLAZARE_I_Intel
1,036 Views

Hi,


I just noticed, the .dat file seems to be in your project folder same as your .sopcinfo file.


You might need to move the the .dat file to the directory that is reporting the error or edit your script/makefile in Questasim to search the .dat file location.


0 Kudos
Majo
Beginner
1,023 Views

Hi,

 

Thank you for your help. It was a stupid mistake from my side.

0 Kudos
Majo
Beginner
1,012 Views

But by the way, its still doesn't work. I've done a similar *.dat file before. It always includes the same data.  At my simple design I want to see a meander signal instead that I see only low level.

0 Kudos
EBERLAZARE_I_Intel
972 Views

Hi,


Apologies for the late respond, are you still seeing the initial error shown in the first screenshot?


So using the new .dat is the same as using a .dat from previous builds?


I recommend that your question should be file on a new ticket topic on Questasim.


0 Kudos
EBERLAZARE_I_Intel
951 Views

Hi,


Do you have any update?


0 Kudos
Majo
Beginner
938 Views

Hi,

 

There is no update at all. I think the main issue its Eclipse software because it doesn't generate *.bat file or other files are necessary for a simulation process.

0 Kudos
EBERLAZARE_I_Intel
893 Views

Hi,


I am not familiar with Questa, we do not offcialiy support Nios II simulation using Questa sim, might meed to use modelsim:

https://www.intel.com/content/www/us/en/docs/programmable/683282/current/running-a-nios-ii-system-with-modelsim.html


There is Nios V using Questa sim, but Nios V currently only supported for Quartus pro versions and 10 series board:

https://www.intel.com/content/www/us/en/docs/programmable/726952/22-1-21-2-0/simulating-processor-designs.html



0 Kudos
EBERLAZARE_I_Intel
878 Views

Hi,


Have you try with Modelsim?


0 Kudos
EBERLAZARE_I_Intel
866 Views

Hi,


As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


0 Kudos
Reply