Main Content

hdlcoder.Board class

Package: hdlcoder

Board registration object that describes SoC custom board

Description

board = hdlcoder.Board creates a board object that you use to register a custom board for an SoC platform.

To specify the characteristics of your board, set the properties of the board object.

Construction

board = hdlcoder.Board creates an hdlcoder.Board object that you can use to register a custom board for an SoC platform.

Properties

expand all

Board name, specified as a character vector. In the HDL Workflow Advisor, this name appears in the Target platform dropdown list.

Example: 'Enclustra Mars ZX3 with PM3 base board'

FPGA vendor name, specified as a character vector.

Example: 'Xilinx'

FPGA family name, specified as a character vector.

Example: 'Zynq'

FPGA device identifier, specified as a character vector.

Example: 'xc7z020'

FPGA package identifier for Xilinx devices, specified as a character vector.

For Altera® devices, this property is ignored.

Example: 'clg484'

FPGA speed for Xilinx devices, specified as a character vector.

For Altera devices, this property is ignored.

Example: '-1'

Synthesis tool or tools that support this board, specified as a cell array of character vectors. In the HDL Workflow Advisor, the Synthesis tool dropdown list shows the values in this cell array.

Example: {'Altera Quartus II'}

Example: {'Xilinx Vivado'}

Example: {'Xilinx Vivado','Xilinx ISE'}

JTAG chain position number, specified as a positive integer. The JTAG chain position number is used when programming the FPGA via JTAG.

This property is optional.

Example: 3

Methods

addDeviceTreeAdd device tree for board object
addDeviceTreeIncludeDirectorySpecify the path of an include file to compile the device tree against
addExternalIOInterfaceDefine external IO interface for board object
addExternalPortInterfaceDefine external port interface for board object
validateBoardCheck property values in board object
Introduced in R2015a