Main Content

addDeviceTree

Class: hdlcoder.ReferenceDesign
Namespace: hdlcoder

Add device tree for reference design object

Since R2021b

Syntax

addDeviceTree(dtFile)

Description

addDeviceTree(dtFile) registers a new device tree file to an hdlcoder.ReferenceDesign object.

Specify the device tree by using one of these extensions: ".dtb",".dts", or ".dtsi". Use ".dtb" when the device tree is specified as a binary file. Use ".dts" or ".dtsi" when the device tree is specified as a source file.

Input Arguments

expand all

Device tree file name, specified as a string or character vector.

Example: "refdesign.dtsi"

Limitations

  • HDL Coder™ supports specifying only a single device tree file for a plugin file.

  • You cannot specify a binary device tree file for custom board and reference design simultaneously. When specifying device tree files for custom board and reference designs, specify the device trees as source files.

Version History

Introduced in R2021b