framebuffer: print rgb in simulation
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 7 Jul 2012 09:34:22 +0000 (11:34 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 7 Jul 2012 09:34:22 +0000 (11:34 +0200)
milkymist/framebuffer/__init__.py

index f38eadbc0f1f65e38149965f1bb8bdd7f99652b5..e6c91e5787e035d7e856238cc9d4b1a5fa06af22 100644 (file)
@@ -204,7 +204,8 @@ def sim_fifo_gen():
        while True:
                t = sim.Token("dac")
                yield t
-               print("H/V:" + str(t.value["hsync"]) + str(t.value["vsync"]))
+               print("H/V:" + str(t.value["hsync"]) + str(t.value["vsync"])
+                       + " " + str(t.value["r"]) + " " + str(t.value["g"]) + " " + str(t.value["b"]))
 
 class FakeDMA(Actor):
        def __init__(self, port):