From 2fb85a61702a1046fd216ba46cfa1b5e9ef586e1 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sat, 26 Jan 2019 18:23:58 +0000 Subject: [PATCH] compat.fifo: fix _FIFOInterface deprecation wrapper. --- nmigen/compat/genlib/fifo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmigen/compat/genlib/fifo.py b/nmigen/compat/genlib/fifo.py index 896b26b..4e412d3 100644 --- a/nmigen/compat/genlib/fifo.py +++ b/nmigen/compat/genlib/fifo.py @@ -6,8 +6,8 @@ from ...lib.fifo import FIFOInterface as NativeFIFOInterface, \ __all__ = ["_FIFOInterface", "SyncFIFO", "SyncFIFOBuffered", "AsyncFIFO", "AsyncFIFOBuffered"] -@deprecated("attribute `fwft` must be provided to FIFOInterface constructor") class CompatFIFOInterface(NativeFIFOInterface): + @deprecated("attribute `fwft` must be provided to FIFOInterface constructor") def __init__(self, width, depth): super().__init__(width, depth, fwft=False) del self.fwft -- 2.30.2