- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
I want to implement basic averaging block in dsp builder and control it by using qsys. I have added five register field to obtain data from qsys and then I add them by using five inputs adder then multiply the result with 0.2. Finally, I write the result of the multiplication to the RegOut block. I have not used channel in and channel out blocks as in the example of demo_regs.mdl. Therefore, I do not know the latency of my dsp builder system. If I read the RegOut block soon after writing the data registers I read wrong result because the dsp builder system has not calculated the result yet. How can I know the latency of my dsp builder system and how can I understand finishing of the calculation? Thanks, OmerLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Hi everyone, I want to implement basic averaging block in dsp builder and control it by using qsys. I have added five register field to obtain data from qsys and then I add them by using five inputs adder then multiply the result with 0.2. Finally, I write the result of the multiplication to the RegOut block. I have not used channel in and channel out blocks as in the example of demo_regs.mdl. Therefore, I do not know the latency of my dsp builder system. If I read the RegOut block soon after writing the data registers I read wrong result because the dsp builder system has not calculated the result yet. How can I know the latency of my dsp builder system and how can I understand finishing of the calculation? Thanks, Omer --- Quote End --- just pass some data and visualise the result (using spectroscope block of simulink) at any point
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
unfortunately can't open your design.
for input use any of the "sources" blocks(of simulink) for visualising use scope from "sinks" blocks(of simulink)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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