sougata_vlsi13
Member level 4
- Joined
- Apr 19, 2013
- Messages
- 77
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- India
- Activity points
- 1,980
Sir,currently I am working on radix 2 FFT project.I have written the code for radix 2 DIT FFT butterfly structure.i have written the code in 4 modules.but in case of calculating the formula like
S(0)=x(0)+W(0)*x(4), like x(0)=0.5;w(0)=0.7+j0.5 and x(4)=0.5
it needed complex multiplication and addition,i am not getting how to write it in VHDL.although i have taken function add,sub and mult and also describe it in a separate package but while running the test bench with thre required input it is showing some fatal error like your product value is out of range.
prod.r:=(p1.r * p2.r) - (p1.i * p2.i);---error
prod.i:=(p1.r * p2.i) + (p1.i * p2.r);---error
please help me in this regard
S(0)=x(0)+W(0)*x(4), like x(0)=0.5;w(0)=0.7+j0.5 and x(4)=0.5
it needed complex multiplication and addition,i am not getting how to write it in VHDL.although i have taken function add,sub and mult and also describe it in a separate package but while running the test bench with thre required input it is showing some fatal error like your product value is out of range.
prod.r:=(p1.r * p2.r) - (p1.i * p2.i);---error
prod.i:=(p1.r * p2.i) + (p1.i * p2.r);---error
please help me in this regard