From: Sebastien Bourdeauducq Date: Sat, 7 Jul 2012 09:34:22 +0000 (+0200) Subject: framebuffer: print rgb in simulation X-Git-Tag: 24jan2021_ls180~3106 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73a58977e4e4d4f8fd53ec532bbbe9281ac16f98;p=litex.git framebuffer: print rgb in simulation --- 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):