From c8224295320e0aa2adf8e6740ae4319fc7b336da Mon Sep 17 00:00:00 2001 From: Liqing Qin Date: Tue, 15 Oct 2024 16:39:23 +0200 Subject: [PATCH] copyright --- FPGA_firmware/.gitignore | 63 +++++++++++++++++++ FPGA_firmware/README.txt | 5 +- FPGA_firmware/hit20v3.qsf | 4 +- FPGA_firmware/m10_rgmii.v | 18 ++++-- .../sensor_algo_qsys/algo_top_cl_cali_rms.v | 13 ++++ .../sensor_algo_qsys/bkg_subtraction_pipe.v | 13 ++++ FPGA_firmware/sensor_algo_qsys/calibration.v | 13 ++++ .../sensor_algo_qsys/cluster_locate.sv | 13 ++++ FPGA_firmware/sensor_algo_qsys/rms.sv | 15 ++++- FPGA_firmware/sensor_algo_qsys/sensor_algo.v | 14 ++++- .../sensor_algo_qsys/sensor_interface.v | 18 ++++-- FPGA_firmware/sensor_algo_qsys/stl2sts.v | 13 ++++ FPGA_nios/hit_pat/inc/control.h | 19 ++++-- FPGA_nios/hit_pat/inc/dev_commands.h | 15 ++++- FPGA_nios/hit_pat/inc/sensor.h | 22 ++++--- FPGA_nios/hit_pat/inc/socket_server.h | 2 +- FPGA_nios/hit_pat/inc/udpgen.h | 19 ++++-- FPGA_nios/hit_pat/inc/utils.h | 23 ++++--- FPGA_nios/hit_pat/src/control.c | 22 ++++--- FPGA_nios/hit_pat/src/sensor.c | 23 ++++--- FPGA_nios/hit_pat/src/udpgen.c | 20 ++++-- FPGA_nios/hit_pat/src/utils.c | 19 ++++-- 22 files changed, 314 insertions(+), 72 deletions(-) create mode 100644 FPGA_firmware/.gitignore diff --git a/FPGA_firmware/.gitignore b/FPGA_firmware/.gitignore new file mode 100644 index 0000000..cccd4c7 --- /dev/null +++ b/FPGA_firmware/.gitignore @@ -0,0 +1,63 @@ +# Ignore everything +* + + +!debouncer.v + +!.gitignore +!README.txt +!clkctrl.qsys +!debouncer.v +!hit20v3.qsf +!m10_rgmii.out.sdc +!m10_rgmii.v +!q_sys.qsys +!udp_generator.v +!udp_generator_hw.tcl + +!sensor_algo_qsys +!sensor_algo_qsys/calibration.v +!sensor_algo_qsys/rms.sv +!sensor_algo_qsys/algo_top_cl_cali_rms.v +!sensor_algo_qsys/bkg_subtraction_pipe.v +!sensor_algo_qsys/calibration.v +!sensor_algo_qsys/cluster_locate.sv +!sensor_algo_qsys/data_caled_ram.v +!sensor_algo_qsys/div.v +!sensor_algo_qsys/frame_counter.v +!sensor_algo_qsys/ram4bkg.v +!sensor_algo_qsys/rms.sv +!sensor_algo_qsys/sensor_algo.v +!sensor_algo_qsys/sensor_interface.v +!sensor_algo_qsys/sensor_recon_hw.tcl +!sensor_algo_qsys/serial_rx.v +!sensor_algo_qsys/serial_tx.v +!sensor_algo_qsys/sqrt.v +!sensor_algo_qsys/sqrt_bb.v +!sensor_algo_qsys/sqrt_inst.v +!sensor_algo_qsys/st2mm.v +!sensor_algo_qsys/st2mm_l2s.v +!sensor_algo_qsys/stl2sts.v +!sensor_algo_qsys/sts2stl.v + +!sensor_algo_qsys/q_sys +!sensor_algo_qsys/q_sys/synthesis +!sensor_algo_qsys/q_sys/synthesis/altera_avalon_st_splitter.sv +!sensor_algo_qsys/q_sys/synthesis/st_splitter16.v + +!sensor_algo_qsys/testbench +!sensor_algo_qsys/testbench/algo_top_cl_cali_rms_tb.v +!sensor_algo_qsys/testbench/algo_top_cl_cali_tb.v +!sensor_algo_qsys/testbench/algo_top_cl_tb.v +!sensor_algo_qsys/testbench/algo_top_tb.v +!sensor_algo_qsys/testbench/bkg_subtraction_pipe_tb.v +!sensor_algo_qsys/testbench/bkg_subtraction_tb.v +!sensor_algo_qsys/testbench/calibration_tb.v +!sensor_algo_qsys/testbench/cluster_locate_tb.v +!sensor_algo_qsys/testbench/sensor_algo_tb.v +!sensor_algo_qsys/testbench/st2mm_tb.v +!sensor_algo_qsys/testbench/stl2sts_tb.v +!sensor_algo_qsys/testbench/sts2stl_tb.v + + + diff --git a/FPGA_firmware/README.txt b/FPGA_firmware/README.txt index d2d57cd..165ca80 100644 --- a/FPGA_firmware/README.txt +++ b/FPGA_firmware/README.txt @@ -1,4 +1,5 @@ This firmware is generted from Simple Socket Server Example. -M.Dziewiecki created sensor_interface.v in 2019, which controls, collects, and sends ADC data to ethernet. -L.Qin created algo_top_cl_cali_rms.v in 2024, which reconstructs the position and sigma from the ADC data. +M.Dziewiecki created sensor_interface.v in 2019, which controls, collects, and sends ADC data to ethernet. + +L.Qin created algo_top_cl_cali_rms.v in 2024, which reconstructs the position and sigma from the ADC data. diff --git a/FPGA_firmware/hit20v3.qsf b/FPGA_firmware/hit20v3.qsf index d4d9150..f8f3285 100644 --- a/FPGA_firmware/hit20v3.qsf +++ b/FPGA_firmware/hit20v3.qsf @@ -664,5 +664,5 @@ set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[11] - set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[21] -to auto_signaltap_0|vcc -section_id auto_signaltap_0 set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[25] -to auto_signaltap_0|vcc -section_id auto_signaltap_0 set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[31] -to auto_signaltap_0|gnd -section_id auto_signaltap_0 -set_global_assignment -name SLD_FILE db/stp2_auto_stripped.stp -set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top \ No newline at end of file +set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top +set_global_assignment -name SLD_FILE db/stp2_auto_stripped.stp \ No newline at end of file diff --git a/FPGA_firmware/m10_rgmii.v b/FPGA_firmware/m10_rgmii.v index 65ce8a5..c79bec4 100644 --- a/FPGA_firmware/m10_rgmii.v +++ b/FPGA_firmware/m10_rgmii.v @@ -1,7 +1,17 @@ -/* -created by M.Dziwiecki in 2019 -modified by Lq.Qin in 2024 for reconstruction signal position and FWHM -*/ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - 2019 * +* Author: M.Dziewiecki * +* Module - m10_rgmii.v * +* Edited by L.Qin on Oct 15. 2024 for reconstruction * +******************************************************************************/ module m10_rgmii ( //Clock and Reset diff --git a/FPGA_firmware/sensor_algo_qsys/algo_top_cl_cali_rms.v b/FPGA_firmware/sensor_algo_qsys/algo_top_cl_cali_rms.v index ec27e96..4a1f3d0 100644 --- a/FPGA_firmware/sensor_algo_qsys/algo_top_cl_cali_rms.v +++ b/FPGA_firmware/sensor_algo_qsys/algo_top_cl_cali_rms.v @@ -1,3 +1,16 @@ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Oct 15th. 2024 * +* Author: L.Qin * +* Module - algo_top_cl_cali_rms.v * +******************************************************************************/ /*Created by Lq.Qin on Oct 15th. 2024*/ //module algo_top_cl_cali_rms diff --git a/FPGA_firmware/sensor_algo_qsys/bkg_subtraction_pipe.v b/FPGA_firmware/sensor_algo_qsys/bkg_subtraction_pipe.v index baf476b..11d9ad8 100644 --- a/FPGA_firmware/sensor_algo_qsys/bkg_subtraction_pipe.v +++ b/FPGA_firmware/sensor_algo_qsys/bkg_subtraction_pipe.v @@ -1,3 +1,16 @@ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Oct 15th. 2024 * +* Author: L.Qin * +* Module - bkg_subtraction_pipe.v * +******************************************************************************/ /*Created by Lq.Qin on Oct 15th. 2024*/ //background subtraction module diff --git a/FPGA_firmware/sensor_algo_qsys/calibration.v b/FPGA_firmware/sensor_algo_qsys/calibration.v index 99de839..8af1539 100644 --- a/FPGA_firmware/sensor_algo_qsys/calibration.v +++ b/FPGA_firmware/sensor_algo_qsys/calibration.v @@ -1,3 +1,16 @@ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Oct 15th. 2024 * +* Author: L.Qin * +* Module - calibration.v * +******************************************************************************/ /*Created by Lq.Qin on Oct 15th. 2024*/ //module calibration has two functions: calibration and merge 16-bit stream to 32-bit stream and then output diff --git a/FPGA_firmware/sensor_algo_qsys/cluster_locate.sv b/FPGA_firmware/sensor_algo_qsys/cluster_locate.sv index ebe0c6f..b1a1a99 100644 --- a/FPGA_firmware/sensor_algo_qsys/cluster_locate.sv +++ b/FPGA_firmware/sensor_algo_qsys/cluster_locate.sv @@ -1,3 +1,16 @@ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Oct 15th. 2024 * +* Author: L.Qin * +* Module - cluster_locate.sv * +******************************************************************************/ /* Created by Lq.Qin on Oct 15th. 2024 CLUSTER LOCATE: diff --git a/FPGA_firmware/sensor_algo_qsys/rms.sv b/FPGA_firmware/sensor_algo_qsys/rms.sv index f64915a..63bf4cd 100644 --- a/FPGA_firmware/sensor_algo_qsys/rms.sv +++ b/FPGA_firmware/sensor_algo_qsys/rms.sv @@ -1,7 +1,18 @@ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Oct 15th. 2024 * +* Author: L.Qin * +* Module - rms.sv * +******************************************************************************/ //the module for rms /* - -Created by Lq.Qin on Oct 15th. 2024 if there is cluster: go through the data three times: diff --git a/FPGA_firmware/sensor_algo_qsys/sensor_algo.v b/FPGA_firmware/sensor_algo_qsys/sensor_algo.v index 7519f39..6b224e6 100644 --- a/FPGA_firmware/sensor_algo_qsys/sensor_algo.v +++ b/FPGA_firmware/sensor_algo_qsys/sensor_algo.v @@ -1,4 +1,16 @@ - +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Oct 15th. 2024 * +* Author: L.Qin * +* Module - sensor_algo.v * +******************************************************************************/ /*Created by Lq.Qin on Oct 15th. 2024*/ //module sensor_algo //combine sensor_interface bkg_subtraction, cluster_locate, and calibration, and rms diff --git a/FPGA_firmware/sensor_algo_qsys/sensor_interface.v b/FPGA_firmware/sensor_algo_qsys/sensor_interface.v index 3f63329..2b45fa3 100644 --- a/FPGA_firmware/sensor_algo_qsys/sensor_interface.v +++ b/FPGA_firmware/sensor_algo_qsys/sensor_interface.v @@ -1,7 +1,17 @@ -// sensor_interface.v -/*Created by M.Dziewiecki in 2019 -Modified by Lq.Qin on Oct 15th. 2024*/ - +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - 2019 * +* Author: M.Dziewiecki * +* Module - sensor_interface.v * +* Edited by L.Qin on Oct 15. 2024 * +******************************************************************************/ `timescale 1 ps / 1 ps diff --git a/FPGA_firmware/sensor_algo_qsys/stl2sts.v b/FPGA_firmware/sensor_algo_qsys/stl2sts.v index efd816a..dd286d7 100644 --- a/FPGA_firmware/sensor_algo_qsys/stl2sts.v +++ b/FPGA_firmware/sensor_algo_qsys/stl2sts.v @@ -1,3 +1,16 @@ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Oct 15th. 2024 * +* Author: L.Qin * +* Module - stl2sts.v * +******************************************************************************/ /* Created by Lq.Qin on Oct 15th. 2024 */ diff --git a/FPGA_nios/hit_pat/inc/control.h b/FPGA_nios/hit_pat/inc/control.h index 12a69f3..9342fe9 100644 --- a/FPGA_nios/hit_pat/inc/control.h +++ b/FPGA_nios/hit_pat/inc/control.h @@ -1,9 +1,16 @@ -/* - * control.h - * - * Created on: Aug 14, 2017 - * Author: mdziewiecki - */ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Aug 14, 2017 * +* Author: M.Dziewiecki * +* Module - control.h * +******************************************************************************/ #ifndef CONTROL_H_ #define CONTROL_H_ diff --git a/FPGA_nios/hit_pat/inc/dev_commands.h b/FPGA_nios/hit_pat/inc/dev_commands.h index aa40487..ff0f324 100644 --- a/FPGA_nios/hit_pat/inc/dev_commands.h +++ b/FPGA_nios/hit_pat/inc/dev_commands.h @@ -1,4 +1,17 @@ - /* Modified on : Oct 15, 2024 by Lq.Qin*/ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Aug 14, 2017 * +* Author: M.Dziewiecki * +* Module - dev_commands.h * +* Edited by L.Qin on Oct 15. 2024 * +******************************************************************************/ #ifndef DEV_COMMANDS_H #define DEV_COMMANDS_H diff --git a/FPGA_nios/hit_pat/inc/sensor.h b/FPGA_nios/hit_pat/inc/sensor.h index f3935bc..dd737e5 100644 --- a/FPGA_nios/hit_pat/inc/sensor.h +++ b/FPGA_nios/hit_pat/inc/sensor.h @@ -1,10 +1,18 @@ -/* - * sensor.h - * - * Created on: Aug 19, 2019 - * Author: mdziewiecki - * Modified on : Oct 15, 2024 by Lq.Qin - */ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Aug 19, 2019 * +* Author: M.Dziewiecki * +* Module - sensor.h * +* Edited by L.Qin on Oct 15. 2024 * +******************************************************************************/ + #ifndef SENSOR_H_ #define SENSOR_H_ diff --git a/FPGA_nios/hit_pat/inc/socket_server.h b/FPGA_nios/hit_pat/inc/socket_server.h index 5a9c8ed..73db3ac 100644 --- a/FPGA_nios/hit_pat/inc/socket_server.h +++ b/FPGA_nios/hit_pat/inc/socket_server.h @@ -5,7 +5,7 @@ ******************************************************************************* * * Date - October 24, 2006 * * Module - simple_socket_server.h * -* EXTENSIVELY REWRITTEN by M.D. 2019 * * +* EXTENSIVELY REWRITTEN by M.Dziewiecki 2019 * * ******************************************************************************/ /* diff --git a/FPGA_nios/hit_pat/inc/udpgen.h b/FPGA_nios/hit_pat/inc/udpgen.h index bd69f56..21bd1c7 100644 --- a/FPGA_nios/hit_pat/inc/udpgen.h +++ b/FPGA_nios/hit_pat/inc/udpgen.h @@ -1,9 +1,16 @@ -/* - * udpgen.h - * - * Created on: Aug 7, 2019 - * Author: mdziewiecki - */ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Aug 7, 2019 * +* Author: M.Dziewiecki * +* Module - udpgen.h * +******************************************************************************/ #ifndef UDPGEN_H_ #define UDPGEN_H_ diff --git a/FPGA_nios/hit_pat/inc/utils.h b/FPGA_nios/hit_pat/inc/utils.h index eafe646..c104bf7 100644 --- a/FPGA_nios/hit_pat/inc/utils.h +++ b/FPGA_nios/hit_pat/inc/utils.h @@ -1,11 +1,18 @@ -/* - * utils.h - * - * Created on: Jul 31, 2019 - * Author: mdziewiecki - * Various utils for various purposes - * Mainly wrappers on hardware - */ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Jul 31, 2019 * +* Author: M.Dziewiecki * +* Module - utils.h * +******************************************************************************/ +//Various utils for various purposes +//Mainly wrappers on hardware diff --git a/FPGA_nios/hit_pat/src/control.c b/FPGA_nios/hit_pat/src/control.c index 87513a2..bafeddc 100644 --- a/FPGA_nios/hit_pat/src/control.c +++ b/FPGA_nios/hit_pat/src/control.c @@ -1,11 +1,17 @@ -/* - * control.c - * - * Created on: Aug 14, 2017 - * Author: mdziewiecki - * Modified on : Oct 15, 2024 by Lq.Qin - * - */ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Aug 14, 2017 * +* Author: M.Dziewiecki * +* Module - control.c * +* Edited by L.Qin on Oct 15. 2024 * +******************************************************************************/ #include diff --git a/FPGA_nios/hit_pat/src/sensor.c b/FPGA_nios/hit_pat/src/sensor.c index fd78cc4..762f6aa 100644 --- a/FPGA_nios/hit_pat/src/sensor.c +++ b/FPGA_nios/hit_pat/src/sensor.c @@ -1,11 +1,18 @@ -/* - * sensor.c - * - * Created on: Aug 19, 2019 - * Author: mdziewiecki - * Modified on : Oct 15, 2024 by Lq.Qin - * - */ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Aug 19, 2019 * +* Author: M.Dziewiecki * +* Module - sensor.c * +* Edited by L.Qin on Oct 15. 2024 * +******************************************************************************/ + #include #include "includes.h" diff --git a/FPGA_nios/hit_pat/src/udpgen.c b/FPGA_nios/hit_pat/src/udpgen.c index 0f2bf44..fea3e45 100644 --- a/FPGA_nios/hit_pat/src/udpgen.c +++ b/FPGA_nios/hit_pat/src/udpgen.c @@ -1,9 +1,17 @@ -/* - * udpgen.c - * - * Created on: Aug 7, 2019 - * Author: mdziewiecki - */ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Aug 19, 2019 * +* Author: M.Dziewiecki * +* Module - udpgen.c * +******************************************************************************/ + #include #include "includes.h" diff --git a/FPGA_nios/hit_pat/src/utils.c b/FPGA_nios/hit_pat/src/utils.c index 926a6cc..24557cd 100644 --- a/FPGA_nios/hit_pat/src/utils.c +++ b/FPGA_nios/hit_pat/src/utils.c @@ -1,9 +1,16 @@ -/* - * utils.c - * - * Created on: Jul 31, 2019 - * Author: mdziewiecki - */ +/****************************************************************************** +* Copyright * +* Scintillating Fibre Beam Profile Monitor Software by Michal Dziewiecki, * +* Blake Leverington and Liqing Qin is licensed under CC BY 4.0 * +* https://creativecommons.org/licenses/by/4.0/ * +* funded by the Deutsche Forschungsgemeinschaft * +* (DFG, German Research Foundation) Projektnummer 419255448 * +* Project Leader: B.Leverington * +******************************************************************************* +* Create Date - Jul 31, 2019 * +* Author: M.Dziewiecki * +* Module - utils.c * +******************************************************************************/ #include