Trying to program BladeRF's FPGA with VHDL
First floating/real program
I am afraid this program is not synthesizable, but it runs correctly.
Synthesizable floating/real program
What did I do? I created a table called sinrom with 32 entries. In the process calcindex I simply increment an index for every clk-pulse and use that to get the corresponding value, a 12 bit number.
Picture of the simulation
Yes, I know I can get rid off some numbers using written constants.
By the way I got the idea from: