Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

vhdl code for exponent value

Status
Not open for further replies.

ganadikamal

Newbie level 3
Joined
Jan 10, 2012
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,297
hi i want to write a code for 1/(1+e^(-x)).. i implemented using the value of e like 2.134 the problem is in the power i want to use the floating point .. how can i solve this.. please help in sort outing this problem..
 

In most cases, you would prefer fixed point number formats to true floating point. But it's a matter of the application requirement. You need to become clear about number ranges and required resolution.

For the exponential function, you can consider two options:
- a ROM table, which could also represent the complete function
- classical iterative methods known from numerical mathematics text books, e.g. geometric series
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top