1.2.1.3 Data Gen (IAP Target)

This module generates Ethernet packets with the appropriate control packets to be transmitted to IAP Initiator based on the instruction from the Mi-V soft processor. The packet structure is described in Table 1-2.

In this demo design, the Data Gen module uses the custom packet structure and fields to generate Control Ethernet packets. The Control Ethernet packet of length 92 bytes carries the necessary information to IAP Target for activities listed in the following table.

Table 1-2. Ethernet Packet Structure (Control)
Byte NumberSizeFieldValue
1-88 bytes
  • Destination Address
  • Source Address
  • 48'hFFFF_FFFF_FFFF
  • 16'hD0AB
9-168 bytesSource Address32'hD5576610
Ethernet Type16’h0700
Command
  • 16’h0001 – Image write complete
  • 16'h0002 – Authenticate complete
  • 16’h0003 – target version number sent
  • 16’h0004 – Control information
  • 16’h0006 – IAP Authentication Complete
  • 16'h000B – IAP Mode ON

    16'h000C – Loopback Mode ON

16-238 bytesZero’s32’h00000000
Length0x0040 – 64 bytes
Offset16’h0000
24-8764 bytesPayload (Control Information)64’h0000000000000000 (for all packets)
Last 44 bytesFCS (Frame Check Sequence)Core10GMAC computes the FCS and appends to the Frame before transmitting out.