- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I try to simulate basic designs of NIOS2 with Modelsim, Basicly those are designs that are presented in different tutorials for NIOS 2. No metter what design I compile\build, NIOS2 always stops after reading first 8 addresses starting the reset vector address. The simulation then goes on but nothing happens. When I simulate the design with instruction set simulator or run it on taget board every thing works ok, for example: I slightly modify "hello world" program so that it will have infinite while loop with "printf", with instruction set simulation this works perfectly but in modelsim nothen happens after first 8 addresses. I follow the instruction of the tutorial for building Nios from scratch, I use on chip RAM, The SOPC generation and the software brojects are built successfuly I then verify that the initialization file for the memory(<memory_name>.dat _sim directory) is updated, that the memory initialization file in Test bench is correctly specified. I also verify that the first data read after the resert vector is the actual data in initialization file. I tried to play with the memories in SOPC builder, and with system libraries specificaions in NIOS 2 IDE but the result is still the same. It seems that there is some problem with reset vector, that prevents Nios from executing the program. I can't figure out what may be wrong? May be someone has encontered this problem before? Thank you.Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page