mirror of https://github.com/efabless/caravel.git
114 lines
7.1 KiB
Plaintext
114 lines
7.1 KiB
Plaintext
Caravel memory map vs. SPI register map
|
|
----------------------------------------------------------------------------------
|
|
SPI register description signal memory map address
|
|
----------------------------------------------------------------------------------
|
|
00 SPI status (reserved) (undefined) 2610_0000
|
|
01 Manufacturer ID (high) mfgr_id[11:8] 2610_0006
|
|
02 Manufacturer ID (low) mfgr_id[7:0] 2610_0005
|
|
03 Product ID prod_id[7:0] 2610_0004
|
|
04 User project ID mask_rev[31:24] 2610_000b
|
|
05 User project ID mask_rev[23:16] 2610_000a
|
|
06 User project ID mask_rev[15:8] 2610_0009
|
|
07 User project ID mask_rev[7:0] 2610_0008
|
|
08 CPU trap state trap 2610_000c
|
|
|
|
09 Power monitor usr1/2_vcc/vdd_pwrgood 2620_0000
|
|
0a Output redirect clk1/clk2/trap_output_dest 2620_0004
|
|
0b Input redirect irq_8/7_inputsrc 2620_000c
|
|
|
|
0c GPIO[0] configure gpio_configure[0][12:8] 2600_0025
|
|
0d GPIO[0] configure gpio_configure[0][7:0] 2600_0024
|
|
0e GPIO[1] configure gpio_configure[1][12:8] 2600_0029
|
|
0f GPIO[1] configure gpio_configure[1][7:0] 2600_0028
|
|
10 GPIO[2] configure gpio_configure[2][12:8] 2600_002d
|
|
11 GPIO[2] configure gpio_configure[2][7:0] 2600_002c
|
|
12 GPIO[3] configure gpio_configure[3][12:8] 2600_0031
|
|
13 GPIO[3] configure gpio_configure[3][7:0] 2600_0030
|
|
14 GPIO[4] configure gpio_configure[4][12:8] 2600_0035
|
|
15 GPIO[4] configure gpio_configure[4][7:0] 2600_0034
|
|
16 GPIO[5] configure gpio_configure[5][12:8] 2600_0039
|
|
17 GPIO[5] configure gpio_configure[5][7:0] 2600_0038
|
|
18 GPIO[6] configure gpio_configure[6][12:8] 2600_003d
|
|
19 GPIO[6] configure gpio_configure[6][7:0] 2600_003c
|
|
1a GPIO[7] configure gpio_configure[7][12:8] 2600_0041
|
|
1b GPIO[7] configure gpio_configure[7][7:0] 2600_0040
|
|
1c GPIO[8] configure gpio_configure[8][12:8] 2600_0045
|
|
1d GPIO[8] configure gpio_configure[8][7:0] 2600_0044
|
|
1e GPIO[9] configure gpio_configure[9][12:8] 2600_0049
|
|
1f GPIO[9] configure gpio_configure[9][7:0] 2600_0048
|
|
20 GPIO[10] configure gpio_configure[10][12:8] 2600_004d
|
|
21 GPIO[10] configure gpio_configure[10][7:0] 2600_004c
|
|
22 GPIO[11] configure gpio_configure[11][12:8] 2600_0051
|
|
23 GPIO[11] configure gpio_configure[11][7:0] 2600_0050
|
|
24 GPIO[12] configure gpio_configure[12][12:8] 2600_0055
|
|
25 GPIO[12] configure gpio_configure[12][7:0] 2600_0054
|
|
26 GPIO[13] configure gpio_configure[13][12:8] 2600_0059
|
|
27 GPIO[13] configure gpio_configure[13][7:0] 2600_0058
|
|
28 GPIO[14] configure gpio_configure[14][12:8] 2600_005d
|
|
29 GPIO[14] configure gpio_configure[14][7:0] 2600_005c
|
|
2a GPIO[15] configure gpio_configure[15][12:8] 2600_0061
|
|
2b GPIO[15] configure gpio_configure[15][7:0] 2600_0060
|
|
2c GPIO[16] configure gpio_configure[16][12:8] 2600_0065
|
|
2d GPIO[16] configure gpio_configure[16][7:0] 2600_0064
|
|
2e GPIO[17] configure gpio_configure[17][12:8] 2600_0069
|
|
2f GPIO[17] configure gpio_configure[17][7:0] 2600_0068
|
|
30 GPIO[18] configure gpio_configure[18][12:8] 2600_006d
|
|
31 GPIO[18] configure gpio_configure[18][7:0] 2600_006c
|
|
32 GPIO[19] configure gpio_configure[19][12:8] 2600_0071
|
|
33 GPIO[19] configure gpio_configure[19][7:0] 2600_0070
|
|
34 GPIO[20] configure gpio_configure[20][12:8] 2600_0075
|
|
35 GPIO[20] configure gpio_configure[20][7:0] 2600_0074
|
|
36 GPIO[21] configure gpio_configure[21][12:8] 2600_0079
|
|
37 GPIO[21] configure gpio_configure[21][7:0] 2600_0078
|
|
38 GPIO[22] configure gpio_configure[22][12:8] 2600_007d
|
|
39 GPIO[22] configure gpio_configure[22][7:0] 2600_007c
|
|
3a GPIO[23] configure gpio_configure[23][12:8] 2600_0081
|
|
3b GPIO[23] configure gpio_configure[23][7:0] 2600_0080
|
|
3c GPIO[24] configure gpio_configure[24][12:8] 2600_0085
|
|
3d GPIO[24] configure gpio_configure[24][7:0] 2600_0084
|
|
3e GPIO[25] configure gpio_configure[25][12:8] 2600_0089
|
|
3f GPIO[25] configure gpio_configure[25][7:0] 2600_0088
|
|
40 GPIO[26] configure gpio_configure[26][12:8] 2600_008d
|
|
41 GPIO[26] configure gpio_configure[26][7:0] 2600_008c
|
|
42 GPIO[27] configure gpio_configure[27][12:8] 2600_0091
|
|
43 GPIO[27] configure gpio_configure[27][7:0] 2600_0090
|
|
44 GPIO[28] configure gpio_configure[28][12:8] 2600_0095
|
|
45 GPIO[28] configure gpio_configure[28][7:0] 2600_0094
|
|
46 GPIO[29] configure gpio_configure[29][12:8] 2600_0099
|
|
47 GPIO[29] configure gpio_configure[29][7:0] 2600_0098
|
|
48 GPIO[30] configure gpio_configure[30][12:8] 2600_009d
|
|
49 GPIO[30] configure gpio_configure[30][7:0] 2600_009c
|
|
4a GPIO[31] configure gpio_configure[31][12:8] 2600_00a1
|
|
4b GPIO[31] configure gpio_configure[31][7:0] 2600_00a0
|
|
4c GPIO[32] configure gpio_configure[32][12:8] 2600_00a5
|
|
4d GPIO[32] configure gpio_configure[32][7:0] 2600_00a4
|
|
4e GPIO[33] configure gpio_configure[33][12:8] 2600_00a9
|
|
4f GPIO[33] configure gpio_configure[33][7:0] 2600_00a8
|
|
50 GPIO[34] configure gpio_configure[34][12:8] 2600_00ad
|
|
51 GPIO[34] configure gpio_configure[34][7:0] 2600_00ac
|
|
52 GPIO[35] configure gpio_configure[35][12:8] 2600_00b1
|
|
53 GPIO[35] configure gpio_configure[35][7:0] 2600_00b0
|
|
54 GPIO[36] configure gpio_configure[36][12:8] 2600_00b5
|
|
55 GPIO[36] configure gpio_configure[36][7:0] 2600_00b4
|
|
56 GPIO[37] configure gpio_configure[37][12:8] 2600_00b9
|
|
57 GPIO[37] configure gpio_configure[37][7:0] 2600_00b8
|
|
58 GPIO data mgmt_gpio_in[37:32] 2600_0010
|
|
59 GPIO data mgmt_gpio_in[31:24] 2600_000f
|
|
5a GPIO data mgmt_gpio_in[23:16] 2600_000e
|
|
5b GPIO data mgmt_gpio_in[15:8] 2600_000d
|
|
5c GPIO data mgmt_gpio_in[7:0] 2600_000c
|
|
5d Power control pwr_ctrl_out[3:0] 2600_0004
|
|
5e GPIO control serial_resetn/clock/data 2600_0000
|
|
|
|
5f PLL enables pll_dco_ena, pll_ena 2610_000c
|
|
60 PLL bypass pll_bypass 2610_0010
|
|
61 IRQ irq 2610_0014
|
|
62 Reset reset 2610_0018
|
|
63 PLL trim pll_trim[31:24] 2610_001f
|
|
64 PLL trim pll_trim[23:16] 2610_001e
|
|
65 PLL trim pll_trim[15:8] 2610_001d
|
|
66 PLL trim pll_trim[7:0] 2610_001c
|
|
67 PLL source pll90_sel[2:0], pll_sel[2:0] 2610_0020
|
|
68 PLL divider pll_div[4:0] 2610_0024
|
|
----------------------------------------------------------------------------------
|