From a360a3656bb3e63422584c4247254f135c88dd82 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 15 Apr 2022 11:02:35 +0100 Subject: [PATCH] annoying typo --- nmigen/lib/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.30.2