Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

How can I set initial values for Floating Point Megafunctions??

$
0
0
Hello everyone,

I am trying to make IIR filter, which is attached to this thread in pdf, with cyclone III.
Since there are some multipliers in floating point, I use FLoating Point Megafunctions especially alftfp_add_sub and altfp_mult.

Here is my problem:
because altfp_add_sub cannot deal with input with 'U', the first alftfp_add_sub (named as altfp_add_sub0 in the pdf) can only output 'U' and therefore all inputs to other blocks are always 'U'.

So what I am trying to do to solve this problem is to give initial condition(s) to the blocks especially the first altfp_add_sub so that the output will be normal value.
Does anyone know how to set initial condition to Floating Point Megafunctions??

If there is no way, then I want to know other ways to solve this problem...


I appreciate any help.

Yukihiro
Attached Files

Viewing all articles
Browse latest Browse all 19390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>