Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Tco Constraints

Hi,

I am working on an old Flex10k design which has quite a few timing problems that I am in the process of fixing.

At the moment I have quite a few Tco warnings due to constraints put in place by the original designer. For all but 1 of the warnings, I am able to explain why there is an issue (its seems as if the constraint was placed to aggressively and with the way in which the code is done, in some cases with a lot of combinational logic, Quartus cannot meet the requirment.

However 1 warning remains which I cannot explain and I am hoping somebody can give me a clue. The contraint as it appear in the assignment editor has the from field left blank (does this mean the same as * ?), the to field contains a internal reset signal which is activated on a clock edge and the time requirment is 14 ns.

Quartus then reports an error 'from' this signal 'to' an output pin with a slack of -1.1 ns.

I have a feeling that the constraint is not being correctly applied, but then again Quartus does not ignore the constraint or produce a warning.

What I understand a Tco constraint does is that it specifies the maximum acceptable time for a signal at the input to a register on a clock edge to appear at the output pin. Is this what it actually specifies?

Therefore if someone specifies an internal signal in the 'To' field of the constraint (as opposed to an ouput pin), I don´t understand why an error is not produced by quartus and why this causes the warning mentioned above which doesn´t 'seem' to relate directly to the constraint. (as the output in question was not constrained)

I´d be grateful if soemone could give me some ideas as to why I see this.

Also, as I mentioned at the start of the post its seems that some of the Tco constraints seem to have been placed too aggresively. Are there any guidelines for placing Tco constaints that i should be aware of, if I want to verify or change existing constraints.

Many thanks for your help

17 Replies