framebuffer: print rgb in simulation

This commit is contained in:
Sebastien Bourdeauducq 2012-07-07 11:34:22 +02:00
parent da478d044a
commit 73a58977e4
1 changed files with 2 additions and 1 deletions

View 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):