getBuildInfo
Class: dlhdl.Workflow
Namespace: dlhdl
Description
returns a structure containing the bitstream resource utilization.area = getBuildInfo(workflowObject)
Input Arguments
Deep learning network deployment options, specified as a
dlhdl.Workflow object.
Output Arguments
Bitstream resource utilization returned as a structure.
The
Block Memory Bitsutilization is available for Intel® bitstreams only.The resource utilization results of Intel bitstreams show the
Block RAMutilization as 100%. To analyze bitstream resource utilization, refer to theBlock Memory Bitsutilization instead.
Examples
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.Workflowobject that hasLogoNetas theNetworkargument andarria10soc_singleas theBitstreamargument.snet = getLogoNetwork; hW = dlhdl.Workflow('Network',snet,'Bitstream','arria10soc_single');
Call
getBuildInfoargument to retrieve thearria10soc_singleresource 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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- 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)