Altera_Forum
Honored Contributor
13 years agoHow can I set initial values for Floating Point Megafunctions??
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