FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6544 Discussions

Sample rate problem with Output Block of DSP Builder

Altera_Forum
Honored Contributor II
1,052 Views

Hello <br> 

<br> 

I have a sample rate problem with the Input or Output Block (sInOut S-function block) when I try to simulate my model in Matlab.<br> 

<br> 

After this kind of block, it is always convert the sample rate of my signal to 1 second. <br> 

<br> 

Here an example of my problem :<br> 

<br> 

Here a part of my model, a put two scope : scope2 with an audio signal and scope1 with the signal after the Output Block.<br> 

<br> 

<img src="http://www.alteraforum.com/forum/attachment.php?attachmentid=9844&amp;stc=1" border="0" alt=""><br> 

An image of the Scope 2 with the Audio signal :<br> 

<br> 

<img src="http://www.alteraforum.com/forum/attachment.php?attachmentid=9845&amp;stc=1" border="0" alt=""><br> 

<br> 

An image of the Scope 1 whith the signal after the Output Block.<br> 

<img src="http://www.alteraforum.com/forum/attachment.php?attachmentid=9846&amp;stc=1" border="0" alt=""><br> 

<br> 

As you can see, the sample rate was shrink to 1 second so I miss all the details of my signal. <br> 

<br> 

How can I fix it ?<br> 

<br> 

Thanks a lot for your help, I've working for hours on this problem. <br> 

<br> 

I send you my entire project attached to this post.<br> 

<br> 

Yann
0 Kudos
0 Replies
Reply