13.07.2015 Views

Intel 80312 I/O Companion Chip - ECEE

Intel 80312 I/O Companion Chip - ECEE

Intel 80312 I/O Companion Chip - ECEE

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Intel</strong> ® <strong>80312</strong> I/O <strong>Companion</strong> <strong>Chip</strong>Application Accelerator Unit10.3.5 Initiating the XOR OperationAn XOR operation is initiated by building one or more chain descriptors in <strong>Intel</strong> ® 80200 processorlocal memory. Figure 10-9 shows the format of a principal descriptor.Figure 10-9.Example of Gather Chaining for Four Source BlocksNDANDASAR1 SAR2SAR1 SAR2SAR3 SAR4 DARSAR3 SAR4 DARBCBCDCDCsource buffers..1K-byte, 64 deepStore BufferNDASAR1 SAR2SAR3 SAR4 DARBCDC.NDASAR1 SAR2SAR3 SAR4 DARBCDCEnd of ChainNull Value DetectedNDA = Next Descriptor AddressSAR1 = Source Address Register 1SAR2 = Source Address Register 2SAR3 = Source Address Register 3SAR4 = Source Address Register 4DAR = Destination Address RegisterBC = Byte CountDC = Descriptor ControlThe following describes the steps for initiating a new XOR operation:1. AAU must be inactive prior to starting an XOR operation. This can be checked by software byreading the Accelerator Active bit in the Accelerator Status Register. When this bit is clear, theunit is inactive. When this bit is set, the unit is currently active.2. ASR must be cleared of all error conditions.3. Software writes the address of the first chain descriptor to the Accelerator Next DescriptorAddress Register (ANDAR).4. Software sets the Accelerator Enable bit in the Accelerator Control Register (ACR). Becausethis is the start of a new XOR operation and not the resumption of a previous operation, theXOR Resume bit in the ACR should be clear.5. AAU starts XOR operation by reading chain descriptor at address contained in ANDAR. AAUloads chain descriptor values into ADAR and begins data transfer. The Accelerator DescriptorAddress Register (ADAR) contains the address of the chain descriptor just read and ANDARnow contains the Next Descriptor Address from the chain descriptor just read.The last descriptor in the XOR chain list has zero in the next descriptor address field, specifying the lastchain descriptor. A NULL value notifies AAU not to read additional chain descriptors from memory.Once an XOR operation is active, it can be temporarily suspended by clearing the AcceleratorEnable bit in the ACR. Note that this does not abort the XOR operation. The unit resumes theprocess when the Accelerator Enable bit is set.When descriptors are read from external memory, bus latency and memory speed affect chaininglatency. Chaining latency is defined as the time required for the AAU to access the next chaindescriptor plus the time required to set up the next XOR-transfer.Developer’s Manual 10-13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!