swap iospecfn and depth arguments in FIFOControl
[ieee754fpu.git] / src / add / singlepipe.py
index 93712077b6b80b5a7cafb81dc17d20f4db7a8526..9bed317578668ed87e9e8b1a2bf66f317deb4767 100644 (file)
@@ -1021,7 +1021,7 @@ class FIFOControl(ControlBase):
         i_data -> fifo.din -> FIFO -> fifo.dout -> o_data
     """
 
-    def __init__(self, iospecfn, depth):
+    def __init__(self, depth, iospecfn):
         """ * iospecfn: specification for incoming and outgoing data
             * depth   : number of entries in the FIFO