samarth jain
10/01/2024, 12:55 PMAnton Maurovic (efabless support)
10/02/2024, 1:53 PMAnton Maurovic (efabless support)
10/02/2024, 1:54 PMsamarth jain
10/02/2024, 2:00 PMTim Edwards
10/02/2024, 7:08 PMAnton Maurovic (efabless support)
10/03/2024, 12:34 PMreg 0x09 = b'01'
which means both clocks are driven "directly" by the external source -- though as Tim pointed out there is a potential skew between the two as they likely have different paths, buffers, loading etc. and I recall from the SDC file that the input delay of user_clock2 is a little less than that of wb_clk_i, so maybe this is what you're seeing. You're measuring a 10MHz signal at 100MS/s (100MHz) -- that small leading edge you're seeing on user_clock2 is in the margin of error at this sample rate, i.e. you can see that it is sampled as 1/10th of the core clock's period. If your logic analyzer can do more than 100MS/s, this discrepancy might reduce.Anton Maurovic (efabless support)
10/06/2024, 12:43 PMreg 0x09 = b'01'
), the GPIO 14 output (wb_clk_i) is slightly behind GPIO 15 (user_clock2) -- somewhere on the order of about 4-8nS. This is normal, due to those slightly different clock paths, and it's in the region where your 100MS/s sampling rate could measure it to be +/- 1 whole sample (10nS), which probably explains why it appears to rise 10nS early, but fall at the same time -- as I said, within the margin of error. If you could sample at 200MS/s or more, you might be able to see both edges being different, rather than just the rising edge.Tim Edwards
10/06/2024, 3:45 PMsamarth jain
10/06/2024, 4:05 PMAnton Maurovic (efabless support)
10/06/2024, 8:52 PM