#### hitx

##### Member level 2

Can anybody help me about this calculation (showns below) in VHDL. Otherwise, I will become such an insane.

Xn+1 = 4*Xn*(1-Xn) Xn+1 is a new value and Xn is past. Xn will always be in the range of 0< Xn< 1. Xn is float number with 10 decimal point. inital value of Xn is 0.25.

So how can I obtain a suitable code for the given eqn? Please someone explains this by giving the VHDL library. Thanks alot.

Hitx