11-24-2011 02:04 AM
i'm a student using ALTIUM NANO BOARD 3000. i'm having the vhdl code for reading any one channel of ADC(adc084s021) for nano board. Now i want to use the two channels of ADC and my output should be subtraction of two channels , when i edited my code i'm getting errors. i'm attaching my code files for reading single adc channel here. plz help me....
thanks in advance..........
11-24-2011 02:12 AM
11-24-2011 02:33 AM
first of all thanks for the reply sir......
the code which i attached is for reading only one adc channel. i was getting output in leds. now i want to use two channels. i just changed the channel and repeated the same component adc084s021(present in code). i got the error that adc clock is driven through multiple sources...... i have to get the output as
output= channel1(data) - channel2(data_
can you please tell me the necessary changes i can make in my code to get the required output.
thanks in advance
11-24-2011 03:04 AM
i got the error that adc clock is driven through multiple sources.
The variable for the adc clock may be assigned in only one process. Search your code and combine the processes or eliminate all the adc clock assignment statements outside a single process.
-- Bob Elkind