<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Constraints on bitwiz</title><link>https://bitwiz.io/tags/constraints/</link><description>Recent content in Constraints on bitwiz</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 01 Jan 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://bitwiz.io/tags/constraints/index.xml" rel="self" type="application/rss+xml"/><item><title>constraint-lint</title><link>https://bitwiz.io/projects/constraint-lint/</link><pubDate>Thu, 01 Jan 2026 00:00:00 +0000</pubDate><guid>https://bitwiz.io/projects/constraint-lint/</guid><description>&lt;h2 id="the-problem"&gt;The Problem&lt;/h2&gt;
&lt;p&gt;Your XDC file is code. Vivado doesn&amp;rsquo;t lint it.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-tcl" data-lang="tcl"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;create_clock&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;name clk156 &lt;span class="o"&gt;-&lt;/span&gt;period &lt;span class="mf"&gt;6.400&lt;/span&gt; &lt;span class="k"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;get_ports&lt;/span&gt; clk_156&lt;span class="k"&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The port is &lt;code&gt;clk156&lt;/code&gt;. The clock attaches to nothing. Vivado warns once. It disappears into 200k lines of logs.&lt;/p&gt;
&lt;p&gt;Your constraint file says the clock exists. Your log has one warning: no valid objects matched. WNS is meaningless because the domain you thought you constrained doesn&amp;rsquo;t exist. You find out in the lab.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="what-constraint-lint-does"&gt;What constraint-lint Does&lt;/h2&gt;
&lt;p&gt;Lint for XDC/SDC. Runs in CI. Turns constraint warnings into hard failures.&lt;/p&gt;</description></item><item><title>Constraints: The Contract You Forgot to Sign</title><link>https://bitwiz.io/articles/constraints-the-contract-you-forgot-to-sign/</link><pubDate>Tue, 23 Dec 2025 15:04:00 +0000</pubDate><guid>https://bitwiz.io/articles/constraints-the-contract-you-forgot-to-sign/</guid><description>&lt;p&gt;&lt;em&gt;Timing Series: Part 1 of 6&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Previous: &lt;a href="https://bitwiz.io/articles/your-fpga-lives-a-lifetime-while-you-blink/"&gt;Your FPGA Lives a Lifetime While You Blink&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="signoff-gates-build-must-fail-if"&gt;Signoff Gates: Build Must Fail If&amp;hellip;&lt;/h2&gt;
&lt;p&gt;Before reading further, know this: your build should fail if any of these checks fail.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Gate 1: Unconstrained endpoints must be zero&lt;/strong&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-tcl" data-lang="tcl"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;check_timing&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;verbose
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;report_exceptions&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;verbose
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Fail if: Any constraint-related issue about clocks, unconstrained endpoints, or missing I/O delays. Also fail if any exception matches zero objects (silent no-op) or hits an unexpectedly large set.&lt;/p&gt;</description></item></channel></rss>