Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17255 Discussions

Clock constraints specified in sdc file reset by compilation process

sth125
Nouveau contributeur I
1 400 Visites

Hello,

I am using Quartus Prime Lite Edition to compile logic for a MAX V 5M1270ZT144C4 CPLD.

I created an sdc file that contained a constraint for only 1 clock, i.e.

create_clock -name {CLK1} -period 20.000 -waveform { 0.000 10.00 } [get_ports { CLK1 }]

I actually used an sdc file from another project (with the exception of the file name).  That project has most of the same logic.

The Timing Analyzer showing timing errors and Clocks are shown in the image below. 

Why did compilation process change the CLK1 constraint?

Also, why were the other Clock constraint created.  

The project was created from another project that had the same code (i.e.. FreqDivBy16, 5us_Filter and ect) and that project didn't change or generate new clock constraints.

 

0 Compliments
1 Solution
sth125
Nouveau contributeur I
1 371 Visites

I solved the issue.

I just needed to add the sdc file in my project.  I had thought it would automatically include it.

Voir la solution dans l'envoi d'origine

0 Compliments
2 Réponses
sth125
Nouveau contributeur I
1 372 Visites

I solved the issue.

I just needed to add the sdc file in my project.  I had thought it would automatically include it.

0 Compliments
sstrell
Contributeur émérite III
1 357 Visites

As you discovered, if no clock constraints are found, all clocks default to 1 GHz, which is basically useless.  Glad you figured out the issue.

0 Compliments
Répondre