spec_carrier_csr
Carrier control and status registers
Wishbone slave for control and status registers related to the FMC carrier
| HW address |
Type |
Name |
HDL prefix |
C prefix |
| 0x0 |
REG |
carrier |
carrier |
carrier |
| 0x4 |
REG |
stat |
stat |
stat |
| 0x8 |
REG |
ctrl |
ctrl |
ctrl |
| 0xc |
REG |
rst |
rst |
rst |
| HW prefix: | carrier |
| HW address: | 0x0 |
| C prefix: | carrier |
| C block offset: | 0x0 |
Carrier type and PCB version
| 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
| type[15:8] |
| 23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
| type[7:0] |
| 15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
| reserved[11:4] |
| 7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
| reserved[3:0] |
pcb_rev[3:0] |
-
pcb_rev
[ro]: PCB revision
Binary coded PCB layout revision.
-
reserved
[ro]: Reserved register
Ignore on read, write with 0's.
-
type
[ro]: Carrier type
Carrier type identifier
1 = SPEC
2 = SVEC
3 = VFC
4 = SPEXI
| HW prefix: | stat |
| HW address: | 0x4 |
| C prefix: | stat |
| C block offset: | 0x4 |
Status
| 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
| - |
- |
- |
- |
- |
- |
- |
- |
| 23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
| - |
- |
- |
- |
- |
- |
- |
- |
| 15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
| - |
- |
- |
- |
- |
- |
- |
- |
| 7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
| - |
- |
- |
- |
ddr3_cal_done |
sys_pll_lck |
p2l_pll_lck |
fmc_pres |
-
fmc_pres
[ro]: FMC presence
0: FMC slot is populated
1: FMC slot is not populated.
-
p2l_pll_lck
[ro]: GN4142 core P2L PLL status
0: not locked
1: locked.
-
sys_pll_lck
[ro]: System clock PLL status
0: not locked
1: locked.
-
ddr3_cal_done
[ro]: DDR3 calibration status
0: not done
1: done.
| HW prefix: | ctrl |
| HW address: | 0x8 |
| C prefix: | ctrl |
| C block offset: | 0x8 |
Control
| 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
| - |
- |
- |
- |
- |
- |
- |
- |
| 23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
| - |
- |
- |
- |
- |
- |
- |
- |
| 15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
| - |
- |
- |
- |
- |
- |
- |
- |
| 7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
| - |
- |
- |
- |
- |
- |
led_red |
led_green |
-
led_green
[rw]: Green LED
Manual control of the front panel green LED (unused in the fmc-adc application)
-
led_red
[rw]: Red LED
Manual control of the front panel red LED (unused in the fmc-adc application)
| HW prefix: | rst |
| HW address: | 0xc |
| C prefix: | rst |
| C block offset: | 0xc |
Reset Register
| 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
| - |
- |
- |
- |
- |
- |
- |
- |
| 23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
| - |
- |
- |
- |
- |
- |
- |
- |
| 15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
| - |
- |
- |
- |
- |
- |
- |
- |
| 7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
| - |
- |
- |
- |
- |
- |
- |
fmc0 |
-
fmc0
[wo]: State of the reset line
write 0: Normal FMC operation
write 1: FMC is held in reset