Skip to content

Commit c44ff89

Browse files
author
Sebastien Bourdeauducq
committedDec 14, 2012
Move Token
1 parent 3986790 commit c44ff89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎milkymist/framebuffer/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from migen.fhdl.structure import *
22
from migen.flow.actor import *
33
from migen.flow.network import *
4+
from migen.flow.transactions import *
45
from migen.flow import plumbing
56
from migen.actorlib import misc, dma_asmi, structuring, sim, spi
67
from migen.bank.description import *
@@ -158,7 +159,7 @@ def get_fragment(self):
158159

159160
def sim_fifo_gen():
160161
while True:
161-
t = sim.Token("dac")
162+
t = Token("dac")
162163
yield t
163164
print("H/V:" + str(t.value["hsync"]) + str(t.value["vsync"])
164165
+ " " + str(t.value["r"]) + " " + str(t.value["g"]) + " " + str(t.value["b"]))

0 commit comments

Comments
 (0)
Please sign in to comment.