4/29/2020
Godson 3A1000 Processor User Manual
38
CONF_CTL_03 [63: 0] Offset: 0x30
DDR2 667: 0x0101010001000000
SWAP_PORT_RW_S
AME_EN
56:56
0x0
0x0-0x1
When swap_en is enabled, this parameter determines whether the same end
Exchange similar commands on the mouth
SWAP_EN
48:48
0x0
0x0-0x1 When the command queue reordering logic is enabled, when the high priority command
34
Page 47
Godson 3A1000 Processor User Manual Part 1
When arriving, whether to exchange the command being executed with the new command
START
40:40
0x0
0x0-0x1
Whether to initialize the memory. All parameters are required
After the configuration is complete, set this bit to allow the memory to enter initialization
Configuration. Configure this before completing the configuration of other bits
Bit, it is likely to cause memory access errors.
SREFRESH
32:32
0x0
0x0-0x1 Whether the memory module enters the self-refresh working mode
RW_SAME_EN
24:24
0x0
0x0-0x1
Whether to consider the same bank in the command queue reordering logic
Reorganization of read and write commands
REG_DIMM_EN
16:16
0x0
0x0-0x1 Whether to enable registered DIMM memory module
REDUC
8: 8
0x0
0x0-0x1
Whether to use only 32-bit wide memory data channels, usually
In this case, the bit should not be set
PWRUP_SREFRESH
_EXIT
0: 0
0x0
0x0-0x1
Use self-refresh command instead of normal memory initialization
Command to exit power-down mode
CONF_CTL_04 [63: 0] Offset: 0x40
DDR2 667: 0x0102010100010101
RTT_0
57:56
0x0
0x0-0x3
Enable the on-chip terminating resistor of the memory module.
00 –disable
Other-enable, the size of the resistor is determined by the value in mrs_data
CTRL_RAW
49:48
0x0
0x0-0x3
Set the error detection and correction mode of ECC
2'b00 – without ECC
2'b01-only report errors, not correct them
2'b10-No ECC device is used
2'b11-Error correction using ECC
AXI0_W_PRIORITY
41:40
0x0
0x0-0x3 Set AXI0 port write command priority
AXI0_R_PRIORITY
33:32
0x0
0x0-0x3 Set the priority of AXI0 port read command
WRITE_MODEREG
24:24
0x0
0x0-0x1
Whether to write the EMRS register of the memory module (write only), each time
When writing 1, the controller will set emrs_data and
mrs_data is sent to memory.
WRITEINTERP
16:16
0x0
0x0-0x1 defines whether a read command can be used to interrupt a write burst
TREF_ENABLE
8: 8
0x0
0x0-0x1
Whether to enable the auto refresh function inside the controller, the usual situation
In this case, the bit should be set to 1
TRAS_LOCKOUT
0: 0
0x0
0x0-0x1
Whether to issue auto-prechareg before the tRAS time expires
command
CONF_CTL_05 [63: 0] Offset: 0x50
DDR2 667: 0x0700000404050100
Q_FULLNESS
58:56
0x0
0x0-0x7 defines how many commands are in the memory controller command queue
35
Page 48
Godson 3A1000 Processor User Manual Part 1