S
senthil
Guest
hello friends,
for the direct implementation of the dft, i need the real variable
intends multiply with that of real converted integer values. upto
simulation level i didn't found no prblem. but at synthesis level, the
real types are not synthesisable. the error will occur ..
simulation -modelsim S.E 5.5
synthesis - leonardo spectrum level3
coding.
wn <= 0.982;
if mapp = '1' and en < 64 then
int := real(en);
Wk := int*Wn;
for ke in 0 to 63 loop
ke1 := real(ke);
upd := ke1*Wk;
c := cosine(upd);
s1 := sine(upd);
vifftre(en) := vifftre(en) + re(ke)*c - im(ke)*s1;
vifftim(en) := vifftim(en) + re(ke)*s1 + im(ke)*c;
end loop;
ifftre(en) <= (vifftre(en))/npt;
ifftim(en) <= (vifftim(en))/npt;
en <= en + 1;
end if
for the direct implementation of the dft, i need the real variable
intends multiply with that of real converted integer values. upto
simulation level i didn't found no prblem. but at synthesis level, the
real types are not synthesisable. the error will occur ..
simulation -modelsim S.E 5.5
synthesis - leonardo spectrum level3
coding.
wn <= 0.982;
if mapp = '1' and en < 64 then
int := real(en);
Wk := int*Wn;
for ke in 0 to 63 loop
ke1 := real(ke);
upd := ke1*Wk;
c := cosine(upd);
s1 := sine(upd);
vifftre(en) := vifftre(en) + re(ke)*c - im(ke)*s1;
vifftim(en) := vifftim(en) + re(ke)*s1 + im(ke)*c;
end loop;
ifftre(en) <= (vifftre(en))/npt;
ifftim(en) <= (vifftim(en))/npt;
en <= en + 1;
end if