
Description:

  Writes a Device Support Archive (DSA) of the current design for use in the
  SDx integrated development environment (IDE) supporting both the SDSoC and
  SDAccel design flows.

  All platforms used in the SDx environment are dynamically implemented,
  meaning that the accelerator logic coming from the SDx environment is
  implemented along with some or all of the logic contained in the hardware
  platform design. The DSA represents the hardware portion of the platform
  used in the SDx environment. The hardware platform design used to create a
  DSA consists of a Vivado IP integrator subsystem design with all the
  required board interface IP cores configured and connected to the device
  I/Os. The Vivado project must also include several required DSA and PFM
  properties needed to define the DSA.

  This command reports the name of the DSA file written, or returns an error
  if it fails.

Arguments:

  -force - (Optional) Overwrite the DSA file if it already exists.

  -include_bit - (Optional) Include the bitstream for the current design in
  the DSA. By default MCS files are created by the write_dsa, and the
  bitstreams are discarded. When this options is specified, bitstream files
  are preserved for use in debugging the platform.

  -include_emulation - (Optional) This option applies specifically to DSA
  files written for use with SDAccel rather than SDSoC. This option allows
  the platform creator to export data needed to support hardware emulation at
  the same time that the DSA is created.

  -legacy - (Optional) Write the legacy format DSA file, which is based on
  the use of the SDAccel OpenCL Programmable Region IP for the hardware
  platform in the IP integrator block design. The Vivado tool uses a
  different set of DRCs for a legacy DSA, which are not applicable to the new
  DSA file.

  -minimal - (Optional) Add only those files in the DSA that are required to
  run the SDx flow. Do not add anything extra. When this option is specified
  the write_dsa command ignores other options that add content to the DSA,
  such as the -include_bit and -include_emulation options.

  -quiet - (Optional) Execute the command quietly, returning no messages from
  the command. The command also returns TCL_OK regardless of any errors
  encountered during execution.

  Note: Any errors encountered on the command-line, while launching the
  command, will be returned. Only errors occurring inside the command will be
  trapped.

  -verbose - (Optional) Temporarily override any message limits and return
  all messages from this command.

  Note: Message limits can be defined with the set_msg_config command.

  <file> - (Required) The filename of the DSA to write.

  Note: If the path is not specified as part of the file name, the file will
  be written into the current working directory, or the directory from which
  the tool was launched.

Examples:

  The following example writes the DSA for the current project, overwriting a
  DSA file of the same name if one exists:

    write_dsa -force C:/Data/zc702.dsa 
    

See Also:

   *  open_dsa
   *  validate_dsa
