dlhdl.Workflow.getBuildInfo - Retrieve bitstream resource utilization - MATLAB (original) (raw)

Main Content

Class: dlhdl.Workflow
Namespace: dlhdl

Retrieve bitstream resource utilization

Since R2021a

Syntax

Description

[area](#mw%5Fedbb8235-598d-4083-8e75-ac48a5394247) = getBuildInfo([workflowObject](#mw%5F468ce996-53ee-4d9d-9866-690c2c6a3762%5Fsep%5Fmw%5F348d2c6b-da53-4e76-ac9f-682c2e359b46)) returns a structure containing the bitstream resource utilization.

example

Input Arguments

expand all

Deep learning network deployment options, specified as adlhdl.Workflow object.

Output Arguments

expand all

Bitstream resource utilization returned as a structure.

Examples

expand all

  1. Create a file in your current working folder calledgetLogoNetwork.m. In the file, enter:
    function net = getLogoNetwork
    if ~isfile('LogoNet.mat')
    url = 'https://www.mathworks.com/supportfiles/gpucoder/cnn_models/logo_detection/LogoNet.mat';
    websave('LogoNet.mat',url);
    end
    data = load('LogoNet.mat');
    net = data.convnet;
    end
  2. Create a dlhdl.Workflow object that hasLogoNet as the Network argument andarria10soc_single as the Bitstream argument.
    snet = getLogoNetwork;
    hW = dlhdl.Workflow('Network',snet,'Bitstream','arria10soc_single');
  3. Call getBuildInfo argument to retrieve thearria10soc_single resource utilization. Store the resource utilization in area.
    Deep Learning Processor Bitstream Build Info

Resource Utilized Total Percentage


LUTs (CLB/ALM)* 93578 251680 37.18
DSPs 278 1687 16.48
Block RAM 2131 2131 100.00
Block Memory Bits 23211920 43642880 53.19

Version History

Introduced in R2021a