# wb_freq_regs

### PTS Frequency Measurement Result Registers

### Contents:

1. Memory map summary
2. HDL symbol
3. Register description
3.1. DMTD Frequency
3.2. CLK10MHZ_EXT Frequency
3.3. FPGA_MAIN_CLK Frequency
3.4. AUX_CLK Frequency
3.5. SERDES_CLK Frequency
3.6. REF_CLK Frequency

### 1. Memory map summary

H/W Address | Type | Name | VHDL/Verilog prefix | C prefix
--- | --- | --- | --- | ---
0x0 | REG | DMTD Frequency | freq_f | F
0x1 | REG | CLK10MHZ_EXT Frequency | freq_f | F
0x2 | REG | FPGA_MAIN_CLK Frequency | freq_f | F
0x3 | REG | AUX_CLK Frequency | freq_f | F
0x4 | REG | SERDES_CLK Frequency | freq_f | F
0x5 | REG | REF_CLK Frequency | freq_f | F

### 2. HDL symbol

→ | rst_n_i |  | DMTD Frequency: |
→ | clk_sys_i |  | freq_f_dmtd_clk_freq_i[27:0] | ⇐
⇒ | wb_adr_i[2:0] |  |  |
⇒ | wb_dat_i[31:0] |  | CLK10MHZ_EXT Frequency: |
⇐ | wb_dat_o[31:0] |  | freq_f_clk10mhz_ext_freq_i[27:0] | ⇐
→ | wb_cyc_i |  |  |
⇒ | wb_sel_i[3:0] |  | FPGA_MAIN_CLK Frequency: |
→ | wb_stb_i |  | freq_f_fpga_main_clk_freq_i[27:0] | ⇐
→ | wb_we_i |  |  |
← | wb_ack_o |  | AUX_CLK Frequency: |
← | wb_stall_o |  | freq_f_aux_clk_freq_i[27:0] | ⇐
|  |  | SERDES_CLK Frequency: |
|  |  | freq_f_serdes_clk_freq_i[27:0] | ⇐
|  |  | REF_CLK Frequency: |
|  |  | freq_f_ref_clk_freq_i[27:0] | ⇐

### 3. Register description

### 3.1. DMTD Frequency

HW prefix: | freq_f
HW address: | 0x0
C prefix: | F
C offset: | 0x0

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | DMTD_CLK_FREQ[27:24] |  |  |

23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
DMTD_CLK_FREQ[23:16] |  |  |  |  |  |  |

15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
DMTD_CLK_FREQ[15:8] |  |  |  |  |  |  |

7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
DMTD_CLK_FREQ[7:0] |  |  |  |  |  |  |

- DMTD_CLK_FREQ [read-only]: Clock Frequency

### 3.2. CLK10MHZ_EXT Frequency

HW prefix: | freq_f
HW address: | 0x1
C prefix: | F
C offset: | 0x4

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | CLK10MHZ_EXT_FREQ[27:24] |  |  |

23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
CLK10MHZ_EXT_FREQ[23:16] |  |  |  |  |  |  |

15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
CLK10MHZ_EXT_FREQ[15:8] |  |  |  |  |  |  |

7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
CLK10MHZ_EXT_FREQ[7:0] |  |  |  |  |  |  |

- CLK10MHZ_EXT_FREQ [read-only]: Clock Frequency

### 3.3. FPGA_MAIN_CLK Frequency

HW prefix: | freq_f
HW address: | 0x2
C prefix: | F
C offset: | 0x8

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | FPGA_MAIN_CLK_FREQ[27:24] |  |  |

23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
FPGA_MAIN_CLK_FREQ[23:16] |  |  |  |  |  |  |

15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
FPGA_MAIN_CLK_FREQ[15:8] |  |  |  |  |  |  |

7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
FPGA_MAIN_CLK_FREQ[7:0] |  |  |  |  |  |  |

- FPGA_MAIN_CLK_FREQ [read-only]: Clock Frequency

### 3.4. AUX_CLK Frequency

HW prefix: | freq_f
HW address: | 0x3
C prefix: | F
C offset: | 0xc

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | AUX_CLK_FREQ[27:24] |  |  |

23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
AUX_CLK_FREQ[23:16] |  |  |  |  |  |  |

15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
AUX_CLK_FREQ[15:8] |  |  |  |  |  |  |

7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
AUX_CLK_FREQ[7:0] |  |  |  |  |  |  |

- AUX_CLK_FREQ [read-only]: Clock Frequency

### 3.5. SERDES_CLK Frequency

HW prefix: | freq_f
HW address: | 0x4
C prefix: | F
C offset: | 0x10

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | SERDES_CLK_FREQ[27:24] |  |  |

23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
SERDES_CLK_FREQ[23:16] |  |  |  |  |  |  |

15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
SERDES_CLK_FREQ[15:8] |  |  |  |  |  |  |

7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
SERDES_CLK_FREQ[7:0] |  |  |  |  |  |  |

- SERDES_CLK_FREQ [read-only]: Clock Frequency

### 3.6. REF_CLK Frequency

HW prefix: | freq_f
HW address: | 0x5
C prefix: | F
C offset: | 0x14

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | REF_CLK_FREQ[27:24] |  |  |

23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
REF_CLK_FREQ[23:16] |  |  |  |  |  |  |

15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
REF_CLK_FREQ[15:8] |  |  |  |  |  |  |

7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
REF_CLK_FREQ[7:0] |  |  |  |  |  |  |

- REF_CLK_FREQ [read-only]: Clock Frequency