Xilinx constraints fix#937
Open
Ludblanc wants to merge 7 commits into
Open
Conversation
LuigiGiuffrida98
requested changes
Mar 30, 2026
LuigiGiuffrida98
left a comment
Member
There was a problem hiding this comment.
Hi @Ludblanc, thank you for your PR, since, the DC is assumed to be 50%, do we have any specific reason to have the waveform parameter in the create_clock command?
I would suggest to simply remove it.
danivz
approved these changes
Mar 31, 2026
…nto xilinx_constraints_fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The FPGA synthesis constraints file includes the
waveformparameter, which defines the clock duty cycle. By default, if this parameter is not explicitly specified, the duty cycle is assumed to be (50%) of the clock period.The
waveformparameter is expressed as two values:where (t_1) represents the time of the first transition (typically (0)), and ($t_2$ ) represents the time of the second transition in nanoseconds. In this case, it is defined for all signals as:
Please note that when both clock edges are used, it may be necessary to introduce clock uncertainties to provide adequate setup and hold timing margins.