When you finish configuring the DDR controller, you can generate C code to get updated output of the component. The source code generated from the DDR component helps you configure the DDR controller registers.
The code generation from the DDR component is based on the properties set in the DDR view. The output from the DDR component is generated automatically.
The output files are generated and placed in the Code Preview view. The name of the output file is set according to the DDR component name used in the DDR Configuration Project, as shown in the figure below.
Source code in C programming language can be copied inside your Project.