diff options
author | Tom Tsou <tom.tsou@ettus.com> | 2017-06-03 18:31:48 -0700 |
---|---|---|
committer | Tom Tsou <tom.tsou@ettus.com> | 2017-06-14 10:15:04 -0700 |
commit | b79895c9990c77f7aa5c72ca3795e9d0d8443dfb (patch) | |
tree | be7b53c67e18019e7619a7288bca3033580fcb6e /Transceiver52M/sigProcLib.h | |
parent | 980525c8a9cc620314aa36e566d30e0592f280d5 (diff) |
siggen: Add osmo-siggen for GSM/EDGE test signal generationttsou/siggen
* Adds 4 and 1 pulse Laurent GMSK modulators
* Adds NCO based modulator
* Adds synchronization and frequency burst generators
* Adds GPIO frame trigger on GPIO-0
* Tested on USRP B210 only
* Requires C++14 support
B210 GPIO Pin Map
J504
---------
fp_gpio<0> | 1 | 2 | fp_gpio<1>
---------
fp_gpio<2> | 3 | 4 | fp_gpio<3>
---------
fp_gpio<4> | 5 | 6 | fp_gpio<5>
---------
fp_gpio<6> | 7 | 8 | fp_gpio<7>
---------
gnd | 9 | 10| gnd
---------
Change-Id: I891725d7f0cfa97c79e64f978a60dc11a206195c
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
Diffstat (limited to 'Transceiver52M/sigProcLib.h')
-rw-r--r-- | Transceiver52M/sigProcLib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Transceiver52M/sigProcLib.h b/Transceiver52M/sigProcLib.h index 9bc7e10..e3aa932 100644 --- a/Transceiver52M/sigProcLib.h +++ b/Transceiver52M/sigProcLib.h @@ -65,12 +65,18 @@ signalVector *modulateBurst(const BitVector &wBurst, int guardPeriodLength, int sps, bool emptyPulse = false); +signalVector *modulateBurstLaurent4(const BitVector &wBurst); +signalVector *modulateBurstLaurent2(const BitVector &wBurst); +signalVector *modulateBurstLaurent1(const BitVector &wBurst); +signalVector *modulateBurstNCO(const BitVector &wBurst); + /** 8-PSK modulate a burst of bits */ signalVector *modulateEdgeBurst(const BitVector &bits, int sps, bool emptyPulse = false); /** Generate a EDGE burst with random payload - 4 SPS (625 samples) only */ signalVector *generateEdgeBurst(int tsc); +signalVector *shapeEdgeBurst(const signalVector &symbols); /** Generate an empty burst - 4 or 1 SPS */ signalVector *generateEmptyBurst(int sps, int tn); |