After creating a DDR configuration project with the New DDR Configuration wizard,
you can configure the DDR controller using the DDR configuration component.
Perform the following steps to configure DDR controller:
-
Select the DDR component under the Available Components tree in the DDR
Controllers view, as shown in the following figure. The properties of
the DDR component open in the DDR view.
Note: If the DDR view is closed, you can open it by right-clicking the DDR
component in the DDR Controllers view and then selecting the Open in
Configuration View option from the pop-up menu.
Figure 1. DDR Tool
Note: You can add multiple DDR components to a configuration project. Each DDR
component maps to one or two DDR controllers that the silicone has. If silicone
has two embedded DDR controllers then add two DDR components from the
Available Components tree to the configuration project, each
component for each controller. Left-click the DDR component in the Available
Components tree.
- Modify the DDR parameters according to your requirements in the DDR view:
- DDR Type - select the type of SDRAM device to be used: LPDDR2 or
DDR3. This field is used when issuing the automatic hardware initialization
sequence to DRAM through Mode Register Set and Extended Mode Register Set
commands.
- DDR Bus Clock - specify a value. For each DDR bus clock, there is a
specific bus clock frequency that measures the duration of a bus clock
cycle.
- XTAL Clock - select 24 or 40 MHz.
- Speed Rating - select a value. It should be greater than or equal to
double DDR Bus Clock value which defines the actual DDR Data Rate value
- Bus mode - select between 16-bit, 32-bit (or 64-bit, when supported)
DDR bus.
- Memory Size - select the memory size.
- Number of data bits - select the number of data bits.
- Set rest of the parameters from the DDR vendor's datasheet. The DDR vendor's
datasheet is available on the manufacturer's website.