|
@ -16,6 +16,7 @@ |
|
|
#include "register/builtInTest/BuiltInTest.h" |
|
|
#include "register/builtInTest/BuiltInTest.h" |
|
|
#include "register/beamFormer/BeamFormer.h" |
|
|
#include "register/beamFormer/BeamFormer.h" |
|
|
#include "register/scenPlayer/ScenPlayer.h" |
|
|
#include "register/scenPlayer/ScenPlayer.h" |
|
|
|
|
|
#include "register/spiFlash/SpiFlash.h" |
|
|
#include "register/bpiFlash/BpiFlash.h" |
|
|
#include "register/bpiFlash/BpiFlash.h" |
|
|
#include "register/emulator/Emulator.h" |
|
|
#include "register/emulator/Emulator.h" |
|
|
#include "register/debug/Debug.h" |
|
|
#include "register/debug/Debug.h" |
|
@ -59,6 +60,7 @@ class TrxBoard : public QObject |
|
|
Q_OBJECT |
|
|
Q_OBJECT |
|
|
|
|
|
|
|
|
private: |
|
|
private: |
|
|
|
|
|
QByteArray bin; |
|
|
QVector<quint8> _swapVec; |
|
|
QVector<quint8> _swapVec; |
|
|
QVector<quint32> _unsignedQntzrVec; |
|
|
QVector<quint32> _unsignedQntzrVec; |
|
|
QList<quint32> _unsignedQntzrList; |
|
|
QList<quint32> _unsignedQntzrList; |
|
@ -93,6 +95,7 @@ private: |
|
|
Debug* _debugSlave1; |
|
|
Debug* _debugSlave1; |
|
|
Debug* _debugSlave2; |
|
|
Debug* _debugSlave2; |
|
|
BpiFlash* _bpiFlash; |
|
|
BpiFlash* _bpiFlash; |
|
|
|
|
|
SpiFlash* _spiFlash; |
|
|
Afe* _afeSlave0; |
|
|
Afe* _afeSlave0; |
|
|
Afe* _afeSlave1; |
|
|
Afe* _afeSlave1; |
|
|
Afe* _afeSlave2; |
|
|
Afe* _afeSlave2; |
|
@ -130,6 +133,7 @@ private: |
|
|
QVector<float> startLpfWeightLut; |
|
|
QVector<float> startLpfWeightLut; |
|
|
QVector<float> freqLut; |
|
|
QVector<float> freqLut; |
|
|
QVector<float> dtgcLut; |
|
|
QVector<float> dtgcLut; |
|
|
|
|
|
QList<quint32> dualPathWeight; |
|
|
ReceiverConfiguration* configLut; |
|
|
ReceiverConfiguration* configLut; |
|
|
FreqPoint* freqPoint; |
|
|
FreqPoint* freqPoint; |
|
|
QVector<QVector<float> > blendWeight; |
|
|
QVector<QVector<float> > blendWeight; |
|
@ -287,12 +291,17 @@ public: |
|
|
void mcsProgram(QString path); |
|
|
void mcsProgram(QString path); |
|
|
void mcsVerify(QString path) const; |
|
|
void mcsVerify(QString path) const; |
|
|
|
|
|
|
|
|
|
|
|
//////////////////////////////// SPI Flash API ////////////////////////////////
|
|
|
|
|
|
void spiFlashProgram(QString path); |
|
|
|
|
|
void spiFlashRead(QString path); |
|
|
|
|
|
void spiFlashVerify(); |
|
|
|
|
|
|
|
|
//////////////////////////////// Miscellaneous API ////////////////////////////
|
|
|
//////////////////////////////// Miscellaneous API ////////////////////////////
|
|
|
void getTrxStatus(StatusVec* status) const; |
|
|
void getTrxStatus(StatusVec* status) const; |
|
|
void getFpgasCodeVersion(FpgaCodeVersion* version) const; |
|
|
void getFpgasCodeVersion(FpgaCodeVersion* version) const; |
|
|
void sramParityClear(); |
|
|
void sramParityClear(); |
|
|
quint32 getFrameLostCounter(void) const; |
|
|
quint32 getFrameLostCounter(void) const; |
|
|
void elementActiveEnable(eActiveElements &slaveElements, quint64 &elements) const; |
|
|
void elementActiveEnable(eActiveElements& slaveElements, quint64& elements) const; |
|
|
|
|
|
|
|
|
////////////////////////////////// Logger API /////////////////////////////////
|
|
|
////////////////////////////////// Logger API /////////////////////////////////
|
|
|
void adcCaptureConfig(captureConfig& capCfg) const; |
|
|
void adcCaptureConfig(captureConfig& capCfg) const; |
|
|