Altera_Forum
Honored Contributor
10 years agoMax 10 ADC Simulation - Can't get it to work properly
Hi all,
I'm trying to simulate a MAX 10 design using the internal ADC before I get real hardware and I'm only having partial success. I've now produced my own design and experimented with the design here: https://cloud.altera.com/devstore/platform/15.0.0/adc-and-audio-monitor/ Both use the "Standard sequencer with external sample storage" versions of the "Altera Modular ADC Core". With both, I can get the designs to successfully compile and simulate but the results aren't as expected. The ADC sequencer has a control register that needs to be set to 0x00000001 to enable the ADC. Both sets of code write this value into the control register and it can be successfully read back. However, the ADC outputs adc_response_valid, adc_response_channel, adc_response_data etc are all stuck at zero. Now, these results suggest to me that I'm either doing something wrong or that the model for the ADC is only partially complete. Has anybody produced a successful simulation of a MAX 10 ADC? I'm perfectly happy with it producing 0x000 or 0xXXX for the data but I would like the valid and channel values to toggle. Thanks for any help.