validateConnection

Validate SSH connection and deployed bitstream

Syntax

validateConnection

Description

validateConnection:

  1. First validates the SSH connection for an Ethernet interface. This step is skipped for a JTAG interface.

  2. Validates the connection for a deployed bitstream.

Examples

expand all

Validate deployed bitstream and SSH connection to the target device.

  1. Create a dlhdl.Target object with a JTAG interface.

    hTarget = dlhdl.Target('Intel','Interface','JTAG');
  2. Create a dlhdl.Workflow object and deploy the object to the target board.

    snet = vgg19;
    hW = dlhdl.Workflow('Network',snet,'BitstreamName','arria10soc_single', 'Target', hTarget);
    hW.deploy;
  3. Validate the connection and bitstream.

    hTarget.validateConnection
    ### Validating connection to bitstream over JTAG interface
    ### Bitstream connection over JTAG interface successful

Validate deployed bitstream and SSH connection to the target device.

  1. Create a dlhdl.Target object that has an Ethernet interface.

    hTarget = dlhdl.Target('Xilinx','Interface','Ethernet','IPAddress','10.10.10.14');
  2. Create a dlhdl.Workflow object and deploy the object to the target board.

    snet = alexnet;
    hW = dlhdl.Workflow('Network',snet,'Bitstream','zcu102_single', 'Target', hTarget);
    hW.deploy;
  3. Validate the connection and bitstream.

    hTarget.validateConnection
    ### Validating connection to target over SSH
    ### SSH connection successful
    ### Validating connection to bitstream over Ethernet interface
    ### Bitstream connection over Ethernet interface successful

See Also

Introduced in R2020b