From cf8e4423a76b16dface256e7293a7f16d4f97ebe Mon Sep 17 00:00:00 2001 From: Rafael Corsi Date: Tue, 26 Apr 2022 12:50:38 -0300 Subject: [PATCH] update mux2 example to python3 (print) (#363) --- example/manual/mux2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/manual/mux2.py b/example/manual/mux2.py index 6004be20..9fd7c56d 100644 --- a/example/manual/mux2.py +++ b/example/manual/mux2.py @@ -26,11 +26,11 @@ z, a, b, sel = [Signal(0) for i in range(4)] mux_1 = Mux(z, a, b, sel) def test(): - print "z a b sel" + print("z a b sel") for i in range(8): a.next, b.next, sel.next = randrange(8), randrange(8), randrange(2) yield delay(10) - print "%s %s %s %s" % (z, a, b, sel) + print("%s %s %s %s" % (z, a, b, sel)) test_1 = test()