TwiceAsNice  2019-02-18
Classes | Functions | Variables
bcuRegressionTest.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <boost/cstdint.hpp>
#include <boost/make_shared.hpp>
#include "Microgate/Mgp/BcuCommand.h"
#include "Microgate/Mgp/BcuWriteCommand.h"
#include "Microgate/Mgp/BcuReadCommand.h"
#include "Microgate/Mgp/BcuReply.h"
#include "Microgate/Mgp/MgpHeader.h"
#include "Microgate/Mgp/OpCode.h"
#include "Microgate/Mgp/UdpConnectionImpl.h"
Include dependency graph for bcuRegressionTest.cpp:

Classes

struct  Fixture
 

Functions

const std::string BCU_IPV4_ADDRESS ("192.168.0.90")
 
 BOOST_AUTO_TEST_CASE (readAndWriteSingleDwordToDspMemory)
 
 BOOST_AUTO_TEST_CASE (readAndWriteMultipleDwordsToDspMemory)
 
 BOOST_AUTO_TEST_CASE (writeSingleDwordToSramMemory)
 
 BOOST_AUTO_TEST_CASE (readAndWriteMultipleDwordsToSdramMemory)
 
 BOOST_AUTO_TEST_CASE (readAndWriteSingleDwordToCcdInterface)
 
 BOOST_AUTO_TEST_CASE (sendInvalidCommand)
 
 BOOST_AUTO_TEST_CASE (writeSingleDwordToLutMemory)
 
 BOOST_AUTO_TEST_SUITE_END ()
 

Variables

const unsigned BCU_UDP_PORT = 10000
 
const int32_t sc_NumSH = 0x1028
 
const int32_t CCDI_FRAME_FREQUENCY = 1
 
const int32_t BEGIN_OF_DSP_BANK_1 = 0x8000
 

Function Documentation

◆ BCU_IPV4_ADDRESS()

const std::string BCU_IPV4_ADDRESS ( "192.168.0.90"  )

◆ BOOST_AUTO_TEST_CASE() [1/7]

BOOST_AUTO_TEST_CASE ( readAndWriteSingleDwordToDspMemory  )

◆ BOOST_AUTO_TEST_CASE() [2/7]

BOOST_AUTO_TEST_CASE ( readAndWriteMultipleDwordsToDspMemory  )

◆ BOOST_AUTO_TEST_CASE() [3/7]

BOOST_AUTO_TEST_CASE ( writeSingleDwordToSramMemory  )

◆ BOOST_AUTO_TEST_CASE() [4/7]

BOOST_AUTO_TEST_CASE ( readAndWriteMultipleDwordsToSdramMemory  )

◆ BOOST_AUTO_TEST_CASE() [5/7]

BOOST_AUTO_TEST_CASE ( readAndWriteSingleDwordToCcdInterface  )

◆ BOOST_AUTO_TEST_CASE() [6/7]

BOOST_AUTO_TEST_CASE ( sendInvalidCommand  )

◆ BOOST_AUTO_TEST_CASE() [7/7]

BOOST_AUTO_TEST_CASE ( writeSingleDwordToLutMemory  )

◆ BOOST_AUTO_TEST_SUITE_END()

BOOST_AUTO_TEST_SUITE_END ( )

Variable Documentation

◆ BCU_UDP_PORT

const unsigned BCU_UDP_PORT = 10000

◆ BEGIN_OF_DSP_BANK_1

const int32_t BEGIN_OF_DSP_BANK_1 = 0x8000

◆ CCDI_FRAME_FREQUENCY

const int32_t CCDI_FRAME_FREQUENCY = 1

◆ sc_NumSH

const int32_t sc_NumSH = 0x1028