![]() |
|
|
|||||||
![]() |
VHDL - help need in conversion problem |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
hello friends,
i do my ifft implementation with respect to complex number input and got my output as complex number in simulation side. Modelsim S.E 5.5 -simulator. With respect to real type in vhld coding, that one is not synthesised. so, i'm going to convert the real to std_logic_vector. for that i fixed by quantization of corresponding value of real type to 8 bit. ok. for eg. if i have real value = 0.316 i can represent in bitvector as "00101000" and 0 .949= "01111001". if i do some calculations like a <= 0.316+0.949 <= "00" & "00101000" + "00" & "01111001" = "0010100001" 0.316+0.949 = 1.265 => "10100001" both come correct ans.. if suppose some of the carry generate means what can i do. and if i multiply the sum of number with the some twiddle factor(that i put in lookup table as std_logic_vector of 8 bit), the total bit will increase at that time manuall calculation of real converted to bit values and computed result are vary.. for that what i can do .. tell me and give some suggestions... expecting ur reply cheers Senthil.R MTech vlsi design senthil |
|
|
|
|
#2 |
|
Posts: n/a
|
hi ,,
i in need how to convert the real value to bit of 8 bit vector.. ie., normalization techniques.. pls give some guidance. regrds (senthil) wrote in message news:<. com>... > hello friends, > > i do my ifft implementation with respect to complex number input and > got my output as complex number in simulation side. > > Modelsim S.E 5.5 -simulator. > > With respect to real type in vhld coding, that one is not synthesised. > so, i'm going to convert the real to std_logic_vector. for that i > fixed by quantization of corresponding value of real type to 8 bit. > ok. > > for eg. if i have real value = 0.316 i can represent in bitvector as > "00101000" > and 0 .949= "01111001". if i do some calculations like > a <= 0.316+0.949 <= "00" & "00101000" + "00" & "01111001" = > "0010100001" > > 0.316+0.949 = 1.265 => "10100001" > > both come correct ans.. if suppose some of the carry generate means > what can i do. and if i multiply the sum of number with the some > twiddle factor(that i put in lookup table as std_logic_vector of 8 > bit), the total bit will increase at that time manuall calculation of > real converted to bit values and computed result are vary.. > for that what i can do .. tell me and give some suggestions... > > expecting ur reply > cheers > Senthil.R > MTech vlsi design senthil |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error: expected constructor, destructor or type conversion before '(' token | suse | Software | 0 | 03-09-2009 03:25 AM |
| Dial Up Problem | smackedass | A+ Certification | 3 | 02-02-2007 11:59 PM |
| Re: Virus Problem ** Help!** | David BlandIII | A+ Certification | 1 | 03-02-2004 06:00 PM |
| Re: Serious Computer Problem | hootnholler | A+ Certification | 1 | 11-24-2003 12:18 PM |
| Re: Serious Computer Problem | Bret | A+ Certification | 0 | 11-19-2003 12:51 AM |