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

Use radix_width=64 for BSN instead of separate hi and lo 32b field words.

parent 94d8d31a
No related branches found
No related tags found
2 merge requests!100Removed text for XSub that is now written in Confluence Subband correlator...,!73Resolve L2SDP-240
...@@ -106,14 +106,19 @@ peripherals: ...@@ -106,14 +106,19 @@ peripherals:
field_description: "Number of blocks per sync interval." field_description: "Number of blocks per sync interval."
access_mode: RW access_mode: RW
address_offset: 0x4 address_offset: 0x4
- - field_name: bsn_lo #- - field_name: bsn_lo
field_description: "Initial BSN[31:0]" # field_description: "Initial BSN[31:0]"
# access_mode: RW
# address_offset: 0x8
#- - field_name: bsn_hi
# field_description: "Initial BSN[63:32]"
# access_mode: RW
# address_offset: 0xC
- - field_name: bsn
field_description: "Initial BSN"
access_mode: RW access_mode: RW
address_offset: 0x8 address_offset: 0x8
- - field_name: bsn_hi radix_width: 64
field_description: "Initial BSN[63:32]"
access_mode: RW
address_offset: 0xC
- peripheral_name: dp_bsn_source_v2 # pi_dp_bsn_source_v2.py - peripheral_name: dp_bsn_source_v2 # pi_dp_bsn_source_v2.py
peripheral_description: "Block Sequence Number (BSN) source with block time offset, for timestamping blocks of data samples." peripheral_description: "Block Sequence Number (BSN) source with block time offset, for timestamping blocks of data samples."
...@@ -146,14 +151,19 @@ peripherals: ...@@ -146,14 +151,19 @@ peripherals:
field_description: "Number of clock cycles per sync interval." field_description: "Number of clock cycles per sync interval."
access_mode: RW access_mode: RW
address_offset: 0x4 address_offset: 0x4
- - field_name: bsn_init_lo #- - field_name: bsn_init_lo
field_description: "Initial BSN[31:0]" # field_description: "Initial BSN[31:0]"
# access_mode: RW
# address_offset: 0x8
#- - field_name: bsn_init_hi
# field_description: "Initial BSN[63:32]"
# access_mode: RW
# address_offset: 0xC
- - field_name: bsn_init
field_description: "Initial BSN"
access_mode: RW access_mode: RW
address_offset: 0x8 address_offset: 0x8
- - field_name: bsn_init_hi radix_width: 64
field_description: "Initial BSN[63:32]"
access_mode: RW
address_offset: 0xC
- - field_name: bsn_time_offset - - field_name: bsn_time_offset
field_description: "The BSN block time offset in number of clock cycles, with respect to the PPS." field_description: "The BSN block time offset in number of clock cycles, with respect to the PPS."
width: g_bsn_time_offset_w width: g_bsn_time_offset_w
...@@ -168,14 +178,19 @@ peripherals: ...@@ -168,14 +178,19 @@ peripherals:
slave_type: REG slave_type: REG
slave_description: "" slave_description: ""
fields: fields:
- - field_name: scheduled_bsn_lo #- - field_name: scheduled_bsn_lo
field_description: "Write scheduled BSN lo, read current BSN lo. First access lo, then hi." # field_description: "Write scheduled BSN lo, read current BSN lo. First access lo, then hi."
# access_mode: RW
# address_offset: 0x0
#- - field_name: scheduled_bsn_hi
# field_description: "Write scheduled BSN hi, read current BSN hi. First access lo, then hi."
# access_mode: RW
# address_offset: 0x4
- - field_name: scheduled_bsn
field_description: "Write scheduled BSN. First access lo, then hi."
access_mode: RW access_mode: RW
address_offset: 0x0 address_offset: 0x0
- - field_name: scheduled_bsn_hi radix_width: 64
field_description: "Write scheduled BSN hi, read current BSN hi. First access lo, then hi."
access_mode: RW
address_offset: 0x4
- peripheral_name: dp_bsn_monitor # pi_dp_bsn_monitor.py - peripheral_name: dp_bsn_monitor # pi_dp_bsn_monitor.py
peripheral_description: "Monitor the Block Sequence Number (BSN) status of streaming data." peripheral_description: "Monitor the Block Sequence Number (BSN) status of streaming data."
...@@ -207,14 +222,19 @@ peripherals: ...@@ -207,14 +222,19 @@ peripherals:
bit_offset: 2 # EK TODO: using 1 cause gen_doc.py to fail without clear error, because fields then overlap bit_offset: 2 # EK TODO: using 1 cause gen_doc.py to fail without clear error, because fields then overlap
access_mode: RO access_mode: RO
address_offset: 0x0 address_offset: 0x0
- - field_name: bsn_at_sync_lo #- - field_name: bsn_at_sync_lo
field_description: "Data stream BSN lo at sync." # field_description: "Data stream BSN lo at sync."
# access_mode: RO
# address_offset: 0x4
#- - field_name: bsn_at_sync_hi
# field_description: "Data stream BSN hi at sync."
# access_mode: RO
# address_offset: 0x8
- - field_name: bsn_at_sync
field_description: "Data stream BSN at sync."
access_mode: RO access_mode: RO
address_offset: 0x4 address_offset: 0x4
- - field_name: bsn_at_sync_hi radix_width: 64
field_description: "Data stream BSN hi at sync."
access_mode: RO
address_offset: 0x8
- - field_name: nof_sop - - field_name: nof_sop
field_description: "Number data blocks (sop = start of packet) during last sync interval." field_description: "Number data blocks (sop = start of packet) during last sync interval."
access_mode: RO access_mode: RO
...@@ -227,14 +247,19 @@ peripherals: ...@@ -227,14 +247,19 @@ peripherals:
field_description: "Number data blocks with error indication during last sync interval." field_description: "Number data blocks with error indication during last sync interval."
access_mode: RO access_mode: RO
address_offset: 0x14 address_offset: 0x14
- - field_name: bsn_first_lo #- - field_name: bsn_first_lo
field_description: "First data stream BSN lo ever." # field_description: "First data stream BSN lo ever."
# access_mode: RO
# address_offset: 0x18
#- - field_name: bsn_first_hi
# field_description: "First data stream BSN hi ever."
# access_mode: RO
# address_offset: 0x1C
- - field_name: bsn_first
field_description: "First data stream BSN ever."
access_mode: RO access_mode: RO
address_offset: 0x18 address_offset: 0x18
- - field_name: bsn_first_hi radix_width: 64
field_description: "First data stream BSN hi ever."
access_mode: RO
address_offset: 0x1C
- - field_name: bsn_first_cycle_cnt - - field_name: bsn_first_cycle_cnt
field_description: "Arrival latency of first data stream BSN ever, relative to local sync." field_description: "Arrival latency of first data stream BSN ever, relative to local sync."
access_mode: RO access_mode: RO
...@@ -270,14 +295,19 @@ peripherals: ...@@ -270,14 +295,19 @@ peripherals:
bit_offset: 1 bit_offset: 1
access_mode: RO access_mode: RO
address_offset: 0x0 address_offset: 0x0
- - field_name: bsn_at_sync_lo #- - field_name: bsn_at_sync_lo
field_description: "Data stream BSN lo at sync." # field_description: "Data stream BSN lo at sync."
# access_mode: RO
# address_offset: 0x4
#- - field_name: bsn_at_sync_hi
# field_description: "Data stream BSN hi at sync."
# access_mode: RO
# address_offset: 0x8
- - field_name: bsn_at_sync
field_description: "Data stream BSN at sync."
access_mode: RO access_mode: RO
address_offset: 0x4 address_offset: 0x4
- - field_name: bsn_at_sync_hi radix_width: 64
field_description: "Data stream BSN hi at sync."
access_mode: RO
address_offset: 0x8
- - field_name: nof_sop - - field_name: nof_sop
field_description: "Number data blocks (sop = start of packet) during last sync interval." field_description: "Number data blocks (sop = start of packet) during last sync interval."
access_mode: RO access_mode: RO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment