--- Quote Start ---
I want sample the output of an ADC and store it in registers where it can be processed while another sample is taken. After reading through some Nios literature, it seems like the best way to do this is to use the Vectored Interrupt Controller and the Shadow register sets. Does anyone have an opinion about this? I'd like to write the values sampled from the ADC to the shadow registers. Thanks in advance
--- Quote End ---
It really depends on your ADC sampling rate, and what you want to do with the data.
If your ADC operates under software control, eg., you enable it for a conversion and then get an interrupt when it is done, then a software solution would work fine.
If however your ADC operates continuously at frequencies of ~MHz, then you will have to come up with a different scheme, eg., sampled data would be streamed to a data processing block, where some parameter was estimated by FPGA logic, eg., a power estimate. The NIOS processor would then access the results of the DSP processing at a much slower rate than the ADC clock rate.
So what is your situation?
Cheers,
Dave