
4/29/2020
Loongson 3A3000 / 3B3000 Processor User Manual
24
25
6
-
RW
1'b0
Keep
7
MC0_ddr2_resetn
RW
1'b1
MC0 software reset (active low)
8
MC0_clken
RW
1'b1
Whether to enable MC0
9
MC1_disable_ddr2_confspace
RW
1'b0
Whether to disable MC1 DDR configuration space
10
-
RW
1'b0
Keep
11
-
RW
1'b0
Keep
12
MC1_ddr2_resetn
RW
1'b1
MC1 software reset (active low)
13
MC1_clken
RW
1'b1
Whether to enable MC1
26:24 HT0_freq_scale_ctrl
RW
3'b111
HT controller divide by 0
27
HT0_clken
RW
1'b1
Whether to enable HT0
30:28 HT1_freq_scale_ctrl
RW
3'b111
HT controller divided by 1
31
HT1_clken
RW
1'b1
Whether to enable HT1
42:40 Node0_freq_ ctrl
RW
3'b111
Node 0 frequency division
43
-
RW
1'b1
46:44 Node1_freq_ ctrl
RW
3'b111
Node 1 frequency division
47
-
RW
1'b1
63:56 Cpu_version
R
2'h39
CPU version
95:64
(air)
127: 96 Pad1v8_ctrl
RW
6'h780 1v8 pad control
other
R
Keep
Table 2- 12 Chip sampling register (physical address 0x1fe00190)
Page 30
Godson 3A3000 / 3B3000 Processor User Manual • Volume 1
Bit field
Field name
access
Reset value
description
31: 0
Compcode_core
R
47:32 Sys_clkseli
R
Onboard frequency setting
55:48 Bad_ip_core
R
core7-core0 is bad
57:56 Bad_ip_ddr
R
Whether 2 DDR controllers are bad
61:60 Bad_ip_ht
R
Whether 2 HT controllers are bad
83:80 Compcode_ok
R
88
Thsens0_overflow
R
Temperature sensor 0 overflow (over 125
℃
)
89
Thsens1_overflow
R
Temperature sensor 1 overflow (over 125
℃
)
111: 96 Thsens0_out
R
Temperature sensor 0 Celsius
Knot point temperature
degree= Thens0_out
* 731 / 0x4000-273
Temperature range -40 degrees – 125 degrees
127: 112 Thsens1_out
R
Temperature sensor 1 Celsius
Knot point temperature
degree= Thens1_out
* 731 / 0x4000-273
Temperature range -40 degrees – 125 degrees
other
R
Keep
The following sets of software frequency multiplication setting registers are used to set the CLKSEL to software control mode (refer to section 2.2
CLKSEL setting method), the operating frequency of each clock. Among them, MEM CLOCK configuration corresponds to the memory controller and bus
Clock frequency; CORE CLOCK corresponds to the clock frequency of the processor core, on-chip network and high-speed shared cache; HT CLOCK pair
The HT controller clock frequency should be used.
Each clock configuration generally has two parameters, DIV_LOOPC and DIV_OUT. The final clock frequency is (reference clock *
DIV_LOOPC) / DIV_OUT.
For the HT CLOCK configuration method is special, please refer to the specific configuration method in section 10.0.58.
In software control mode, the default corresponding clock frequency is the frequency of the external reference clock (for CORE CLOCK, it is
The corresponding frequency of pin SYS_CLK; for MEM CLOCK, the frequency corresponding to pin MEM_CLK)
Set the software for the clock during the operation. The process of setting each clock should follow the following methods: