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

6 次查看(过去 30 天)
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.

回答(2 个)

Kiran Kintali
Kiran Kintali 2023-8-18
编辑:Kiran Kintali 2023-8-18

Steve Kuznicki
Steve Kuznicki 2023-8-18
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.

类别

Help CenterFile Exchange 中查找有关 System Integration of Deep Learning Processor IP Core 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by