How to initialize DDR External memory, such as InstructionData and WeightData unused dlhdl.Workflow deploy() function

6 Ansichten (letzte 30 Tage)
The Deep Learning HDL Toolbox documentation provides a method for deploying the Deep Learning Processor IP Core to a custom board. This method involves using the dlhdl.Workflow deploy function via the JTAG interface, which is dependent on Matlab for deployment.
If I wish to bypass the deploy function, could I consider writing the necessary parameters obtained from the compile function (such as weight data and instruction data) into the DDR memory. I can store these initialization parameters in a ROM and load them into the DDR memory during power-up. I'm not sure what the data format is for these parameters in the DDR memory.
The help documentation only explains the format of image data in the DDR memory, but it doesn't provide information about the data format of these parameters.
I want to use the Deep Learning Processor IP Core offline on the Xilinx Kintex platform.

Antworten (2)

Kiran Kintali
Kiran Kintali am 18 Aug. 2023
Bearbeitet: Kiran Kintali am 18 Aug. 2023

Steve Kuznicki
Steve Kuznicki am 18 Aug. 2023
The process to "program" the network is a combination of writing data to DDR and communication with the Deep Learning Processor IP Core. There is a "deploy" option to write out a ".dln" file which is a capture of all the data and commands that are needed to program the network. Bascially you create a "File" target instead of a "Board" target. When the deploy function is executed, a .dln file is created instead. The contents of this dln file could be stored in ROM on your board and used to upon boot-up to program the network.
DL HDL does not provide any "program DL network" IP Core for FPGA only systems. So for this, you will either need to use a MicroBlaze softcore or another processor on your board to facilitate programming of the network upon boot-up. You can also create a "program network" IP Core that would do this as well.
  1 Kommentar
Ruikai
Ruikai am 7 Okt. 2023
https://ww2.mathworks.cn/matlabcentral/answers/2026739-estimate-the-resource-utilization-for-custom-board-that-has-the-kintex7-chip-family

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu System Integration of Deep Learning Processor IP Core finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by