Skip to content
Snippets Groups Projects
Commit 32166ac5 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Add peripheral_name: dp_strobe_total_count.

parent ddad0120
No related branches found
No related tags found
1 merge request!285Resolve L2SDP-840
Pipeline #37493 passed
......@@ -442,6 +442,31 @@ peripherals:
access_mode: RW
- peripheral_name: dp_strobe_total_count
peripheral_description: "Count strobes"
parameters:
- { name: g_nof_counts_max, value: 15 } # fixed by REGMAP
- { name: g_nof_counts, value: 1 } # actual nof counts, <= g_nof_counts_max
mm_ports:
# MM port for dp_strobe_total_count.vhd
- mm_port_name: REG_DP_STROBE_TOTAL_COUNT
mm_port_type: REG
mm_port_span: ceil_pow2(g_nof_counts_max*2 + 1) * MM_BUS_SIZE
mm_port_description: ""
fields:
- - field_name: counts
field_description: "Total number of strobes counters."
number_of_fields: g_nof_counts
address_offset: 0
user_width: 64
radix: uint64
access_mode: RO
- - field_name: clear
field_description: "Read or write this register to clear all counters."
address_offset: (g_nof_counts_max*2 + 1) * MM_BUS_SIZE # 31 * MM_BUS_SIZE
access_mode: RW
- peripheral_name: dp_block_validate_err # pi_dp_block_validate_err.py
peripheral_description: "Validate the error field of a DP block"
parameters:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment