12.07.2015 Views

Intel(R) IQ80315 I/O Processor DMA and XOR Library APIs and ...

Intel(R) IQ80315 I/O Processor DMA and XOR Library APIs and ...

Intel(R) IQ80315 I/O Processor DMA and XOR Library APIs and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>Intel</strong> ® GW80314 I/O <strong>Processor</strong> <strong>DMA</strong> <strong>and</strong> <strong>XOR</strong> <strong>Library</strong>Introduction1.0 Introduction<strong>Intel</strong> provides customers of the <strong>Intel</strong> ® GW80314 I/O processor 1 (GW80314) an optimized turnkey<strong>Library</strong> solution for <strong>DMA</strong>/<strong>XOR</strong> applications to provide a fast development ramp. The <strong>DMA</strong>/<strong>XOR</strong><strong>Library</strong> synergistically combines with existing <strong>Intel</strong> collateral (See Section J, “RelatedDocuments” on page 90 for related web documents).The turnkey Optimized <strong>XOR</strong> <strong>and</strong> <strong>DMA</strong> <strong>Library</strong> consists of:— <strong>DMA</strong>/<strong>XOR</strong> register set .h files.— Functions to set Data Cache Policy for specified memory pages.— Integrated Descriptor H<strong>and</strong>ling.— Required macros.— Interrupt h<strong>and</strong>ler with setup of Interrupt Controller.— Rules for optimization.— Test bench demonstrating <strong>Library</strong> implementation.1.1 Demonstrate Libraries Testbench MenuThe <strong>Library</strong> menu is shown below. The testbench provides menu driven test cases implementing theLibraries.Note:<strong>DMA</strong>/<strong>XOR</strong> descriptors can be run from SRAM or SDRAM.1. SDRAM: <strong>DMA</strong> with crc <strong>and</strong> <strong>XOR</strong> <strong>Library</strong> (R<strong>and</strong>om Channel <strong>and</strong> <strong>DMA</strong> vs.<strong>XOR</strong>)2. SRAM : <strong>DMA</strong> with crc <strong>and</strong> <strong>XOR</strong> <strong>Library</strong> (R<strong>and</strong>om Channel <strong>and</strong> <strong>DMA</strong> vs.<strong>XOR</strong>)• Option 2 is not currently available.1.1.1 Description of Demonstration CasesThe <strong>DMA</strong>/<strong>XOR</strong> engine has four identical channels operating independently. They arbitrate usinground robin for the port interfacing the switch fabic network (see Figure 1). Each channel mayfunction as a <strong>DMA</strong> or <strong>XOR</strong> engine.The <strong>Library</strong> Demo cases iterate 30000 times. For each iteration, a r<strong>and</strong>om selection is madebetween each of the four channels <strong>and</strong> whether to perform a <strong>DMA</strong> or <strong>XOR</strong> transaction on thatchannel. An aligned buffer is requisitioned from the Free Stack as a <strong>DMA</strong> or <strong>XOR</strong> descriptor <strong>and</strong> iscompleted <strong>and</strong> flushed from the Data Cache to SDRAM or SRAM. If it is a <strong>DMA</strong> transaction, thena CRC32 calculation is initiated as well.Following the transaction being completed, the <strong>DMA</strong>/CRC32 or <strong>XOR</strong> transaction results arevalidated for accuracy <strong>and</strong> completeness.1. ARM* architecture compliant.<strong>APIs</strong> <strong>and</strong> Testbench White Paper 9

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

Saved successfully!

Ooh no, something went wrong!