Matlab hamming to vhdl 8-bit

Status
Not open for further replies.

OS_cilloscope

Newbie level 1
Joined
Nov 21, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
6
I am going to use 128 point hamming window to be implemented in Vhdl. In matlab, I obtained the values of the hamming window as:

h = hamming(128);

But, what Matlab gave me is varying values in the range 0 and 1. How can I convert these values into 8-bit to use them in vhdl?
 

You will need to use fixed point - by default matlab uses floating point.
in fixed point you can easily represent whatever number you want in VHDL.
 
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…