soc/interconnect/stream/PipelinedActor: add latency attribute
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 7 Apr 2016 10:10:32 +0000 (12:10 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 7 Apr 2016 10:10:32 +0000 (12:10 +0200)
litex/soc/interconnect/stream.py

index 9481248fa9fe52ea919ed592b46205b410553bd1..a12562fd8d3d13c3d1e8e329ba727636b430489c 100644 (file)
@@ -388,6 +388,7 @@ class CombinatorialActor(BinaryActor):
 
 class PipelinedActor(BinaryActor):
     def __init__(self, latency):
+        self.latency = latency
         self.pipe_ce = Signal()
         BinaryActor.__init__(self, latency)