We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 46250

13.4 EDK - How can I create a custom XMD command or script?


I would like to be able to run several long XMD commands in a single script; how can I do this?


XMD is able to source and run Tcl files. There are two options for accomplishing this goal:

  1. Create a custom Tcl file with the desired "proc"s (processes), and "source myCustomTCL.tcl" in the XMD terminal to source it on-demand
  2. Create a customTcl process, and add it to the $XILINX_EDK/data/xmd/xmdterm.tcl file that is located in the EDK installation directory (Note: administrator/root access may be required to perform this step)

Option 2will add your process-command to the list of commands that XMD uses natively.

An example of how to do this is described in (Xilinx Answer 46251)

Linked Answer Records

Associated Answer Records

Answer Number Answer Title Version Found Version Resolved
46251 13.4 EDK - How can I use Tcl within XMD to connect to a different device in my JTAG chain? N/A N/A
AR# 46250
Date Created 03/07/2012
Last Updated 12/15/2012
Status Active
Type General Article
  • EDK - 13.1
  • EDK - 13.2
  • EDK - 13.3
  • EDK - 13.4