From b659294ca6c87a0a3ec539194bdcee88a91dc17d Mon Sep 17 00:00:00 2001 From: Staf Verhaegen Date: Tue, 17 Dec 2019 20:26:46 +0100 Subject: [PATCH] Force passing by name for TAP.add_shiftreg(). --- c4m/nmigen/jtag/tap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c4m/nmigen/jtag/tap.py b/c4m/nmigen/jtag/tap.py index 3bc33e7..b2bcf81 100755 --- a/c4m/nmigen/jtag/tap.py +++ b/c4m/nmigen/jtag/tap.py @@ -274,7 +274,7 @@ class TAP(Elaboratable): return m - def add_shiftreg(self, ircode, length, domain="sync", name=None, src_loc_at=0): + def add_shiftreg(self, *, ircode, length, domain="sync", name=None, src_loc_at=0): """Add a shift register to the JTAG interface Parameters: -- 2.30.2