Guest
#3688746
Dear All, I am currently implementing an ADC/func/DAC on the Spartan 3e Starter Kit board. It basicly reads the analog signal, converts it into a digital signal, apllies a multiplication and converts the result back to an analog signal. The code is written on VHDL and compiled on ISE Design Suite 14.6. Please find attached the main code, the ucf file and the simulation file. I am simulating on Isim. I have tried to simulate some parts of the implementation and it seems to work but because of the analog input and output signals, I am having troubles to really track the code on the implementation. Could anybody have a look at it and tell me what I am doing wrong? As far as I understand, the steps the ADC/func/DAC should follow are: i) Set the gain of the amplifier through spi_mosi. ii) Get the converted digital values from the ADC through spi_miso. iii) Apply the *2 to the digital value. iv) Send the digital result to the DAC through the spi_mosi. Any help or advice will be really appreciated. Thanks a lot! Ira