From 73a58977e4e4d4f8fd53ec532bbbe9281ac16f98 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 7 Jul 2012 11:34:22 +0200 Subject: [PATCH] framebuffer: print rgb in simulation --- milkymist/framebuffer/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/milkymist/framebuffer/__init__.py b/milkymist/framebuffer/__init__.py index f38eadbc..e6c91e57 100644 --- a/milkymist/framebuffer/__init__.py +++ b/milkymist/framebuffer/__init__.py @@ -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): -- 2.30.2