Commit graph

2,284 commits

Author SHA1 Message Date
Vanya A. Sergeev
5a0754b56c libbladeRF/bladerf2: implement gain stage and range methods 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
66e30806bf libbladeRF/bladerf1: implement gain stage and range methods 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
fa193e4a23 libbladeRF/bladerf2: implement set and get tx gain 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
02c012f446 libbladeRF/bladerf1: implement get gain method 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
50b2128cc0 libbladeRF/bladerf1: refactor set tx and rx gain helpers 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
a137aefba5 libbladeRF: add rf port methods 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
bccd7e19f7 libbladeRF: migrate api to 64-bit frequency 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
80a0ec0658 libbladeRF: add get board name method 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
54296975ed libbladeRF: add get range methods for sample rate, bandwidth, frequency 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
ad77aa9a8e libbladeRF: add generic gain methods 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
b4590950f4 libbladeRF: add bladerf_stream_layout concept for mimo streams 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
18c199a358 libbladeRF/doc: move macros after typedefs and enums in doxygen rendering 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
9062b66d9c libbladeRF: migrate bladerf_module to bladerf_channel and bladerf_direction 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
823f15da5a libbladeRF: reorganize generic from board specific functions in public API 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
0b814debbf libbladeRF/backend: add ina219 accessors 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
753614b487 libbladeRF/driver: clarify type in platform wrapper of ad9361 driver 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
eb01b04658 libbladeRF/driver/ad9361: add error handling to adc and dac core subdrivers 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
e3645a21f8 libbladeRF/driver/ad9361: remove id_no index into dac state in dac subdriver 2017-12-21 12:54:58 -05:00
Ryan Tucker
ffe5fe98c0 hdl/analogdevicesinc: add README file with instructions 2017-12-21 12:54:58 -05:00
Brian Glod
3ee2b95eaa ip: adi: Fix PLL resets
The separate resets for the RX PLL and TX PLL prevented the PLLs from
being merged and thus prevented fitting in the device due to lack of
valid PLL locations. Because we want them to be merged, just use one
reset block to reset "both" PLLs.

In the future (after the TX/RX interfaces have been validated), we can
configure the LVDS cores to have an external PLL to make it explicit.
2017-12-21 12:54:58 -05:00
Brian Glod
8ec6b94247 hdl/ip/adi: Fix path to pll_reset in axi_ad9361.qip 2017-12-21 12:54:58 -05:00
Brian Glod
9d295cbf06 ip: adi: Connect PLL reset controllers 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
4ab8e67404 libbladeRF/driver: add subtree update instructions to ad9361 driver 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
34ed7b6b24 libbladeRF/driver: call adc and dac init in axiadc init of ad9361 driver 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
0ff3e78166 libbladeRF/driver: add axi adc platform backend wrappers to ad9361 driver 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
9abf887a84 libbladeRF/driver: add error handling to axi adc methods in ad9361 driver 2017-12-21 12:54:58 -05:00
Robert Ghilduta
c01931a920 libbladeRF/driver: fix compilation errors 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
32094b43a4 libbladeRF/driver: use rffe control in ad9361 platform wrapper 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
b2bac5705d libbladeRF/backend: refactor ad9361 spi methods into separate read/write ones 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
d5777c866b libbladeRF/driver: add platform backend wrappers to ad9361 driver 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
8541290c55 libbladeRF/driver: refactor spi and gpio objects in ad9361 driver 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
9014d442a2 libbladeRF: add adi no-os ad9361 driver 2017-12-21 12:54:58 -05:00
Brian Glod
b166b90fdb bladerf-micro: sdc: Fix FIFO false path
The -to target was invalid due to changing the FIFO hierarchy in a
previous commit.
2017-12-21 12:54:58 -05:00
Brian Glod
faeb51e6d5 bladerf-micro: Add DCFIFO wrappers
- tx_fifo
- rx_fifo
- tx_meta_fifo
- rx_meta_fifo

This lets us avoid using MegaFunctions. The wrappers configure sane
DCFIFO defaults, but may also be overridden.
2017-12-21 12:54:58 -05:00
Brian Glod
5d5243110e bladerf-micro: hdl: Generate PLLs in build script
Move component declarations to bladerf_p.vhd package.
2017-12-21 12:54:58 -05:00
Brian Glod
b98350bb3e ip: nuand: Improve time_tamer|compare_time timing closure
The compare_time <= timestamp comparison is problematic for timing
closure in some designs because it takes much longer than a simple
equivalency check. The less than portion is (probably) not needed.
2017-12-21 12:54:57 -05:00
Brian Glod
a0634c8794 bladerf-micro: pins: Update pinout for proto2
- Rename: exp_present_n --> exp_present
- Add: exp_clock_req
- Add: exp_clock_en
- Included clocks in exp_gpio[*] nomenclature, so exp_gpio[14:28] were
  adjusted to exp_gpio[14:31]
2017-12-21 12:54:57 -05:00
Ryan Tucker
001366f266 hdl/synchronizer: explicitly identify this as a synchronizer 2017-12-21 12:54:57 -05:00
Brian Glod
ce7a8f89a2 bladerf-micro: hdl: Add sync to rxtrig:signal_out
This signal was crossing from the 80 MHz domain to the rx_clock domain
directly and causing timing violations.
2017-12-21 12:54:57 -05:00
Brian Glod
5875cc55b1 bladerf-micro: sdc: JTAG constraints 2017-12-21 12:54:57 -05:00
Brian Glod
49148c1c57 bladerf-micro: sdc: Constrain OpenCores I2C 2017-12-21 12:54:57 -05:00
Brian Glod
ada82a00a9 bladerf-micro: sdc: Add ADF400x SPI constraints 2017-12-21 12:54:57 -05:00
Robert Ghilduta
a5417282f6 Add power mux control pins fpga-dev_pins_proto1 2017-12-21 12:54:57 -05:00
Brian Glod
43b425d3dd bladerf-micro: sdc: Cleanup timing constraints
- Added false path to slow/asynchronous outputs:
   - ps_sync_*
   - tx_bias_en, rx_bias_en
   - fx3_uart_cts
- Deleted obsolete constraint (signals no longer exist)
   - iq_correction:*
2017-12-21 12:54:57 -05:00
Brian Glod
3a62096dfb bladerf-micro: hdl: Connect expansion GPIO
Renamed exp_clock_in and exp_clock_out to exp_gpio[31:28].
2017-12-21 12:54:57 -05:00
Brian Glod
3744027262 common: nios: Move IQ Correction to bladeRF1
Not needed in bladeRF2, so moved from common to bladeRF1-only.

The #ifdefs are supposed to be temporary until the code can be
refactored for multi-platform support.
2017-12-21 12:54:57 -05:00
Brian Glod
2437703b85 bladerf: nios: Temporary fix for ADI and bladeRF1
This gets bladeRF1 to build.

TODO: fix NIOS code to support multiple platforms without using
      gratuitous #ifdefs!
2017-12-21 12:54:57 -05:00
Brian Glod
d48e59066f build: Change flow from 'none' to 'gen'
More accurate description of what the flow is. The 'gen' flow only
generates the Quartus projects and other dependencies. It does not
perform synthesis, fitting, etc. As a result 'gen' is a more appropriate
flow name than 'none'.
2017-12-21 12:54:57 -05:00
Ryan Tucker
ce56a40fc3 fix inferred latch on tx_meta_fifo_data 2017-12-21 12:54:57 -05:00
Vanya A. Sergeev
c2ac55c6c2 libbladeRF/bladerf2: enable ad3961 tx tuning 2017-12-21 12:54:57 -05:00