Forum Discussion
Altera_Forum
Honored Contributor
10 years agoExponential function in vhdl
hiii I want to implement exp(x.^2) in VHDL for synthesis. Can any one suggest how to do it. Here x is in signed format and i want result in fixed point arithmatic i.e. without rondoff operation....
Altera_Forum
Honored Contributor
10 years agoI highly suggest you learn about digital design. What you are going to create is a ROM - a read only memory. This can be done in VHDL using a constant which can be initialised from a function, a specified constant or a .mif file. you can have matlab generate the values to go into the constant.
There are plenty of examples out on the web.