Forum Discussion
Procedure to add uClk_usr in Streaming DMA AFU
I want to run my AFU in uClk_usr domain in the Streaming DMA AFU sample example. Please can you provide the steps that need to be followed in order to achieve this.
Thank you
29 Replies
- JohnT_Altera
Regular Contributor
Hi,
You will need to try to recompile your design in different seeds to see if it is able to close the timing. May I know if the timing issue will impact your testing?
- Navaneeth
New Contributor
Hi,
To reiterate the issue that we’re facing, it is that the timing constraints are not being met when we are synthesising our code using quartus for the purpose of getting the GBS file as output. The error files are attached in one of the previous messages.
We want to know how we can send a lower frequency of clock (user clock having 300 MHz) in the right manner to the avst decimator file so that we don’t get the timing constraints not met error.
We’re referring to the streaming dma afu bbb provided by Intel.Thank you
- JohnT_Altera
Regular Contributor
Hi,
I do not observed that the timing constrant error you mention in the logs provided.
- raks
New Contributor
Hi,
The error can be seen in flame-job-script.sh.o891757 file. It is printed at the end of the file.
- Navaneeth
New Contributor
Hi
Any reply is much appreciated. - raks
New Contributor
- JohnT_Altera
Regular Contributor
Hi,
Could you share with me the timing report or the compilation log?
- JohnT_Altera
Regular Contributor
Hi,
Usually the AFU does not need to have a special SDC for it as it is covered in the default SDC.
- raks
New Contributor
Hi,
I tried using uClk_usr with the help of clock crossing module. I instantiated the clock crossing module in the ccip_std_afu.sv file and in spite of that, I got the "timing constraints not met" error. What is the reason for getting that error and how to rectify it?
Thank you
- Navaneeth
New Contributor
Hi,
Can you please tell us the location of the SDC file in the streaming dma afu folder?
Also, could you please tell us the additions that we have to make to the SDC file?
Thank you - JohnT_Altera
Regular Contributor
Hi,
After further checking, the rtl should not be change. You will need to modify the json file so that it is using uclk_usr. You may refer to "hello_mem_afu" example design json file.
- Navaneeth
New Contributor
Hi,
Could you please list the steps in order to implement clock crossing.
Thank you - JohnT_Altera
Regular Contributor
Hi,
It looks like the PCIe IP is using PCLK and the AFU is running using uclk_user which is not able to match the frequency. You will need to implement clock crossing to make sure that the clock is able to pass to the AFU design without any issue.