From: Luke Kenneth Casson Leighton Date: Fri, 15 Apr 2022 10:02:35 +0000 (+0100) Subject: annoying typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a360a3656bb3e63422584c4247254f135c88dd82;p=nmigen.git annoying typo --- diff --git a/nmigen/lib/io.py b/nmigen/lib/io.py index acff790..b307b3c 100644 --- a/nmigen/lib/io.py +++ b/nmigen/lib/io.py @@ -26,7 +26,7 @@ def pin_layout(width, dir, xdr=0): if dir in ("i", "io"): if xdr > 0: fields.append(("i_clk", 1)) - if xdf >= 2: + if xdr >= 2: fields.append(("i_prst", 1)) if xdr > 2: fields.append(("i_fclk", 1))