| Electronic Components Datasheet Search |
|
SEC2410 Datasheet(PDF) 164 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
SEC2410 Datasheet(HTML) 164 Page - Microchip Technology |
|
164 / 283 page ![]() SEC2410/SEC4410 DS00001587C-page 164 2013 - 2014 Microchip Technology Inc. 16.1.2 SIE TRANSPORT AMBA SLAVE The AMBA slave block used in the SIE transport interface is identical to the AMBA slave block used by the FMDU and the CR_AHB bridge. The AMBA slave decodes accesses to its address range. If the address is in the range of the work queues, the data is treated as a WQE. If in that range, the WQE context is used as an index into the Work Request Look Up Table (WRLUT) to fetch the Work Request and Completion Notification. The WR and CN is forwarded to the queue- ing logic, along with the number of the endpoint being addressed. If the access is in the 1K address space of the AMBA slave, but not in the address range of the work queues, the data is forwarded without doing a table lookup. 16.1.3 SIE TRANSPORT AMBA MASTER The AMBA master block used in the SIE transport interface is identical to the AMBA master block used by the FMDU. There are three inputs to the AMBA master. They are a CN, and a DMA interface. The AMBA master fulfills the CN and DMA in ping pong fashion. 16.1.4 CN WRITE: The CN is a single 32 bit write on the AMBA bus, where the AMBA address is the CN address, and the AMBA data is a concatenation of the context, last bit and buffer length. See section Completion Notification (CN). 16.1.4.1 DMA interface: The DMA the same thing as a WR, with the added field of the endpoint number. If the control logic wanted to read 10 bytes into EP0_READ from buffer location 0x008000, followed by 200 bytes write to buffer location 0x008800 (the end- point does not matter), it would issue two tuples: a) 5) 0x008000, x010, EP0_READ b) 6) 0x008800,0x200, EPx_WRITE The AMBA master would get control of the bus, read out memory, starting at location 0x8000 and write into EP0_READ memory. When that transfer is over, it start on the second one. It would read out of the EPx_Write FIFO and write into memory starting at location 0x008800. The endpoint number tells it what Fifo to read or write. 16.1.5 SIE TRANSPORT WORK/CN QUEUES The AMBA slave block puts out the WR, CN, Endpoint number and a strobe. The Endpoint number and the strobe are used to latch in the WR and CN into the appropriate endpoint queue. For Sparrow, the queue for EP0 and EP1 is only one deep. For EP2 it is four deep. Future designs may be different. Writing more elements than the queue is deep will lead to unpredictable results. The queue for the WR are implemented as Fifos when written from the AMBA slave side. From the control logic side they can be read in parallel. There is also the additional ability for the control logic to write to the top element from the control logic side. The ability to write back into the top of the work queue fifo is used in the following way. If the posted buffer is bigger than an MTU, then at the end of a packet, the remainder is written back into the top of the queue. For example: Assume the top element is address 0x008000, length 0x800, and the associated CN is address 0x00F000 and the context is 0x05. The first packet arrives. It is length 0x200. Since the buffer is not complete, the CN cannot be sent. So the hardware writes 0x200 bytes into the buffer. To remember where it is, the hardware writes back into the fifo, this time the top ele- ment address is 0x008200, length 0x200, CN address 0x00F000, context is 0x05. The second packet arrives. For this packet, the buffer address is 0x008200, and the length is 0x200. The packet length is 0x200. This time the buffer is fully used up. A CN is posted to show that the buffer has been fulfilled. The ability to read the WRs in parallel is important for Endpoint 2 since multiple buffers may be required to make up an MTUs worth of data. Multiple WRs need to be read for small packets. 16.1.6 SIE TRANSPORT ELASTICITY BUFFERS There are four buffer used in Sparrow for Elasticity. On the read side, there is one buffer per endpoint. The buffers are necessary because the UDC20 requires that on reads, the data be provided one clock after the request. Since the AMBA bus has latency associated with it, each endpoint has the start of the buffer pre-fetched and stored locally. When the |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |