diff --git a/applications/lofar2/doc/prestudy/station2_sdp_transient_buffer.txt b/applications/lofar2/doc/prestudy/station2_sdp_transient_buffer.txt index 54de8bba5e3d4725d51b17250891aa178e05f598..3ef9ffe37fbb4b309c88355bf14dac4a442656a3 100644 --- a/applications/lofar2/doc/prestudy/station2_sdp_transient_buffer.txt +++ b/applications/lofar2/doc/prestudy/station2_sdp_transient_buffer.txt @@ -14,6 +14,7 @@ Detailed design: Transient Buffer (TBuf) function for LIFT project References: [1] LIFT requirements: https://plm.astron.nl/polarion/#/project/LOFAR2System/wiki/Overview%20pages/LIFT%20Reference + https://plm.astron.nl/polarion/#/project/LOFAR2System/workitem?id=LOFAR2-11847 https://git.astron.nl/desp/hdl/-/blob/L2SDP-857/applications/lofar2/doc/prestudy/lift_sdp_transient_buffer.txt [2] https://support.astron.nl/confluence/display/L2M/2022-10-24+LIFT+meeting+notes @@ -229,22 +230,29 @@ Design decision 16GByte DDR4 na L2SDP-854, 850 5) TBuf ICD SC-SDP, SDPTR-SDPFW - Control Points (CP): - . FPGA_tbuf_alloc_RW [pn][si] --> start page, nof_pages (or as seperate CP?) - - nof_pages = 0 means si has no buffer, > 0 means si has buffer - . FPGA_tbuf_record_RW [pn][si] --> start/continue (True) or stop (= freeze) (False) recording - . FPGA_tbuf_retrieve_RW --> pn, si, ssn, nof_pre_pages, nof_post_pages (or as seperate CP?) - - allow only retrieve from one (pn, si) at a time + . FPGA_tbuf_alloc_start_page_RW [pn][si] # in range 0:2M-1 + FPGA_tbuf_alloc_nof_pages_RW [pn][si] # 0 = free, > 0 = in use + + . FPGA_tbuf_record_RW [pn][si] # True = start/continue, False = stop/freeze recording + . FPGA_tbuf_retrieve_timestamp_RW [pn][si] + FPGA_tbuf_retrieve_nof_pre_pages_RW [pn][si] + FPGA_tbuf_retrieve_nof_post_pages_RW [pn][si] + . FPGA_tbuf_retrieve_enable_RW - total nof pages = nof_pre_pages + 1 (pointed by ssn) + nof_post_pages + . FPGA_tbuf_output_hdr_eth_destination_mac_RW . FPGA_tbuf_output_hdr_ip_destination_address_RW . FPGA_tbuf_output_hdr_udp_destination_port_RW . FPGA_tbuf_output_enable_RW - Monitor Points (MP): - . FPGA_tbuf_total_nof_pages_R --> 16G / 8k = 2M + . FPGA_tbuf_total_nof_pages_R --> 16GB / 8kB = 2M . FPGA_tbuf_page_size_R --> 8 kByte - . FPGA_tbuf_nof_samples_per_page_R --> 8176 - . FPGA_tbuf_page_period_R --> 23.36 us + . FPGA_tbuf_nof_samples_per_page_R --> 4672 # = (8kB - 16) * 8b / 14b + . FPGA_tbuf_nof_bits_per-sample_R --> 14 b + . FPGA_tbuf_sample_period_R --> 5 ns + + . FPGA_tbuf_page_period_R # = FPGA_tbuf_sample_period_R * 23.36 us . FPGA_tbuf_recording_R [pn][si] . FPGA_tbuf_retrieving_R [pn][si] Maybe: