
Chapter 16: Detailed Example Design (EDK format)
drivers/avb_v2_04_a/src
The driver source (src) directory contains the
Table
Name
Description
<project_dir>/<component_name>/MyProcessorIPLib/drivers/ | |
| avb_v2_04/src |
|
|
Makefile | Makefile to compile the drivers; used by Platform Studio. |
|
|
xavb.h | Main header file for the XAvb driver. The file provides the |
| constants, type definitions and function templates which are |
| required to initialize and run the IEEE802.1AS Precise Timing |
| Protocol (PTP). This defines the level 1 device driver for the |
| Ethernet AVB Endpoint core. |
|
|
xavb_g.c | Contains a configuration structure that holds all the |
| configuration values required, per single instance, of the device |
| driver. |
|
|
xavb.c | Provides the |
| Endpoint level 1 device driver. |
|
|
xavb_ptp_packets.c | Provides the functions which are required for the creation of PTP |
| frames for transmission and for the decode of received PTP |
| frames. |
|
|
xavb_ptp_bmca.c | Provides the functions which are required for the PTP Best |
| Master Clock Algorithm (BMCA). |
|
|
xavb_rtc_sync.c | Provides the functions which are required to synchronize the |
| local version of the Real Time Counter (RTC), when operating as |
| a slave, to that of the network clock master. |
|
|
xavb_hw.h | Contains all the constant definitions and the bare minimum of |
| functions / function templates which are required for register |
| read/write access. This defines the |
| the Ethernet AVB Endpoint core. |
|
|
xavb_hw.c | This file partners the xavb_hw.h header file and implements the |
| functions for which avb_hw.h contained a template. |
|
|
Back to Top |
|
164 | www.xilinx.com | Ethernet AVB Endpoint User Guide |
|
| UG492 July 23, 2010 |