53 #include <hls_stream.h>
76 identifier(i),
type(
type), requestedIpAddress(0) {}
78 identifier(i),
type(
type), requestedIpAddress(ip) {}
97 static const ap_uint<32> MAGIC_COOKIE = 0x63538263;
100 static const ap_uint<32> TIME_US = 200;
101 static const ap_uint<32> TIME_5S = 100;
102 static const ap_uint<32> TIME_30S = 300;
104 static const ap_uint<32> TIME_US = 20000;
105 static const ap_uint<32> TIME_5S = 750750750;
106 static const ap_uint<32> TIME_30S = 0xFFFFFFFF;
130 UdpWord(ap_uint<64> tdata, ap_uint<8> tkeep, ap_uint<1> tlast) :
131 tdata(tdata), tkeep(tkeep), tlast(tlast) {}
139 src(src), dst(dst) {}
159 static const SigOpn SIG_OPEN = 1;
169 ap_uint<1> &piMMIO_This_Enable,
170 ap_uint<48> &piMMIO_This_MacAddress,
175 ap_uint<32> &poTHIS_Nts_IpAddress,
180 stream<AxisAck> &siUDMX_This_OpnAck,
181 stream<UdpPort> &soTHIS_Udmx_OpnReq,
186 stream<UdpWord> &siUDMX_This_Data,
187 stream<UdpMeta> &siUDMX_This_Meta,
188 stream<UdpWord> &soTHIS_Udmx_Data,
189 stream<UdpMeta> &soTHIS_Udmx_Meta,
190 stream<UdpPLen> &soTHIS_Udmx_PLen
void dhcp_client(ap_uint< 1 > &piMMIO_This_Enable, ap_uint< 48 > &piMMIO_This_MacAddress, ap_uint< 32 > &poTHIS_Nts_IpAddress, stream< AxisAck > &siUDMX_This_OpnAck, stream< UdpPort > &soTHIS_Udmx_OpnReq, stream< UdpWord > &siUDMX_This_Data, stream< UdpMeta > &siUDMX_This_Meta, stream< UdpWord > &soTHIS_Udmx_Data, stream< UdpMeta > &soTHIS_Udmx_Meta, stream< UdpPLen > &soTHIS_Udmx_PLen)
Main process of the DHCP-client.
SocketAddr(ap_uint< 32 > addr, ap_uint< 16 > port)
UdpWord(ap_uint< 64 > tdata, ap_uint< 8 > tkeep, ap_uint< 1 > tlast)