- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please i try to measure timing of block on the Nios through alt_timestampe() function. It work fine :), but my probleme why when i measure a block that's contain for example 10 instruction (10 clock cycle) i get a big time. For example my frequency is 50 Mhz (0.02 micro-second), when i measure a timing of 10 addition, i should get 0.2 micro second but i find a timing 3 melli-second. Please help me, and if there are a method to compute number of clock cycle or number of instruction. Thank youLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The difference between your expected/actual results could be lots of things (interrupts, memory access, etc.)
See this appnote for a good introduction to some of the techniques. http://www.altera.com/literature/an/an391.pdf And you can also use the NIOS signaltap plugin. http://www.altera.com/literature/an/an446.pdf![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/responsive_peak/images/icon_anonymous_message.png)
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