| 
						
						
							
								
							
						
						
					 | 
					@ -84,18 +84,18 @@ void TrxBoard::setFpgaOffset() | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    _fpgaOffset << 0x100000 << 0x200000 << 0x300000; | 
					 | 
					 | 
					    _fpgaOffset << 0x100000 << 0x200000 << 0x300000; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					} | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					QList<quint32> TrxBoard::signedVector2unsignedList (QVector<qint32>& sgnVec) | 
					 | 
					 | 
					//QList<quint32> TrxBoard::signedVector2unsignedList (QVector<qint32>& sgnVec)
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					{ | 
					 | 
					 | 
					//{
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _unsignedQntzrList.clear(); | 
					 | 
					 | 
					//    _unsignedQntzrList.clear();
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					//    std::list<uint> _usgnList (sgnVec.begin(), sgnVec.end());
 | 
					 | 
					 | 
					////    std::list<uint> _usgnList (sgnVec.begin(), sgnVec.end());
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					//    _unsignedQntzrList.fromStdList(_usgnList);
 | 
					 | 
					 | 
					////    _unsignedQntzrList.fromStdList(_usgnList);
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					    foreach (auto i, sgnVec) | 
					 | 
					 | 
					//    foreach (auto i, sgnVec)
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					    { | 
					 | 
					 | 
					//    {
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _unsignedQntzrList.push_back(static_cast<quint32>(i)); | 
					 | 
					 | 
					//    _unsignedQntzrList.push_back(static_cast<quint32>(i));
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					    } | 
					 | 
					 | 
					//    }
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					    return _unsignedQntzrList; | 
					 | 
					 | 
					//    return _unsignedQntzrList;
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					} | 
					 | 
					 | 
					//}
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					TrxBoard::TrxBoard() : _offsetSlave0(0), _offsetSlave1(0x400000), _offsetSlave2(0x800000) | 
					 | 
					 | 
					TrxBoard::TrxBoard() : _offsetSlave0(0), _offsetSlave1(0x400000), _offsetSlave2(0x800000) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					{ | 
					 | 
					 | 
					{ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -293,8 +293,8 @@ void TrxBoard::setScenario (ScenGenHardwareOutput* scenParams) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						QList<quint32> y; | 
					 | 
					 | 
						QList<quint32> y; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						QList<quint32> z; | 
					 | 
					 | 
						QList<quint32> z; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _signedQntzrVec.clear(); | 
					 | 
					 | 
					    //_signedQntzrVec.clear();
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _signedQntzrVec = Calculation::qntzr(scenParams->hwRegister->elementPosition->xPosition, | 
					 | 
					 | 
					    _unsignedQntzrVec = Calculation::qntzr(scenParams->hwRegister->elementPosition->xPosition, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
															   1, | 
					 | 
					 | 
															   1, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   18, | 
					 | 
					 | 
															   18, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   0, | 
					 | 
					 | 
															   0, | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -302,11 +302,10 @@ void TrxBoard::setScenario (ScenGenHardwareOutput* scenParams) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   true, | 
					 | 
					 | 
															   true, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   true, | 
					 | 
					 | 
															   true, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   true); | 
					 | 
					 | 
															   true); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    //QList<quint32> xPosQ = _unsignedQntzrVec.toList();
 | 
					 | 
					 | 
					    QList<quint32> xPosQ = _unsignedQntzrVec.toList(); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					    QList<quint32> xPosQ = signedVector2unsignedList(_signedQntzrVec); | 
					 | 
					 | 
					    //QList<quint32> xPosQ = signedVector2unsignedList(_signedQntzrVec);
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _signedQntzrVec.clear(); | 
					 | 
					 | 
					    _unsignedQntzrVec = Calculation::qntzr(scenParams->hwRegister->elementPosition->yPosition, | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					    _signedQntzrVec = Calculation::qntzr(scenParams->hwRegister->elementPosition->yPosition, | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
															   1, | 
					 | 
					 | 
															   1, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   18, | 
					 | 
					 | 
															   18, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   0, | 
					 | 
					 | 
															   0, | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -314,10 +313,9 @@ void TrxBoard::setScenario (ScenGenHardwareOutput* scenParams) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   true, | 
					 | 
					 | 
															   true, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   true, | 
					 | 
					 | 
															   true, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   true); | 
					 | 
					 | 
															   true); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    QList<quint32> yPosQ = signedVector2unsignedList(_signedQntzrVec); | 
					 | 
					 | 
					    QList<quint32> yPosQ = _unsignedQntzrVec.toList(); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _signedQntzrVec.clear(); | 
					 | 
					 | 
					    _unsignedQntzrVec = Calculation::qntzr(scenParams->hwRegister->elementPosition->zPosition, | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					    _signedQntzrVec = Calculation::qntzr(scenParams->hwRegister->elementPosition->zPosition, | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
															   0, | 
					 | 
					 | 
															   0, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   17, | 
					 | 
					 | 
															   17, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   0, | 
					 | 
					 | 
															   0, | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -325,7 +323,7 @@ void TrxBoard::setScenario (ScenGenHardwareOutput* scenParams) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   true, | 
					 | 
					 | 
															   true, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   true, | 
					 | 
					 | 
															   true, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															   true); | 
					 | 
					 | 
															   true); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    QList<quint32> zPosQ = signedVector2unsignedList(_signedQntzrVec); | 
					 | 
					 | 
					    QList<quint32> zPosQ = _unsignedQntzrVec.toList(); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						for(quint8 i = 0; i < 3; i++) | 
					 | 
					 | 
						for(quint8 i = 0; i < 3; i++) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						{ | 
					 | 
					 | 
						{ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -397,24 +395,22 @@ void TrxBoard::setScenario (ScenGenHardwareOutput* scenParams) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						this->_dsp->receiverConfigurationLut(scenParams->hwRegister->receiverConfigTypeNumber, | 
					 | 
					 | 
						this->_dsp->receiverConfigurationLut(scenParams->hwRegister->receiverConfigTypeNumber, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
															 scenParams->hwRegister->configLut); | 
					 | 
					 | 
															 scenParams->hwRegister->configLut); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _signedQntzrVec.clear(); | 
					 | 
					 | 
					    _unsignedQntzrVec = Calculation::qntzr(scenParams->hwRegister->freqLut, 0, 24, 0, 0, true); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _signedQntzrVec = Calculation::qntzr(scenParams->hwRegister->freqLut, 0, 24, 0, 0, true); | 
					 | 
					 | 
					    QList<quint32> freqLutQ = _unsignedQntzrVec.toList(); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					    QList<quint32> freqLutQ = signedVector2unsignedList(_signedQntzrVec); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
						this->_dsp->frequencyLut(freqLutQ); | 
					 | 
					 | 
						this->_dsp->frequencyLut(freqLutQ); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _signedQntzrVec.clear(); | 
					 | 
					 | 
					    _unsignedQntzrVec = Calculation::qntzr(scenParams->hwRegister->dtgcLut, 0, 12, 8, 0, true, false); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _signedQntzrVec = Calculation::qntzr(scenParams->hwRegister->dtgcLut, 0, 12, 8, 0, true, false); | 
					 | 
					 | 
					    QList<quint32> dtgcLutQ = _unsignedQntzrVec.toList(); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					    QList<quint32> dtgcLutQ = signedVector2unsignedList(_signedQntzrVec); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
						this->_dsp->dtgcLut(dtgcLutQ); | 
					 | 
					 | 
						this->_dsp->dtgcLut(dtgcLutQ); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						QList<quint32> temp; | 
					 | 
					 | 
						QList<quint32> temp; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						QList<QList<quint32> > blendWeightQ; | 
					 | 
					 | 
						QList<QList<quint32> > blendWeightQ; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _signedQntzrVec.clear(); | 
					 | 
					 | 
					    //_signedQntzrVec.clear();
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
						foreach(auto vec, scenParams->hwRegister->blendWeight) | 
					 | 
					 | 
						foreach(auto vec, scenParams->hwRegister->blendWeight) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						{ | 
					 | 
					 | 
						{ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							temp.clear(); | 
					 | 
					 | 
							temp.clear(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        _signedQntzrVec = Calculation::qntzr(vec, 0, 9, 8, 0, true, false, true); | 
					 | 
					 | 
					        _unsignedQntzrVec = Calculation::qntzr(vec, 0, 9, 8, 0, true, false, true); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        temp = signedVector2unsignedList(_signedQntzrVec); | 
					 | 
					 | 
					        temp = _unsignedQntzrVec.toList(); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
							blendWeightQ.push_back(temp); | 
					 | 
					 | 
							blendWeightQ.push_back(temp); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						} | 
					 | 
					 | 
						} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						this->_dsp->blendWeight(blendWeightQ); | 
					 | 
					 | 
						this->_dsp->blendWeight(blendWeightQ); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -458,9 +454,8 @@ void TrxBoard::setScenario (ScenGenHardwareOutput* scenParams) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					void TrxBoard::setLineFilterCoefficient(QVector<float>& lineFilterLut) | 
					 | 
					 | 
					void TrxBoard::setLineFilterCoefficient(QVector<float>& lineFilterLut) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					{ | 
					 | 
					 | 
					{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _signedQntzrVec.clear(); | 
					 | 
					 | 
					    _unsignedQntzrVec = Calculation::qntzr(lineFilterLut, 0, 9, 8, 0, true, false); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _signedQntzrVec = Calculation::qntzr(lineFilterLut, 0, 9, 8, 0, true, false); | 
					 | 
					 | 
					    QList<quint32> lineFilterLutQ = _unsignedQntzrVec.toList(); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					    QList<quint32> lineFilterLutQ = signedVector2unsignedList(_signedQntzrVec); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
						this->_dsp->lineFilterCoefficient(lineFilterLutQ); | 
					 | 
					 | 
						this->_dsp->lineFilterCoefficient(lineFilterLutQ); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					} | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -497,9 +492,8 @@ void TrxBoard::setMetaData(const QByteArray metaData) const | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					void TrxBoard::setDtgcLut(QVector<float>& dtgcLut) | 
					 | 
					 | 
					void TrxBoard::setDtgcLut(QVector<float>& dtgcLut) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					{ | 
					 | 
					 | 
					{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _signedQntzrVec.clear(); | 
					 | 
					 | 
					    _unsignedQntzrVec = Calculation::qntzr(dtgcLut, 0, 12, 8, 0, true, false); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					    _signedQntzrVec = Calculation::qntzr(dtgcLut, 0, 12, 8, 0, true, false); | 
					 | 
					 | 
					    QList<quint32> dtgcLutQ = _unsignedQntzrVec.toList(); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					    QList<quint32> dtgcLutQ = signedVector2unsignedList(_signedQntzrVec); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
						this->_dsp->dtgcLut(dtgcLutQ); | 
					 | 
					 | 
						this->_dsp->dtgcLut(dtgcLutQ); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					} | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |