Thanks permute for your input.
Could you please elaborate more?
Let talk about a particular example like DAC900 from TI I am attaching a picture from the datasheet showing their typical circuit. The complete datasheet could be found
here!
The Vref I though it has to be with the output value. So if we supply 3 V the max value should be 3 at 1111111111 address. Right?
- - - Updated - - -
Here you are examples
https://kanyevsky.kpi.ua/Studentam/labexercise 1.pdf.
The outputted data is for the DAC input, which output voltage arrangement is out of the synthesable VHDL scope.
Thanks Aser for you lab file. I have read it and I still not sure how to extract what I need to my table creation.
I have create a table on excel using sin fuc. so I start at 0 to have sin=0 as it should and I find the it complete cycle at 360. the value range from 0 to 1. all sound easy now.
I know my DAC (in this example) is running at 100 MHz so that is 100M sample per sec. (the faster signal to be created would be 50M as we will have two sample per half cycle)
But let say we want to create a 1 second period signal. that mean we will need 100M values (let assume we will storage all the values in the fpga ran) from range 0000000000 to 1111111111
(I am also accounting the values will go from 0V to 3V like the signal have a DC value which should be like 1.5V, right?)
to make all easier if I say I want to create a SIN output to 100Hz that means 1M sample per cycle.
according to the file you sent would this be the equation S = sin (2*PI*i/M) give some weird values like 500 half cycle to -2.44921270764475E-016
I know how should look like just I don't know how to calculate it, for this example I should see at 0 value equal to 1000000000 at 750 value should be 0000000000
at 250 value I know it should be 1111111111 and 1 M should be 01000000000, right? I don't know what equation should I use to calculate the value in between?
Please feel free to help!