Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Modelsim simulation not work :(

Hi everyone

I try to start using nios2 5.1 - i use 1.0sp1 before

I have a problem with simulation in Modelsim 6.0

my step's is next below :

1. open - 100% worked project based on nios2 1.0 sp1

2. add Jtag debug level 1 to processor and regenerate system in SOPC 5.1

3. import old 100% working software IDE design and successful recompile it.

4. select Modelsim only, no hardware support in system library

here is snapshot http://slil.ru/22672193/1967767657/work_space1.jpg (http://slil.ru/22672193/1967767657/work_space1.jpg)

5. successful recompile C code

6. in IDE select RUN->RUN AS->NiosII Modelsim

7. in Modelsim select Tools ->execute macro - and select setup_sim.do

8. After this i press s in console to recompile design

9. press w to get timing diagramm

10. write in console run 500 us

and got this in my screen

here is picture of my diagram

http://slil.ru/22672170/1967767657/work_space.jpg (http://slil.ru/22672170/1967767657/work_space.jpg)

To many strange errors and simulation always stops.

How to fix this ?

What i miss ?

This way was work in previous version without any problem.

4 Replies