Main Content

readStatusRegister

Class: dlhdl.Workflow
Namespace: dlhdl

Read debug status registers

Since R2024a

Syntax

status = readStatusRegister(workflowObject,registerName)

Description

status = readStatusRegister(workflowObject,registerName) returns a structure that contains the tile information, debug register names and descriptions, and a layer graph that shows the order of execution of layers on the FPGA.

Input Arguments

expand all

Deep learning network deployment options, specified as a dlhdl.Workflow object.

Name of status register, specified as one of these values:

ValueDebug Status Registers
"ALL"Returns the status of all debug registers
"CONV"Returns the status of the CONVLayerStartCount, CONVLayerEndCount, and CONVLayerActive registers
"FC"Returns the status of the FCLayerStartCount, FCLayerEndCount, and FCLayerActive registers
"Custom"Returns the status of the CustomLayerStartCount, CustomLayerEndCount, and CustomLayerActive registers
"DLStart"Returns the status of the DLStart register
"CONVLayerStartCount"Returns the status of the CONVLayerStartCount register
"CONVLayerEndCount"Returns the status of the CONVLayerEndCount register
"CONVLayerActive"Returns the status of the CONVLayerActive register
"FCLayerStartCount"Returns the status of the FCLayerStartCount register
"FCLayerEndCount"Returns the status of the FCLayerEndCount register
"FCLayerActive"Returns the status of the FCLayerActive register
"CustomLayerStartCount"Returns the status of CustomLayerStartCount register
"CustomLayerEndCount"Returns the status of the CustomLayerEndCount register
"CustomLayerActive"Returns the status of the CustomLayerActive register
"FrameStartCount"Returns the status of the FrameStartCount register
"FrameEndCount"Returns the status of the FrameEndCount register
"DLDone"Returns the status of the DLDone register

Data Types: char | string

Output Arguments

expand all

Status of the debug registers, returned as a structure array with these fields:

Field NameDescriptionValue
TileInformationA table that contains the conv layer names and number of tiles in each conv layer.table
DebugRegistersA table that contains the debug register names and their values. To learn more about the debug status registers, see Interface with the Deep Learning Processor IP Core.table
OrdergraphA layer graph that shows the order of execution of layers on the FPGA.LayerGraph

Version History

Introduced in R2024a