create-and-connect-ddr-memory – deprecated create-brody
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

create-and-connect-ddr-memory-comp

Synopsis

create-and-connect-ddr-memory-comp "system" memory_megs "organization" ["slot_name"] [ranks_per_module] [min_module_size] [max_module_size] [ecc] ["ddr_type"] ["module_type"] [-h] [columns] [rows]

Description

Create and connect DDR memory modules to the system. The memory_megs attribute defines the total module memory size in MB.

It is possible to create different kind of module combinations with the organization parameter. The organization is a string. Each character in the string represents a module. The first character is module 0, second character is module 1, etc. Supported characters are a-d and A-D. Two modules can have the same character. An equal upper case character means that the modules must be of identical size. An equal lower case character means that the modules must be identical or unpopulated. The character '-' indicates that the slot should not contain any modules. A maximum of 8 characters are supported, i.e. maximum number of DIMMs is 8.

Example 1: AB Create one or two modules with any size (all slots need not be populated).

Example 2: AA Create two modules with identical size.

Example 3: aa Create one module or two modules with identical size.

Setting ecc argument to 1 enables ECC in the SPD data, which means ecc_width will be set to 8 and module_data_with to 72 for the underlying ddrN-memory-module component.

ddr_type may be set to one of 'DDR' (default), 'DDR2' or 'DDR3'. Default module_type is 'UDIMM' but may be set to a valid type for the given ddr_type.

The -h flag (hierarchical) will put the created memory component in the slot named memoryX in system, where X is the DIMM number.

Optional arguments are slot_name, ranks_per_module, min_module_size, max_module_size, columns and rows.

Provided By

memory-comp
create-and-connect-ddr-memory – deprecated create-brody