Example 1: NOP Information Packet


Example 1: NOPInformation Packet

Problem: Device 2 in Figure 7-1 on page 145 is using a NOP packet to inform Device 1 about the availability of two new Posted Request (CMD) entries and one new Response (Data) entry in its receiver flow control buffers.

Figure 7-1. Example 1: NOP Information Packet With Buffer Updates

graphics/07fig01.jpg

Example 1: NOP Packet Setup

(Refer to Figure 7-1 on page 145.)

Command[5:0] Field (Byte 0, Bit 5:0)

The NOP information packet command code. There are no option bits within this field. For this example, field = 000000b.

DisCon Bit Field (Byte 0, Bit 6)

This bit is set to indicate an LDTSTOP# sequence is beginning. Not active for this example. Refer to "HT Link Disconnect/Reconnect Sequence" on page 223 for a discussion of the DisCon bit and the LDTSTOP# sequence. For this example, field = 0b.

PostCMD[1:0] Field (Byte 1, Bits 1:0)

This NOP field is used by all devices to dynamically report the number of new entries (0-3) in the receiver's Posted Request (CMD) flow control buffers which have become available since the last NOP reporting this information was sent. In our example, assume that two new entries have become available. For this example, field = 10b.

PostData[1:0] Field (Byte 1, Bits 3:2)

This NOP field is used by all devices to dynamically report the number of new entries (0-3) in the receiver's Posted Request (Data) flow control buffers which have become available since the last NOP reporting this information was sent. In our example, assume no new entries in this buffer have become available. For this example, field = 00b.

Response[1:0] Field (Byte 1, Bits 5:4)

This NOP field dynamically reports the number of new entries (0-3) in the receiver's Response (Data) flow control buffers which have become available since the last NOP reporting this information was sent. In our example, assume no new entries in this buffer have become available. For this example, field = 00b.

ResponseData[1:0] Field (Byte 1, Bits 3:2)

This NOP field is used by all devices to dynamically report the number of new entries (0-3) in the receiver's Response (Data) flow control buffers which have become available since the last NOP reporting this information was sent. In our example, assume one new entry in this buffer has become available. For this example, field = 01b.

Non-PostCMD[1:0] Field (Byte 2, Bits 1:0)

This NOP field dynamically reports the number of new entries (0-3) in the receiver's Non-Posted Request (CMD) flow control buffers which have become available since the last NOP reporting this information was sent. In our example, assume that no new entries have become available. For this example, field = 00b.

Non-PostData[1:0] Field (Byte 2, Bits 3:2)

This NOP field dynamically reports the number of new entries (0-3) in the receiver's Non-Posted Request (Data) flow control buffers which have become available since the last NOP reporting this information was sent. In our example, assume no new entries in this buffer have become available. For this example, field = 00b.

Isoc Bit Field (Byte 2, Bit 5)

If set, this NOP field indicates that all six flow control buffer updates contained within this NOP should be applied to the transmitter's isochronous flow control buffer counter set. In our example, assume that the update applies to the standard flow control buffer entries. For this example, field = 0b.

Diag Bit Field (Byte 2, Bit 6)

If set, this NOP field indicates the transmitter is entering the CRC diagnostic test mode. In this example, this bit is cleared. For this example, field = 0b.

Bits Not Mentioned

Reserved bits in bytes 0,1; these should be driven = 0.

Example 1: NOP Sequence Of Events On The Link

(Refer to Figure 7-1 on page 145)

NOP packets are sent continuously during idle times on each link. Because they aren't subject to flow control and don't have data or response packets associated with them, the sequence of events is simple. For the example in Figure 7-1 on page 145:

  1. Device 2 has processed two packets received previously from Device 1 and is about to report the new entries which have suddenly become available in its corresponding receiver flow control buffers.

  2. Device 2 prepares the next NOP packet, filling in the six fields used to report buffer updates and clears the Isoc bit because this update is for the standard flow control buffer set. Flow control buffer fields in the response are cleared to "0" for buffers which haven't changed since the last NOP. Other bits carried in NOP packets are not enabled in this example (e.g. DisCon, Diag ).

  3. The transmitter interface in Device 2 drives the four byte NOP packet byte out onto the 8-bit link, least significant byte first. After four bit times (2 clock periods), the NOP packet has been sent; Device 2 clears its internal receiver flow control update counters ” indicating the update is complete.

  4. Upon receiving the NOP packet update, Device 1 adds the indicated "credits" to its corresponding flow control counters. It also checks the status of the other bits in the packet and detects them clear (no DisCon, Diag, etc.).

  5. Device 2 returns to sending "null packet" NOPs (all flow control update fields = 0) during idle times on the link until another buffer entry becomes available.



HyperTransport System Architecture
HyperTransportв„ў System Architecture
ISBN: 0321168453
EAN: 2147483647
Year: 2003
Pages: 182

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net