- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I noticed that while stepping thru some assembly, I could not alter the outcome of a cmpge if I changed one of the register values just before the compare. I thought I would be able to do this, particularly on an e core. This brings up the question of how the debug interface is tied into the different processor cores. How is normal execution altered (pipeline, etc) while stepping?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Now I see. You have to use sign extended values for these compares.
The question about pipeline is still valid. Does running under the debugger basically disable any pipeline?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you are single-stepping it appears as though the pipeline is disabled.
In the Nios II/s and Nios II/f, multiple instructions are dispatched into the pipeline when single stepping but only the first is allowed to complete. The other instructions are flushed before modifying any programmer-visible state. The Nios II/e doesn't really have a pipeline so it is in a sense always single stepping.
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