getBuildInfo
Class: dlhdl.Workflow
Namespace: dlhdl
Description
returns a structure containing the bitstream resource utilization.area
= getBuildInfo(workflowObject
)
Input Arguments
workflowObject
— Deep learning network deployment options
dlhdl.Workflow
object
Deep learning network deployment options, specified as a
dlhdl.Workflow
object.
Output Arguments
area
— Bitstream resource utilization
structure
Bitstream resource utilization returned as a structure.
The
Block Memory Bits
utilization is available for Intel® bitstreams only.The resource utilization results of Intel bitstreams show the
Block RAM
utilization as 100%. To analyze bitstream resource utilization, refer to theBlock Memory Bits
utilization instead.
Examples
Retrieve arria10soc_single
Bitstream Resource Utilization
Create a file in your current working folder called
getLogoNetwork.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
Create a
dlhdl.Workflow
object that hasLogoNet
as theNetwork
argument andarria10soc_single
as theBitstream
argument.snet = getLogoNetwork; hW = dlhdl.Workflow('Network',snet,'Bitstream','arria10soc_single');
Call
getBuildInfo
argument to retrieve thearria10soc_single
resource utilization. Store the resource utilization inarea
.area = hW.getBuildInfo
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 * LUT count represents Configurable Logic Block(CLB) utilization in Xilinx devices and Adaptive Logic Module (ALM) utilization in Intel devices. area = struct with fields: LUT: [93578 251680] BlockMemoryBits: [23211920 43642880] BlockRAM: [2131 2131] DSP: [278 1687]
Version History
Introduced in R2021a
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)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)