From: Sebastien Bourdeauducq Date: Fri, 14 Dec 2012 14:54:16 +0000 (+0100) Subject: Move Token X-Git-Tag: 24jan2021_ls180~3063 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c44ff8941c9094370b6c0e2804ef413c5e6b7e29;p=litex.git Move Token --- diff --git a/milkymist/framebuffer/__init__.py b/milkymist/framebuffer/__init__.py index 2f3cef1c..d5373b26 100644 --- a/milkymist/framebuffer/__init__.py +++ b/milkymist/framebuffer/__init__.py @@ -1,6 +1,7 @@ from migen.fhdl.structure import * from migen.flow.actor import * from migen.flow.network import * +from migen.flow.transactions import * from migen.flow import plumbing from migen.actorlib import misc, dma_asmi, structuring, sim, spi from migen.bank.description import * @@ -158,7 +159,7 @@ class FIFO(Actor): def sim_fifo_gen(): while True: - t = sim.Token("dac") + t = Token("dac") yield t print("H/V:" + str(t.value["hsync"]) + str(t.value["vsync"]) + " " + str(t.value["r"]) + " " + str(t.value["g"]) + " " + str(t.value["b"]))