Aussie Susan
Advanced Member level 5
(I posted this in the Xilinx user forum nearly a week ago and have not received any response. Posting here as I'm sure there must be a way... Environment is Vivado 2022.1, programming in Verilog (where applicable) and using a Basys3 board that has a Artix-7 FPGA (XC7A35T-ICPG236C). Susan )
I have an ADC set up that samples at 1kHz that feeds a low pass filter which then sends the samples out via a UART. I think this is working OK but what I really want to look at are the waveforms out of the ADC and the filter.
Using the debug wizard I can add a debug core but the sampling clock wants to run at 100MHz (the overall system clock) which means that I can trigger the debugger to start sampling OK but the sampled data (from the ADC and the filter) are all a single value. This is because I'm taking (say) 8K samples at 100MHz where I really want to take the samples at (say) 4kHz so can see the overall waveform (which is in the 1Hz range).
How do I get the debug core to sample at the much slower rate than the main system clock?
Please note that I'm very much a beginner at this so very clear step-by-step instructions using Vivado 2022.1 will be needed. My board is a Basys3 if that makes a difference.
Susan
I have an ADC set up that samples at 1kHz that feeds a low pass filter which then sends the samples out via a UART. I think this is working OK but what I really want to look at are the waveforms out of the ADC and the filter.
Using the debug wizard I can add a debug core but the sampling clock wants to run at 100MHz (the overall system clock) which means that I can trigger the debugger to start sampling OK but the sampled data (from the ADC and the filter) are all a single value. This is because I'm taking (say) 8K samples at 100MHz where I really want to take the samples at (say) 4kHz so can see the overall waveform (which is in the 1Hz range).
How do I get the debug core to sample at the much slower rate than the main system clock?
Please note that I'm very much a beginner at this so very clear step-by-step instructions using Vivado 2022.1 will be needed. My board is a Basys3 if that makes a difference.
Susan