- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Guys, we've been just trying to deal with a problem of multiprocessor of FPGA. The problem is, the project could only work if we use NIOS II/e. If we use some other types of processors, it does not work. So would you please tell me the reasons?
The tools we use are NIOS IDE 8.1, Quartus II8.1. Thanks.Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm guessing it's a cache problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When we used two NiosII/e processors in our SOPC Builder, it worked well, but when we changed either processor to NiosII/s, neither would work well. For example, we used the two processors to control two leds respectively, neither led works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do the two softwares use different parts of memory? (including stack and heap)
Do you use IOWR instructions to access the LEDs?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should use a hardware mutex (setup in SOPC Builder) to provide mutually exclusive access to the LED. Then each Nios II processor must use the mutex API to gain access to the LED resource before attempting to modify it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As Daixiwen alludes to, make sure that all of your peripheral registers are mapped to non-cached memory areas.

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