Help me implement some DSP concepts in VHDL

Status
Not open for further replies.

Padfoot3

Newbie level 5
Joined
Jan 10, 2012
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,344
Hello,
Can anyone tell me how to go about implementing this equation in VHDL:
y = a0*x0+a1*x1+a2*x2+...
where a0,a1 ... are constants

Do I have to read the values of x and a from a text file ? Or can I specify the values in the code itself?
 

Re: DSP concepts in VHDL

Do I have to read the values of x and a from a text file ? Or can I specify the values in the code itself?
Borh is possible. In a real design the xn would be derived from an input signal, I guess. Or are you talking about simulated signals?

You should firstly think of a suitable numeric format for signals and constants. The IEEE fixed point package is a convenient way-
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…