- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anyone know if there is a code coverage tool for the NIOS2? What I am talking about is a tool that connects to the hardware and traces each if, while, for, switch, etc. It dumps a report/analysis that lets you know where your dead code is. It sounds complicated, but in all actuality it takes your source code, inserts a data bus write (tag) at each conditional statement, and then recompiles it. Yes it does increase the app size and slows you down a bit, but it does what it's supposed to do - code coverage. All you need is to supply a nWE and 32 bits of data. When you run your code, it collects the data tags and writes a report for you. It's kind of like a device specific logic analyzer. We use Metrowerks Codetest, but they don't have NIOS2 support at this time. Just wondering if anyone else has something similar.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might check out the Lauterbach tools, which now support Nios II: http://www.lauterbach.com (http://www.lauterbach.com) I have heard that they have this capability, although I haven't used it myself.

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