lib.fifo: make fwft a keyword-only argument.

Because it accepts a boolean.
This commit is contained in:
whitequark 2019-09-12 19:36:45 +00:00
parent 1c091e67a4
commit b92e967b78
2 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,7 @@ class FIFOModel(Elaboratable, FIFOInterface):
Non-synthesizable first-in first-out queue, implemented naively as a chain of registers.
"""
def __init__(self, width, depth, fwft, rdomain, wdomain):
super().__init__(width, depth, fwft)
super().__init__(width, depth, fwft=fwft)
self.rdomain = rdomain
self.wdomain = wdomain