Introduction
-------------
This text document accompanies the RGMII EMAC0 CCS test case for PG2.1 DM814X EVM. It 
provides a brief of the methodology of the test and the procedure for executing 
the same.

Overview
---------
This CCS test application validates the EMAC0 for its ability to perform
write access; read access and data TX/RX ability. The test application writes
a known pattern into the TX Buffer and then reads back and verifies the same via a external loopback. 
The known pattern written into the memory is the incremental hexadecimal numbers. After 
transferring the entire memory area, this application reads them back and validates
the data read. If the data read does not match the expected pattern, this test
is declared failed. It is declared pass otherwise.


Procudure
----------
This test application assumes the EMAC controller initialization as well as all
the PLL initialization is already carried out by the GEL scripts and BOOT Code. At the minimum
the following GEL scripts are to be executed.
	1. PG 2.x DM814X 				--> ALL_ADPLL_CLOCKS_ENABLE_API
	2. PG 2.x DM814X 				--> RMII_PinMux_setup
	3. DM814X System Initialization  --> I2C0Enable
	4. DM814X System Initialization  --> I2C2Enable

Then load "BB_019_rgmii_emac.out" and run.


