flow/actor: fix eop direction
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 22 Sep 2014 16:09:30 +0000 (18:09 +0200)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Mon, 22 Sep 2014 16:14:58 +0000 (00:14 +0800)
migen/flow/actor.py

index 8968b5337274ccbf4d277ecd03cf394303114eaf..d80937244f88314660d6ce97c2445ba7ebcfda36 100644 (file)
@@ -22,7 +22,7 @@ class _Endpoint(Record):
                if packetized:
                        endpoint_layout += [
                                ("sop", 1, DIR_M_TO_S),
-                               ("eop", 1, DIR_S_TO_M)
+                               ("eop", 1, DIR_M_TO_S)
                        ]
                Record.__init__(self, endpoint_layout)