Forum Discussion
Altera_Forum
Honored Contributor
12 years agodivision procedure in schematic programming
i want divide an analog input say 4sinwt....so max value is 4. i want to divide the signal by 5 so output will be 0.8sinwt. so how i program through lpm_divide blockto get such result.
Altera_Forum
Honored Contributor
12 years agono i am talking about that suppose i giving the input pin of adc is an analog signal say 4sinwt. and i want to divide it by 5 to get 0.8sinwt. i represent the input 4sinwt as va[15..0] which is a 16 bit no. this value i taken as the input of lpm_divide block as numerator. so how bit wide i select the denominator for represent 5 what will be the value of denominator [ its decimal value 5 or pu value and bit length plz explain ]
after division operation to display the result on CRO through dac from which 12 bit i taken from quotient of lpm_divide block for input of the DAC(i have taken 2 input DAC).