URL
https://opencores.org/ocsvn/xenie/xenie/trunk
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
4 |
DFC |
/******************************************************************************
|
2 |
|
|
**
|
3 |
|
|
** (C) Copyright 2017 DFC Design, s.r.o., Brno, Czech Republic
|
4 |
|
|
** Author: Marek Kvas (m.kvas@dspfpga.com)
|
5 |
|
|
**
|
6 |
|
|
****************************************************************************
|
7 |
|
|
**
|
8 |
|
|
** This file is part of Xenia Ethernet Example project.
|
9 |
|
|
**
|
10 |
|
|
** Xenia Ethernet Example project is free software: you can
|
11 |
|
|
** redistribute it and/or modify it under the terms of
|
12 |
|
|
** the GNU Lesser General Public License as published by the Free
|
13 |
|
|
** Software Foundation, either version 3 of the License, or
|
14 |
|
|
** (at your option) any later version.
|
15 |
|
|
**
|
16 |
|
|
** Xenia Ethernet Example project is distributed in the hope that
|
17 |
|
|
** it will be useful, but WITHOUT ANY WARRANTY; without even
|
18 |
|
|
** the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
19 |
|
|
** PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
20 |
|
|
** for more details.
|
21 |
|
|
**
|
22 |
|
|
** You should have received a copy of the GNU Lesser General Public
|
23 |
|
|
** License along with Xenia Ethernet Example project. If not,
|
24 |
|
|
** see <http://www.gnu.org/licenses/>.
|
25 |
|
|
****************************************************************************
|
26 |
|
|
*/
|
27 |
|
|
|
28 |
|
|
#ifndef __UDPIP_RXAUI_H__
|
29 |
|
|
#define __UDPIP_RXAUI_H__
|
30 |
|
|
|
31 |
|
|
enum udp_ip_core_speed {
|
32 |
|
|
spd_10G = 0,
|
33 |
|
|
spd_5G = 1,
|
34 |
|
|
spd_2G5 = 2,
|
35 |
|
|
spd_1G = 3,
|
36 |
|
|
spd_100M = 4,
|
37 |
|
|
spd_10M = 5
|
38 |
|
|
};
|
39 |
|
|
|
40 |
|
|
void rxaui_core_reset();
|
41 |
|
|
void udp_ip_core_reset(int rst);
|
42 |
|
|
int udpip_core_set_speed(uint16_t phy_speed);
|
43 |
|
|
void udpip_core_set_host_info(u8* mac, u32 ip, u32 nemask);
|
44 |
|
|
|
45 |
|
|
#endif /* __UDPIP_RXAUI_H__ */
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.