Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21269 Discussions

virtual clock - latch and launch clock on same cycle

NitzanD
Employee
2,274 Views

Hi,

I am defining a virtual clock in .fdc file for work with external device as in the link here: 
https://www.intel.com/content/www/us/en/docs/programmable/683068/18-1/creating-virtual-clocks.html

When calculating setup timing - Quartus fails on paths from my system_clk to the virtual clock because it refers to it as if the launch and latch are on the same cycle (picture attached).

How can I change Quartus STA to set the launch and the latch clock to be in next cycle ?

Thanks ahead,
Nitzan

Labels (1)
0 Kudos
13 Replies
sstrell
Honored Contributor III
2,255 Views

Very difficult helping with this without seeing your .sdc.  Can you post it?

0 Kudos
NitzanD
Employee
2,231 Views

Do you mean .scf file ?
I synthesize with synplify_premier which uses Quartus for P&R, so I have .fdc file and .scf file  

0 Kudos
Nurina
Employee
2,243 Views

Hi Nitzan,


Can you share your .qar file? To generate this, go to Project>Archive Project.


Regards,

Nurina


0 Kudos
NitzanD
Employee
2,231 Views

where to upload it? 
I don't want to share it on the forum.


BR
Nitzan

0 Kudos
sstrell
Honored Contributor III
2,200 Views

You don't have a .sdc file with your timing constraints in it? (create_clock, set_input_delay, etc.)

0 Kudos
Nurina
Employee
2,185 Views

Hi Nitzan,


You can share in email. I'm sending you an email shortly.


Regards,

Nurina


0 Kudos
NitzanD
Employee
2,120 Views

Hi, have you seen my email? I sent it as you asked. 

0 Kudos
Nurina
Employee
2,097 Views

Hi,


Yes I have. Can you please try set_multicycle_path as stated in the email? I have sent detailed information in email.


Regards,

Nurina


0 Kudos
NitzanD
Employee
2,090 Views

Hi,
In addition to what I sent in email, I want you to see again this picture that happens when I don't define 'multicycle path' :

NitzanD_0-1691046672020.png



Also another question - do the real clock and virtual clock should be in the same async group? 
set_clock_groups -asynchronous -group [get_clocks { main_clk main_clk_virt}]

 

 

BR
Nitzan

0 Kudos
SyafieqS
Employee
2,017 Views

Hi Nitzan,


It seems like you are encountering a setup timing violation issue in your design involving a virtual clock in a .fdc It is hard to see without the full constraint. I am suspecting there might be an issue on the input/output delay calculation that causing the launch and latch clock to be in the same phase.


Also another question - do the real clock and virtual clock should be in the same async group?

-From what I am seeing, in the scenario you've described with a real clock and a virtual clock, the concept of asynchronous clock domains might not directly apply. Both clocks are likely derived from the same master clock and are intended to be related, just with different clock frequencies or phases. Therefore, they may not need to be considered as separate asynchronous clock domains


0 Kudos
Nurina
Employee
1,988 Views

Hello Nitzan,


Usually you don't have to specify that real clock and virtual clock are in different clock groups.

As mentioned in email, I think the problem is that you are using the same virtual clock for both input and output delay.

Have you tried using different virtual clocks for input and output delay?


Regards,

Nurina


0 Kudos
NitzanD
Employee
1,905 Views

I haven't. why should they be different ? 

BR
Nitzan

0 Kudos
Nurina
Employee
1,957 Views

Hi Nitzan,


We have not received a reply from you. As such, I now transition this thread to community support. If you have a new question, Feel free to open a new thread or login to ‘ https://supporttickets.intel.com ’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.

 

If any answer from the community or Intel Support are helpful, feel free to rank your support experience by rating 4/5 survey. Please let me know of any inconvenience so that I may improve your future service experience.

 

Have a great day!

Best regards,

Nurina W.

 

p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.


0 Kudos
Reply