diff --git a/libraries/base/dp/dp.peripheral.yaml b/libraries/base/dp/dp.peripheral.yaml index 74d172965d295f2123617941affb695757951ee7..6d38ee172529145bc9e302121ef92abc0b6b0f41 100644 --- a/libraries/base/dp/dp.peripheral.yaml +++ b/libraries/base/dp/dp.peripheral.yaml @@ -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: