Robert Ghilduta
3712a78fd9
host: clean up documentation relating to the removal of pthreads-win32
2023-12-04 01:15:59 -08:00
Robert Ghilduta
38876e19c8
bladeRF-cli: switch over to using threading and locking macros
2023-12-04 01:15:59 -08:00
Robert Ghilduta
60ae4d0683
host: remove pthreadswin32 from CMake depedency
2023-12-04 01:15:59 -08:00
Robert Ghilduta
eadce58336
libbladeRF_test: move all tests to libbladeRF threading and locking macros
2023-12-04 01:15:59 -08:00
Robert Ghilduta
4dc30c0159
bladeRF-fsk: temporarily disable bladeRF-fsk with MSVC
2023-12-04 01:15:59 -08:00
Robert Ghilduta
b1ab659d6d
libbladeRF: replace pthreadswin32 with native threading and locking API on Windows
2023-12-04 01:15:59 -08:00
Robert Ghilduta
747b64ee70
cmake: defines for MSVC
2023-12-02 01:28:25 -08:00
Robert Ghilduta
e71bdb391a
cmake: defines for MSVC
2023-12-02 01:22:35 -08:00
Ryan Thompson
05dafc8e7e
doc: bladeRF-cli: clarify K/M/G as powers of 1024
...
Fixes #840
2023-11-30 13:06:48 -06:00
Robert Ghilduta
94f2159c87
windows: add a few missing depencies
2023-11-30 05:11:23 -08:00
Robert Ghilduta
82eabb2f0e
libbladeRF_test: bump dependency
2023-11-29 13:16:00 -08:00
Ryan Thompson
1a2d9e3e02
test: txrx_hwloop: fix getopt_long warning by changing 'c' to int
...
Resolved the compiler warning caused by comparing
getopt_long's return value with a char. Changed 'c'
from char to int to correctly handle -1 return values.
Fixes #952
2023-11-28 23:32:11 +00:00
Ryan Thompson
d0fbe05690
test: device test label turned into libbladeRF label
...
Not really a need to separate tests as libbladeRF is intended to
interface with the device.
2023-10-31 11:01:04 -05:00
Ryan Thompson
2b655e9423
test: python virtual environment setup added to build output
...
The setup_env.sh and requirements.txt files are copied to build/output.
Ex:
$ ./output/setup_env.sh
$ source nuand/bin/activate
$ python ./output/libbladeRF_test_txrx_hwloop.py
2023-10-31 11:01:04 -05:00
Ryan Thompson
bfabd63566
libbladeRF: fix assignment between very fast and very slow sample rates
...
Failure info:
Failed going from 48,601,811 -> 1,228,911 MSPS.
Worked when first sample rate is < 40,000,001 MSPS.
Worked when the subsequent sample rate is > 2,083,334 MSPS.
ad9361_validate_enable_fir: Invalid: ratio ADC/2 / TX_SAMPL * 16 > TAPS(max 64, adc 388814480, tx 48601810)
[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/rfic_host.c:888] _rfic_host_set_filter: ad9361_set_tx_fir_en_dis(phy, enable) failed: An unexpected error occurred
[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1100] bladerf2_set_sample_rate: could not set TX filter mode: An unexpected error occurred
2023-10-31 11:00:36 -05:00
Ryan Thompson
d4cdad16ff
doc: note that quick_tune must be non-NULL for the bladeRF micro 2.0
2023-10-31 11:00:36 -05:00
Ryan Thompson
75fbcb7cd6
test: test_regression conditionally added with cmake option
...
This prevents the long build time grabbing googletest and abseil libs.
2023-10-31 11:00:34 -05:00
Ryan Thompson
b33a4a711a
test: list available test targets with "make test"
2023-10-31 10:29:54 -05:00
Ryan Thompson
237d6240d4
test: test_general renamed to test_regression
2023-10-31 10:28:21 -05:00
Ryan Thompson
32f1378eec
test: regression test synthesizes all FPGA images
...
Defaults
+---------------+------------+----------------+
| Board | Revision | Supported Size |
+---------------+------------+----------------+
| bladeRF | hosted | 40 |
| bladeRF | hosted | 115 |
| bladeRF-micro | hosted | A4 |
| bladeRF-micro | hosted | A9 |
| bladeRF-micro | wlan | A9 |
+---------------+------------+----------------+
All (--gtest_also_run_disabled_tests)
+---------------+------------+----------------+
| Board | Revision | Supported Size |
+---------------+------------+----------------+
| bladeRF | hosted | 40 |
| bladeRF | hosted | 115 |
| bladeRF | adsb | 40 |
| bladeRF | adsb | 115 |
| bladeRF | atsc_tx | 40 |
| bladeRF | atsc_tx | 115 |
| bladeRF | fsk_bridge | 40 |
| bladeRF | fsk_bridge | 115 |
| bladeRF | headless | 40 |
| bladeRF | headless | 115 |
| bladeRF | qpsk_tx | 40 |
| bladeRF | qpsk_tx | 115 |
| bladeRF-micro | hosted | A4 |
| bladeRF-micro | hosted | A9 |
| bladeRF-micro | adsb | A4 |
| bladeRF-micro | adsb | A9 |
| bladeRF-micro | foxhunt | A4 |
| bladeRF-micro | foxhunt | A9 |
| bladeRF-micro | wlan | A9 |
+---------------+------------+----------------+
2023-10-31 10:28:21 -05:00
Ryan Thompson
46f8fc52bd
test: rx_timestamp_tb: continuous run support
2023-10-31 10:28:21 -05:00
Ryan Thompson
282859b93c
test: rx_timestamp_tb: MIMO support
...
Divides the expected meta value data by 2 when MIMO enabled.
2023-10-31 10:28:21 -05:00
Ryan Thompson
2928d7fe8f
test: rx_timestamp_tb: meta_verify process iteration limit added
...
This circumvents the rst asserted in the tb.
2023-10-31 10:28:21 -05:00
Ryan Thompson
f046180604
host: CMake minimum version bump to 3.5
...
Accommodates the following warning issued by CMake v3.27.1.
CMake Deprecation Warning:
Compatibility with CMake < 3.5 will be removed from a
future version of CMake.
2023-10-31 10:28:21 -05:00
Ryan Thompson
fc73ab1c1b
test: fx3_gpif_meta_8bit_tb: corrected adc_streams().data_v behavior
...
adc_streams(0 and 1).data_v engages regardless of which module is
enabled in libbladeRF.
2023-10-31 10:28:21 -05:00
Ryan Thompson
369228a4b1
test: rx_timestamp_tb: removed redudent FIFO tests in other test benches
2023-10-31 10:28:21 -05:00
Ryan Thompson
e18c59ca46
test: fx3_gpif_meta_8bit_tb: last_ts re-initializes after reset asserted
...
Iterator added to meta spacing check. This allows for last_ts to
re-initialize after the reset to fifo_writer is asserted.
2023-10-31 10:28:21 -05:00
Ryan Thompson
bfd82bfcca
hdl: FPGA patch update v0.15.3
fpga_v0.15.3
2023-10-31 10:28:21 -05:00
Ryan Thompson
4b9906602e
hdl: fifo_writer: proper META state transition for exclusive ch1 usage
...
Addresses an issue where the META state was not transitioning correctly
when only channel 1 (ch1) was enabled. The fix ensures that the META
state now correctly exits the META_WRITE state and enters the
META_DOWNCOUNT state when ch1 is exclusively enabled.
2023-10-31 10:28:21 -05:00
Ryan Thompson
91a34c83c7
test: fx3_gpif_iq_8bit_tb: adc_stream values checked directly for 16b
...
The 8b samples leave off the last 3 samples of the ADC.
Fixes 16b mode tests.
2023-10-31 10:28:21 -05:00
Ryan Thompson
10ee1f24d8
test: rx_timestamp_tb added to regression test
2023-10-31 10:28:21 -05:00
Ryan Thompson
48e8f84caa
test: rx_timestamp_tb: eight_bit_mode_en made into generic
2023-10-31 10:28:21 -05:00
Ryan Thompson
5dccc5cd97
test: rx_counter_8bit_tb added to regression test
2023-10-31 10:28:21 -05:00
Ryan Thompson
714cafd4a2
test: rx_counter_8bit_tb: added 16bit and MIMO config support
2023-10-31 10:28:21 -05:00
Ryan Thompson
c23e8ae1e7
test: rx_counter_8bit_tb: eight_bit_mode_en made into generic
2023-10-31 10:28:21 -05:00
Ryan Thompson
be3f5071c0
test: rx_counter_8bit_tb: count resets when RX disabled
2023-10-31 10:28:21 -05:00
Ryan Thompson
47f1879dad
test: loopback_tb added to regression test
...
No assertions found, therefore the test is empirical at commit. It
instantiates a sample_stream_tb instance essentially serving as a
sample_stream_tb wrapper.
2023-10-31 10:28:21 -05:00
Ryan Thompson
429c78f1d8
test: fx3_gpif_meta_tb added to regression test
2023-10-31 10:28:21 -05:00
Ryan Thompson
fe9917784e
test: fx3_gpif_tb added to regression test
2023-10-31 10:28:21 -05:00
Ryan Thompson
e5e94476e9
test: fx3_gpif_packet_tb added to regression test
2023-10-31 10:28:21 -05:00
Ryan Thompson
e6a0919c3b
test: fx3_gpif_meta_tb added to regression test
2023-10-31 10:28:21 -05:00
Ryan Thompson
35a9870239
test: fx3_gpif_meta_8bit_tb: eight_bit_mode_en made into generic
2023-10-31 10:28:21 -05:00
Ryan Thompson
bf2f3c18c7
test: fx3_gpif_iq_tb added to regression test
2023-10-31 10:28:21 -05:00
Ryan Thompson
94988ca2fd
test: fx3_gpif_8bit_tb test matrix generated by googletest
2023-10-31 10:28:21 -05:00
Ryan Thompson
f90181373c
test: Abseil CMake build
2023-10-31 10:28:21 -05:00
Ryan Thompson
d072e2140c
test: verify hdl macro and FX3 IQ 8bit test matrix added
...
General_test catches vsim failure assertions and runs the
fx3_gpif_iq_8bit_tb test matrix.
Test Matrix
+------+---------+---------+
| Mode | EN_CH0 | EN_CH1 |
+------+---------+---------+
| 8b | 0 | 1 |
| 8b | 1 | 0 |
| 8b | 1 | 1 |
| 16b | 0 | 1 |
| 16b | 1 | 0 |
| 16b | 1 | 1 |
+------+---------+---------+
2023-09-27 16:38:58 -05:00
Ryan Thompson
9527cf7d43
test: fx3_gpif_8bit_iq_tb: generics config on startup
2023-09-27 16:38:58 -05:00
Ryan Thompson
623029d407
test: fx3_gpif_iq_8bit_tb: eight_bit_mode_enable changed to generic
2023-09-27 16:38:58 -05:00
Ryan Thompson
9567fd7c27
test: test.do header and usage added
2023-09-27 16:38:58 -05:00
Ryan Thompson
4c2281c91f
test: test.do vsim support
...
Assertion failures are caught by test.do and returns an
EXIT_FAILURE (1).
2023-09-27 16:38:58 -05:00