Commit graph

825 commits

Author SHA1 Message Date
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 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
48e8f84caa test: rx_timestamp_tb: eight_bit_mode_en made into generic 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
35a9870239 test: fx3_gpif_meta_8bit_tb: eight_bit_mode_en made into generic 2023-10-31 10:28:21 -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
Ryan Thompson
9f4b55e626 test: test.do wrapper quits ModelSim if passed .do file has fails
test.do wraps existing .do files. This will exit vsim with a pass (0)
or fail (1) exit code accessible through the nios_command_shell.
Parameters will be passed to the child file.do.

Usage:
    do test.do <file.do> [params]

Example:
    ~/intelFPGA_lite/20.1/nios2eds/nios2_command_shell.sh
    cd ~/bladeRF/hdl/fpga/platforms/bladerf-micro/modelsim
    vsim .
    do test.do compile.do
2023-09-27 16:38:58 -05:00
Ryan Thompson
686587fee4 hdl: U_tx signaltap 2023-09-27 16:38:56 -05:00
Ryan Thompson
4627a6da6a quartus: signal tap file added for fifo_writer 2023-06-27 13:22:40 -05:00
Ryan Thompson
3e90784670 hdl: FPGA patch update v0.15.2
Corrects RX timestamp when MIMO enabled.
2023-06-26 13:37:36 -05:00
Ryan Thompson
891b4041ab hdl: exit the meta downcount state early if MIMO enabled
Exits the downcount one timestamp early when MIMO is enabled. This fixes
the off-by-one overrun when MIMO is enabled.

Fixes #855
2023-06-26 13:37:36 -05:00
Ryan Thompson
1e8098f383 hdl: meta spacing check in 8bit meta tb
This checks for meta spacing specifically in the first iteration of
the test. Warnings are expected after the first iteration of GPIF
transactions.
2023-06-26 13:37:36 -05:00
Ryan Thompson
86410e2721 hdl: FPGA patch update v0.15.1
+ 8bit RX timestamp correction
+ 8bit support signal_generator.vhd
2023-05-11 16:44:28 -05:00
Ryan Thompson
aab9d26373 hdl: timestamp delay added for 8bit format addressing
Fixes #913
2023-03-31 17:25:49 -05:00
Ryan Thompson
aa0b530e81 hdl: init rx_timstamp_tb 2023-03-31 17:18:01 -05:00
Ryan Thompson
e6c68c05a4 hdl: signal generator shifts left 32bit count by 4
Left shifting the signal generator samples by 4 allows the 8bit packing
in fifo_writer to catch the LSBs.
2023-03-31 17:18:01 -05:00
Ryan Thompson
6c2a9dff8e hdl: rx_counter_8bit_tb 16bit check implemented
Still needs 8bit support within signal_generator.vhd
2023-03-31 17:18:01 -05:00
Ryan Thompson
f8fe3b8dfb hdl: init rx_counter_8bit_tb 2023-03-31 17:18:01 -05:00
Robert Ghilduta
5235a58f12 foxhunt: fixup instantiation of gpif, rx, tx modules 2023-03-17 01:39:05 -07:00
Robert Ghilduta
9045fd9e82 hdl: increase bladeRF 1.0 TX buffer size 2023-03-09 04:15:39 -08:00
Robert Ghilduta
0aa59721d1 Revert "hdl: use a smaller TX fifo headroom to fully saturate buffers"
This reverts commit b69ce1f331.
2023-03-09 04:08:48 -08:00
Robert Ghilduta
b69ce1f331 hdl: use a smaller TX fifo headroom to fully saturate buffers 2023-03-09 04:06:14 -08:00
Robert Ghilduta
14aaebcc66 bladeRF-cli: clear up nomeclature in set samplerate 2023-02-28 04:43:00 -08:00
Robert Ghilduta
12f67cb852 hdl: update change log 2023-02-13 03:45:21 -08:00
Robert Ghilduta
6ff8fd5a0d hdl: add eight_bit_mode_en signal to bladerf platform 2023-02-13 03:28:19 -08:00
Ryan Thompson
c8e3ff3c3a Revert "DEBUG: sys, c5, and tx clks tied to LEDs"
This reverts commit a3bce1308eceba4e02d5a9274cda7ec1a9606136.
2023-02-13 03:28:19 -08:00
Ryan Thompson
f29b315e8b DEBUG: sys, c5, and tx clks tied to LEDs 2023-02-13 03:28:19 -08:00
Ryan Thompson
5c8621c0b9 hdl: 8bit loopback mode support added 2023-02-13 03:28:19 -08:00
Robert Ghilduta
4edbdcf92b hdl: wire up eight_bit_mode_en -> eightbit_en_tx 2023-02-13 03:28:19 -08:00
Robert Ghilduta
1e5c81bb7b hdl: fix shifting 2023-02-13 03:28:19 -08:00
Ryan Thompson
aa3717a2af hdl: FPGA version update v0.15.0
FPGA version updated to v0.15.0 to represent the addition of 8bit mode.
2023-02-13 03:28:19 -08:00
Robert Ghilduta
a11cfa01a3 hdl: add 8bit sample mode to bladerf-hosted 2023-02-13 03:28:19 -08:00
Ryan Thompson
a9eea133a0 hdl: 8bit meta tb added 2023-02-13 03:28:19 -08:00
Ryan Thompson
85c917ddc4 hdl: 8bit mode IQ tb added 2023-02-13 03:28:19 -08:00
Ryan Thompson
39b13c8464 hdl: 8bit mode added 2023-02-13 03:28:19 -08:00
Ryan Thompson
afe549827a hdl: packet tb added 2023-02-13 03:28:19 -08:00
Ryan Thompson
40ea2617c5 hdl: meta tb added 2023-02-13 03:28:19 -08:00