112855Sgabeblack@google.com 212855Sgabeblack@google.comTLM-2.0 unit tests 312855Sgabeblack@google.com================== 412855Sgabeblack@google.com 512855Sgabeblack@google.comDir: tests/tlm/ 612855Sgabeblack@google.comSubDirs: 712855Sgabeblack@google.com bus/ 812855Sgabeblack@google.com bus_dmi/ 912855Sgabeblack@google.com cancel_all/ 1012855Sgabeblack@google.com common/ 1112855Sgabeblack@google.com endian_conv/ 1212855Sgabeblack@google.com multi_sockets/ 1312855Sgabeblack@google.com nb2b_adapter/ 1412855Sgabeblack@google.com p2p/ 1512855Sgabeblack@google.com static_extensions/ 1612855Sgabeblack@google.com update_original/ 1712855Sgabeblack@google.com 1812855Sgabeblack@google.comFiles: README.txt 1912855Sgabeblack@google.com 2012855Sgabeblack@google.com 2112855Sgabeblack@google.comComments 2212855Sgabeblack@google.com======== 2312855Sgabeblack@google.com 2412855Sgabeblack@google.comRunning the tests: 2512855Sgabeblack@google.com------------------ 2612855Sgabeblack@google.com 2712855Sgabeblack@google.comSee the main README and README_windows.txt files. 2812855Sgabeblack@google.com 2912855Sgabeblack@google.com 3012855Sgabeblack@google.comThe tests: 3112855Sgabeblack@google.com---------- 3212855Sgabeblack@google.com 3312855Sgabeblack@google.comAll tests are build using a set of models that can be found in the subdirectory 3412855Sgabeblack@google.comcommon/include/models. For a description of the models see the README.txt in 3512855Sgabeblack@google.comthat subdirectory. 3612855Sgabeblack@google.com 3712855Sgabeblack@google.comThe test themselves can be found in the following subdirectories: 3812855Sgabeblack@google.combus/ : 3912855Sgabeblack@google.com test system using a TLM2 compliant AT bus model and a combination of 4012855Sgabeblack@google.com LT and AT targets and initiators, with and without temporal decoupling. 4112855Sgabeblack@google.com 4212855Sgabeblack@google.combus_dmi/ : 4312855Sgabeblack@google.com test system using a similar system as in the bus/ test but now with DMI 4412855Sgabeblack@google.com support added for the LT initiators and targets. 4512855Sgabeblack@google.com 4612855Sgabeblack@google.comcancel_all/ : 4712855Sgabeblack@google.com Tests the cancel_all() methods of the two PEQs, peq_with_cb_and_phase and peq_with_get. 4812855Sgabeblack@google.com Along the way, it also tests the basic operation of each PEQ. 4912855Sgabeblack@google.com 5012855Sgabeblack@google.comendian_conv/ : 5112855Sgabeblack@google.com unit test for the endianness conversion ftions, there is only a build for 5212855Sgabeblack@google.com linux provided, the C++ test performs a single conversion, there is a 5312855Sgabeblack@google.com python script using the program to do a more extensive test 5412855Sgabeblack@google.com 5512855Sgabeblack@google.commulti_sockets/ : 5612855Sgabeblack@google.com test system using a TLM2 compliant AT busmodel using a single socket to 5712855Sgabeblack@google.com bind all targets and initiators to, in combination with LT and AT 5812855Sgabeblack@google.com initiators and targets. This test also uses instance specific extentions 5912855Sgabeblack@google.com in the generic payload 6012855Sgabeblack@google.com 6112855Sgabeblack@google.comnb2b_adapter/ : 6212855Sgabeblack@google.com Primarily a regression test for a bug in the nb2b adapter of the simple_target_socket. 6312855Sgabeblack@google.com Tests the operation of the nb2b adapter, and also exercises the peq_with_cb_and_phase 6412855Sgabeblack@google.com and the instance_specific_extension. 6512855Sgabeblack@google.com 6612855Sgabeblack@google.comp2p/ : 6712855Sgabeblack@google.com BaseSocketLT/ : 6812855Sgabeblack@google.com simple point to point test for LT initiator and target 6912855Sgabeblack@google.com CoreDecoupling/ 7012855Sgabeblack@google.com simple test for using the LT initiator with temporal decoupling 7112855Sgabeblack@google.com EndEventLT/ 7212855Sgabeblack@google.com ?? 7312855Sgabeblack@google.com HierarchicalSocket/ 7412855Sgabeblack@google.com tests sockets on hierachical modules 7512855Sgabeblack@google.com RegisterSocketProcessLT/ 7612855Sgabeblack@google.com simple test for initiator and target using callback registry in sockets 7712855Sgabeblack@google.com SimpleAT/ 7812855Sgabeblack@google.com simple point to point test for AT initiator and target using GP 7912855Sgabeblack@google.com AT phases and TLM_ACCEPTED 8012855Sgabeblack@google.com SimpleAT_TA/ 8112855Sgabeblack@google.com simple point to point test for AT initiator and target using GP 8212855Sgabeblack@google.com AT phases and TLM_UPDATED 8312855Sgabeblack@google.com 8412855Sgabeblack@google.comstatic_extentions/ : 8512855Sgabeblack@google.com contains 3 unit tests to verify the GP extention mechanism 8612855Sgabeblack@google.com 8712855Sgabeblack@google.comupdate_original/ : 8812855Sgabeblack@google.com Tests the deep_copy_from() and update_original_from() methods of tlm_generic_payload. 8912855Sgabeblack@google.com Along the way, it also tests the use of byte enables for read and write commands. 90