Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
7 years ago

Trispeed Ethernet: Do I have to manually include preamble and SFD?

Hi, as the title says, for an Ethernet transfer, which packets lands on the SOP? Is it the start of the preamble or MAC destination address?

Thanks for your time.

ap29

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    When you write your program, you would start with the MAC destination address. Check this link https://gist.github.com/austinmarton/1922600 .

    The socket commands add the preamble and SFD. On the receiver side, the TSE MAC strips the SFD and Preamble, so you would see SOP on the first byte of the destination address.

    Divya
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Hi,

    When you write your program, you would start with the MAC destination address. Check this link https://gist.github.com/austinmarton/1922600 .

    The socket commands add the preamble and SFD. On the receiver side, the TSE MAC strips the SFD and Preamble, so you would see SOP on the first byte of the destination address.

    Divya

    --- Quote End ---

    Thanks for the reply, will adjust my design accordingly.