Force passing by name for TAP.add_shiftreg().
authorStaf Verhaegen <staf@stafverhaegen.be>
Tue, 17 Dec 2019 19:26:46 +0000 (20:26 +0100)
committerStaf Verhaegen <staf@stafverhaegen.be>
Mon, 6 Jan 2020 16:45:32 +0000 (17:45 +0100)
c4m/nmigen/jtag/tap.py

index 3bc33e78aac43b3df54b3b4d5d2166adab55a6c0..b2bcf818f8a3a2bc5b9fe62bfa5dafd628b8321b 100755 (executable)
@@ -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: