Commit Graph

64 Commits

Author SHA1 Message Date
Carles Fernandez 6e96b41025
Improve constructors: prefer member initializers to member initializations in the constructor body 2021-10-11 15:13:12 +02:00
Carles Fernandez 2287564752
Make the address sanitizer happy 2021-10-01 12:52:29 +02:00
Carles Fernandez d738d893c6
Apply clang-format 2021-01-26 00:14:50 +01:00
Carles Fernandez d6d1fff743
Apply clang-tidy fixes when -DENABLE_FPGA=ON 2021-01-25 22:07:59 +01:00
Carles Fernandez 7308745f05
Apply more concise file header format
Re-license CMake scripts with BSD-3-Clause
2020-12-30 13:35:06 +01:00
Marc Majoral 630f1932f2 The tracking modules determine the uio device file that is assigned to them using the hardware accelerator device name in the FPGA 2020-11-27 10:51:06 +01:00
Carles Fernandez 499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
Carles Fernandez 1c4e4d3c67
Remove all warnings raised by bugprone-* clang-tidy checks in tracking blocks 2020-07-10 21:13:17 +02:00
Carles Fernandez 09bcd1981c Replace std::endl by \n character. There is no need to always flush the stream. 2020-07-07 18:53:50 +02:00
Carles Fernandez ce16b0e1a4
Fix initialization 2020-02-23 13:45:57 +01:00
Carles Fernandez 649a1d7be6
cpplint: Do not use variable-length arrays [runtime/arrays] 2020-02-23 13:39:31 +01:00
Carles Fernandez 4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/)
Update license headers to SPDX format (see https://spdx.org/)
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez 124531ba39
Accelerate writing of secondary code
And other cosmetic changes
2019-10-27 22:42:58 +01:00
Carles Fernandez b4e4c849b1
More usage of volk_gnsssdr::vector 2019-10-27 21:34:19 +01:00
Marc Majoral dbf0c38d37 applied clang-format 2019-10-03 16:37:18 +02:00
Marc Majoral f2b2eb2f1a replaced .device_base by .dev_file_num parameter. The .dev_file_num parameter points for each type of GNSS signal, the number of the first uio device file that is used for the tracking process. 2019-10-03 16:37:18 +02:00
Carles Fernandez e80122f4ff
Apply clang tidy checks and clang-format 2019-09-13 08:56:37 +02:00
Marc Majoral c2acada665 the device_base index is now a signed integer. 2019-08-26 17:59:16 +02:00
Carles Fernandez 4dd8aa12b4
Replace C style casts by C++ casts 2019-08-18 12:54:16 +02:00
Carles Fernandez 5f176b084c
Replace defines by constants and move them to the implementation 2019-08-14 02:34:00 +02:00
Carles Fernandez 3d146019dd
Apply modernize-redundant-void-arg clang-tidy fix 2019-08-14 02:14:29 +02:00
Carles Fernandez 487010346f
Apply readability-isolate-declaration clang-tidy check 2019-08-13 00:19:31 +02:00
Marc Majoral f30d8a60ec updated doxygen comments 2019-07-23 19:05:43 +02:00
Marc Majoral 6ee9fedd76 moved #defines to static consts + used clang-format + removed code that was commented out 2019-07-23 15:20:59 +02:00
Marc Majoral 00993d9719 replaced #defines by static consts + removed unused tracking parameter + removed unnecessary comments 2019-07-22 19:58:37 +02:00
Marc Majoral 8b0e170a56 applied clang-format 2019-07-19 11:55:53 +02:00
Marc Majoral dd996bc2e2 Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration 2019-07-18 11:35:34 +02:00
Carles Fernandez 19b35b6cef
Remove cstdio header
See * MISRA C++:2008, 27-0-1 - The stream input/output library <cstdio> shall not be used.
2019-07-14 00:42:56 +02:00
Marc Majoral 33d1115246 added support for extended coherent integration in the FPGA. The code still needs to be optimized and cleaned. 2019-06-18 18:22:01 +02:00
Marc Majoral e1d01d3b97 Re-enable uio interrupts manually + do not enable interrupt generation at reset. 2019-05-13 16:30:01 +02:00
Marc Majoral 585ecf2a84 removed the activation of the flag that causes the tracking HW accelerators to trigger an interrupt upon reset. 2019-05-13 16:30:01 +02:00
Marc Majoral 9f80eaf0ff code cleanup 2019-04-12 11:36:30 +02:00
Marc Majoral 91f509abf9 write the code phase rate and the nco phase rate parameters in the FPGA 2019-04-10 11:31:34 +02:00
Marc Majoral 19184da0f9 The FPGA multicorrelator interrupt is enabled only once when a satellite is assigned to a particular channel. Until now the interrupt was automatically disabled by the interrupt handler of the uio driver and the multicorrelator code had to re-enable it every time. This change saves CUP cycles for real-time operation. It requires that the code that disables the interrupt in the uio driver interrupt handler is commented out. 2019-04-09 16:03:31 +02:00
Marc Majoral ff024e7292 cleaned unused code and added some comments. 2019-04-04 19:55:02 +02:00
Marc Majoral 553946fb65 moved the setting of the flags for the writing of the local code to the initialization, to save cpu cycles during tracking. 2019-04-02 20:36:48 +02:00
Marc Majoral a6110eb334 moved the calculations related to the local code that is specific to the FPGA to the initialisation phase of the tracking modules to save clock cycles during real-time tracking. 2019-04-02 18:46:37 +02:00
Marc Majoral 905a85670c currently optimizing the FPGA-related code 2019-03-25 19:45:54 +01:00
Carles Fernandez 08ce4cdd75
Sort includes, fix coverity scan defect 2019-03-03 00:15:20 +01:00
Carles Fernandez fcfe63ba08
Fix defects detected by coverity scan 2019-03-01 20:49:45 +01:00
Carles Fernandez e43b8f5284
Fix defects detected by Coverity Scan 2019-03-01 15:29:43 +01:00
Carles Fernandez df0a77ee0d
Fix warnings
more protection on read/write failures and some code cleaning
2019-03-01 10:11:36 +01:00
Carles Fernandez 7c71ed9404
Merge branch 'fpga' of https://github.com/gnss-sdr/gnss-sdr into merge-fpga
Applied checks and formatting
2019-02-28 21:45:30 +01:00
Marc Majoral c32e0b427a coding style + removed some unnecessary memory arrays in the FPGA E5A tracking adapter class. 2019-02-27 17:27:31 +01:00
Marc Majoral a03ed571e6 replaced int and unsigned int by int32_t and uint32_t
removed some unused variables
2019-02-27 14:37:07 +01:00
Marc Majoral 8d770d9be9 more code cleaning
removed some non used variables
2019-02-27 13:30:09 +01:00
Marc Majoral f127729eb0 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-01-25 18:02:07 +01:00
Marc Majoral 7da82dbaea updated the FPGA tracking gnuradioblock according to the latest changes in the SW tracking gnuradioblock. 2018-12-14 18:15:21 +01:00
Marc Majoral ae61646270 Solved two bugs:
- a minor bug in the E5A fpga acquisition adapter module: a config parameter was not correctly read.
- a bug in the tracking fpga multicorrelator module: if pilot tracking was enabled then the results of the pilot correlator were not correctly read when using the multicorrelator 3-1 HW Accelerator in the FPGA (used for GPS L5 and Galileo E5A).
2018-12-11 14:44:42 +01:00
Carles Fernandez 54237770a6
Apply fixes by clang-tidy 2018-12-10 22:59:10 +01:00