validateConnection
Class: dlhdl.Target
Namespace: dlhdl
Syntax
validateConnection(targetObject)
Description
validateConnection(
: targetObject
)
First validates the SSH connection for an Ethernet interface. This step is skipped for a JTAG interface.
Validates the connection for a deployed bitstream.
Input Arguments
targetObject
— Instance of target object
dlhdl.Target
object
Instance of the target object, specified as an dlhdl.Target
object.
Examples
Validate dlhdl.Target
Object that has a JTAG Interface
Validate deployed bitstream and SSH connection to the target device.
Create a
dlhdl.Target
object with a JTAG interface.hTarget = dlhdl.Target('Intel','Interface','JTAG');
Create a
dlhdl.Workflow
object and deploy the object to the target board.snet = vgg19; hW = dlhdl.Workflow('Network',snet,'Bitstream','arria10soc_single', 'Target', hTarget); hW.deploy;
Validate the connection and bitstream.
hTarget.validateConnection ### Validating connection to bitstream over JTAG interface ### Bitstream connection over JTAG interface successful
Validate dlhdl.Target
Object that has an Ethernet Interface
Validate deployed bitstream and SSH connection to the target device.
Create a
dlhdl.Target
object that has an Ethernet interface.hTarget = dlhdl.Target('Xilinx','Interface','Ethernet','IPAddress','192.168.1.101');
Create a
dlhdl.Workflow
object and deploy the object to the target board.net = resnet18; hW = dlhdl.Workflow('Network',net,'Bitstream','zcu102_single', 'Target', hTarget); hW.deploy;
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
Version History
Introduced in R2020b
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)