framebuffer: print rgb in simulation
This commit is contained in:
parent
da478d044a
commit
73a58977e4
|
@ -204,7 +204,8 @@ def sim_fifo_gen():
|
||||||
while True:
|
while True:
|
||||||
t = sim.Token("dac")
|
t = sim.Token("dac")
|
||||||
yield t
|
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):
|
class FakeDMA(Actor):
|
||||||
def __init__(self, port):
|
def __init__(self, port):
|
||||||
|
|
Loading…
Reference in New Issue