Forum Discussion
FResc
New Contributor
7 years agoImplementation of a custom streaming sink for the Modular ADC Core on a MAX10M08 Ev Kit not working. Any idea why?
I'm trying to implement a custom IP as a streaming sink for the modular ADC core, showing the actaul converted data on the LEDs of the MAX10M08 Ev Kit. Somehow I am unable read out the data in the ...
Abe
Frequent Contributor
7 years agoYour code has some flaws.. for starters, the signal adc_run is assigned '0' in the first process on the assertion of reset, but after this in the clock loop, is checked if it is '0' and not assigned any other value. This will infer latches for this signal. Plus, the signal will always be assigned to '0' and will never change, making the else part of the code unreachable. You should assign the signal in the process and use it in the another process to prevent latch inference.
The same goes for the avm_csr_read and avm_csr_address signals. Correct the code, run a functional simulation, and also check the synthesis report after compilation.