Altera_Forum
Honored Contributor
15 years agoUDP for TSE MAC
Hi all, Currently I am using TSE MAC, but is there any UDP Verilog module already available to connect with TSE MAC? I tried to search around but can not find one. Thanks a lot!
Hi, Daixiwen, Errors still show up even I use the original hardware description to compile in Nios. The error information is as follows:
system_description/alt_sys_init.c:128: error: `GENERATOR_0' undeclared (first use in this function) system_description/alt_sys_init.c:128: error: (Each undeclared identifier is reported only once system_description/alt_sys_init.c:128: error: for each function it appears in.) system_description/alt_sys_init.c:128: error: `generator_0' undeclared (first use in this function) system_description/alt_sys_init.c:129: error: `GENERATOR_1' undeclared (first use in this function) system_description/alt_sys_init.c:129: error: `generator_1' undeclared (first use in this function) system_description/alt_sys_init.c:130: error: `GENERATOR_2' undeclared (first use in this function) system_description/alt_sys_init.c:130: error: `generator_2' undeclared (first use in this function) system_description/alt_sys_init.c:131: error: `GENERATOR_3' undeclared (first use in this function) system_description/alt_sys_init.c:131: error: `generator_3' undeclared (first use in this function) system_description/alt_sys_init.c:132: warning: implicit declaration of function `UDP_PAYLOAD_INSERTER_INIT' system_description/alt_sys_init.c:132: error: `UDP_INSERTER_0' undeclared (first use in this function) system_description/alt_sys_init.c:132: error: `udp_inserter_0' undeclared (first use in this function) system_description/alt_sys_init.c:133: error: `UDP_INSERTER_1' undeclared (first use in this function) system_description/alt_sys_init.c:133: error: `udp_inserter_1' undeclared (first use in this function) system_description/alt_sys_init.c:134: error: `UDP_INSERTER_2' undeclared (first use in this function) system_description/alt_sys_init.c:134: error: `udp_inserter_2' undeclared (first use in this function) system_description/alt_sys_init.c:135: error: `UDP_INSERTER_3' undeclared (first use in this function) system_description/alt_sys_init.c:135: error: `udp_inserter_3' undeclared (first use in this function) system_description/alt_sys_init.c:136: warning: implicit declaration of function `ERROR_PACKET_DISCARD_INIT' system_description/alt_sys_init.c:136: error: `ERROR_DISCARD' undeclared (first use in this function) system_description/alt_sys_init.c:136: error: `error_discard' undeclared (first use in this function) system_description/alt_sys_init.c:137: warning: implicit declaration of function `UDP_PORT_TO_CHANNEL_MAPPER_INIT' system_description/alt_sys_init.c:137: error: `UDP_MAPPER' undeclared (first use in this function) system_description/alt_sys_init.c:137: error: `udp_mapper' undeclared (first use in this function) system_description/alt_sys_init.c:138: warning: implicit declaration of function `OVERFLOW_PACKET_DISCARD_INIT' system_description/alt_sys_init.c:138: error: `OVERFLOW_DISCARD' undeclared (first use in this function) system_description/alt_sys_init.c:138: error: `overflow_discard' undeclared (first use in this function) system_description/alt_sys_init.c:139: warning: implicit declaration of function `UDP_PAYLOAD_EXTRACTOR_INIT' system_description/alt_sys_init.c:139: error: `EXTRACTOR_0' undeclared (first use in this function) system_description/alt_sys_init.c:139: error: `extractor_0' undeclared (first use in this function) system_description/alt_sys_init.c:140: error: `EXTRACTOR_1' undeclared (first use in this function) system_description/alt_sys_init.c:140: error: `extractor_1' undeclared (first use in this function) system_description/alt_sys_init.c:141: error: `EXTRACTOR_2' undeclared (first use in this function) system_description/alt_sys_init.c:141: error: `extractor_2' undeclared (first use in this function) system_description/alt_sys_init.c:142: error: `EXTRACTOR_3' undeclared (first use in this function) system_description/alt_sys_init.c:142: error: `extractor_3' undeclared (first use in this function) system_description/alt_sys_init.c:143: warning: implicit declaration of function `PRBS_PACKET_CHECKER_INIT' system_description/alt_sys_init.c:143: error: `CHECKER_0' undeclared (first use in this function) system_description/alt_sys_init.c:143: error: `checker_0' undeclared (first use in this function) system_description/alt_sys_init.c:144: error: `CHECKER_1' undeclared (first use in this function) system_description/alt_sys_init.c:144: error: `checker_1' undeclared (first use in this function) system_description/alt_sys_init.c:145: error: `CHECKER_2' undeclared (first use in this function) system_description/alt_sys_init.c:145: error: `checker_2' undeclared (first use in this function) system_description/alt_sys_init.c:146: error: `CHECKER_3' undeclared (first use in this function) system_description/alt_sys_init.c:146: error: `checker_3' undeclared (first use in this function) make[1]: *** [obj/alt_sys_init.o] Error 1 make: *** [system_project] Error 2 I checked the original "alt_sys_init.c" file and found that there was no operation on these IPs for the protocol. Do I miss something? Thanks!