Software programming interface -1 – Altera Triple Speed Ethernet MegaCore Function User Manual

Page 6

Advertising
background image

Test Flow.....................................................................................................................................................10-3
Simulation Model......................................................................................................................................10-4

Generate the Simulation Model...................................................................................................10-4

Simulate the IP Core......................................................................................................................10-4

Simulation Model Files.................................................................................................................10-5

Software Programming Interface.....................................................................11-1

Driver Architecture...................................................................................................................................11-1

Directory Structure....................................................................................................................................11-2

PHY Definition .........................................................................................................................................11-2

Using Multiple SG-DMA Descriptors....................................................................................................11-4

Using Jumbo Frames.................................................................................................................................11-4

API Functions.............................................................................................................................................11-5

alt_tse_mac_get_common_speed().............................................................................................11-5

alt_tse_mac_set_common_speed().............................................................................................11-5

alt_tse_phy_add_profile()............................................................................................................11-6
alt_tse_system_add_sys().............................................................................................................11-6
triple_speed_ethernet_init().........................................................................................................11-7
tse_mac_close()..............................................................................................................................11-7
tse_mac_raw_send()......................................................................................................................11-8
tse_mac_setGMII mode().............................................................................................................11-9
tse_mac_setMIImode().................................................................................................................11-9
tse_mac_SwReset()........................................................................................................................11-9

Constants..................................................................................................................................................11-10

Ethernet Frame Format......................................................................................A-1

Basic Frame Format....................................................................................................................................A-1
VLAN and Stacked VLAN Frame Format..............................................................................................A-1
Pause Frame Format...................................................................................................................................A-3

Pause Frame Generation................................................................................................................A-3

Simulation Parameters.......................................................................................B-1

Functionality Configuration Parameters.................................................................................................B-1
Test Configuration Parameters.................................................................................................................B-3

Time-of-Day (ToD) Clock..................................................................................C-1

ToD Clock Features....................................................................................................................................C-1

Altera Corporation

Triple-Speed Ethernet MegaCore Function User Guide

TOC-6

Advertising