from random import Random
from migen.flow.network import *
+from migen.flow.transactions import *
from migen.actorlib import dma_wishbone, dma_asmi
from migen.actorlib.sim import *
from migen.bus import wishbone, asmibus
from migen.flow.network import *
+from migen.flow.transactions import *
from migen.actorlib import misc
from migen.actorlib.sim import *
from migen.sim.generic import Simulator
import matplotlib.pyplot as plt
from migen.flow.network import *
+from migen.flow.transactions import *
from migen.actorlib import structuring
from migen.actorlib.sim import *
from migen.sim.generic import Simulator
from migen.flow.network import *
+from migen.flow.transactions import *
from migen.actorlib.sim import *
from migen.pytholite.compiler import make_pytholite
from migen.sim.generic import Simulator
from migen.flow.network import *
-from migen.actorlib.sim import *
+from migen.flow.transactions import *
from migen.bus import wishbone
from migen.bus.transactions import *
from migen.uio.ioo import UnifiedIOSimulation
from migen.fhdl.structure import *
from migen.flow.actor import *
+from migen.flow.transactions import *
from migen.flow.network import *
from migen.actorlib.sim import *
from migen.sim.generic import Simulator
from migen.fhdl.structure import *
from migen.flow.actor import *
+from migen.flow.transactions import *
from migen.sim.generic import PureSimulable
-class Token:
- def __init__(self, endpoint, value=None):
- self.endpoint = endpoint
- self.value = value
-
# Generators yield None or a tuple of Tokens.
# Tokens for Sink endpoints are pulled and the "value" field filled in.
# Tokens for Source endpoints are pushed according to their "value" field.
--- /dev/null
+class Token:
+ def __init__(self, endpoint, value=None):
+ self.endpoint = endpoint
+ self.value = value
+
from migen.fhdl.structure import *
from migen.uio.ioo import UnifiedIOObject
-from migen.actorlib.sim import *
+from migen.flow.actor import Source, Sink
+from migen.flow.transactions import *
from migen.bus import wishbone
from migen.bus.transactions import *
from migen.pytholite.fsm import *
from migen.fhdl.structure import *
from migen.flow.actor import *
-from migen.actorlib.sim import TokenExchanger, Token
+from migen.flow.transactions import *
+from migen.actorlib.sim import TokenExchanger
from migen.bus import wishbone, memory
from migen.bus.transactions import *
from migen.uio.trampoline import Trampoline