01-01-2015 12:32 AM
after generating the TEMAC logicore in xilinx Planahead.
it will generate one example design also so now my question is i have added all the files generated by TEMAC logicore to send some data and capture it in wireshark. upto this it was working now i want to add the UDP/IP stack to that MAC, can any one suggest me how to add that kind of things onto the TEMAC using vhdl.
Please suggest me ASAP.
01-01-2015 04:48 PM
01-01-2015 05:51 PM
If you want to use an Embedded Processor with the ethernet IP, EDK does provide a library service by name LWIP
This has the IP stack and can be integrated along with Ethernet IP's EDK provides.
01-01-2015 09:09 PM
thanks for your reply,
I have one question in example design of TEMAC i.e. how to give padding in the existed data that i need to capture in wireshark. and where to add the padding.
01-01-2015 09:22 PM
The MAC inserts the padding if you have not set the user supplied FCS bit in the configuration register and if you have set this bit
then you need to pad with zero data bytes at the end of the data to make the frame as per the spec to have minimum length of 64bytes.
01-01-2015 10:51 PM
I am just running the default code generated by TEMAC IP core when i run that example code in wireshark for capturing the data upto destination address is given by me and the next data is comming as junk in that place i want to send my own data. how to pad that data into that example design.
destination add source add junk data
0000 00 a0 35 02 c0 e2 00 24 81 16 a6 86 01 d2 d2 d1
in that junk data i want to replace with my own data in the code this where can i give.
the above mentioned stream is the captured data from wireshark.
01-01-2015 10:58 PM
Create separate thread for different queries.
The data you are seeing in the Wireshark in Pattern generator data from the example design.
If you want to send you own data then you need to disable the pattern generator and modify the example design to drive the user interface with your own data.
you can find more details on the user interface data driving in PG051