cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rahma1920
Observer
Observer
526 Views
Registered: ‎01-06-2019

System Generator: How to make an implementation of a hyperbolic tangente function through a ROM

I want to write the equation of tan sigmoid function using ROM block in system generator:                     

f(x) = [(2 / (1+exp(-2x))-1].

If i open a new ROM block from the Xilinx Blockset i find this default formula in the "Initial Value Vector" text field: sin(pi*(0:15)/16) as shown in the figure.

please show me the syntax in ROM block for above expression.

Thanks in advance!

ROM.PNG
0 Kudos
1 Reply
rshekhaw
Xilinx Employee
Xilinx Employee
500 Views
Registered: ‎05-22-2018

0 Kudos