Forum Discussion
Need help for Altera TSE Ethernet Core!
I am new to Altera TSE Ethernet Core and I need to use this Ethernet core for my final year project. I have a question here, what kind of data should I supply to the port of ff_tx_data? :confused:
Is it just the data for payload in Ethernet frame? Do I need to calculate the CRC by myself? I am using MAC with 8-bit FIFO. I will appreciate if anyone of you can teach me on this. Thank you. :)4 Replies
- Altera_Forum
Honored Contributor
The data needed for port of ff_tx_data as in below format:
Destination Address (6 bytes), Source Address (6 bytes), Length (2 bytes), Payload Data (N bytes). The TSE MAC should be able to calculate and embedded the CRC for you. Hope it helps. :) - Altera_Forum
Honored Contributor
Thank you so much, GuruDog! By the way, do you have any simulation example on how to drive the TSE Ethernet Core? I have no experience on writing testbench on complex design (like TSE Ethernet Core).
- Altera_Forum
Honored Contributor
You can use the testbench which generated by the TSE MegaWizard to run the simulation. I found it very useful to understand the TSE behavior through the generated testbench.
You may want to check it out following AN which describe how we can use the generated testbench for tse: http://www.altera.com/literature/an/an585.pdf - Altera_Forum
Honored Contributor
Thank you again! I am not aware of Altera provided the Ethernet testbench for user and this AN585 is a good starting for user like me (beginner) :P
By using the generated testbench, I think I can easily understand the Ethernet Core behavior! Thanks alot!