Skip to content

Commit e2c9a44

Browse files
committed
[bazel] Enable JTAG socket chardev for QEMU
Signed-off-by: James Wainwright <[email protected]>
1 parent 46d7056 commit e2c9a44

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rules/opentitan/qemu.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,9 @@ def _test_dispatch(ctx, exec_env, firmware):
469469
qemu_args += ["-chardev", "pty,id=usbdev-cmd"]
470470
qemu_args += ["-chardev", "pty,id=usbdev-host"]
471471

472+
# Create a chardev for the RV_DM JTAG TAP:
473+
qemu_args += ["-chardev", "socket,id=taprbb,path=qemu-jtag.sock,server=on,wait=off"]
474+
472475
# Scale the Ibex clock by an `icount` factor.
473476
qemu_args += ["-icount", "shift={}".format(param["icount"])]
474477

0 commit comments

Comments
 (0)