The Serial ATA Device Controller IP Core provides an interface to high-speed serial link replacements for the parallel ATA attachment of mass storage devices. The serial link employed is a high-speed differential layer that utilizes Gigabit technology and 8b/10b encoding.
This core is fully compliant to the Serial ATA 1.0a specification and provides some features of the Serial ATA II extensions.
ARCHITECTURE
The Serial ATA Link and Transport Layer Core implements a serial ATA device interface which connects to a SATA PHY via a 10bit interface and provides a WISHBONE slave interface for register and DMA access. It consists of the link layer module- with 10bit data paths to the physical layer- and a transport layer module which connects to the system via a WISHBONE slave interface.
SAPIS PHY INTERFACE
This interface connects to any SAPIS compliant serial ATA PHY. Power management and speed negotiation signals are included. The PHY interface is synchronous to the PHY clock domain, which may have a different clock frequency than the system clock domain. Synchronization is done by the Serial ATA Link and Transport Layer Core.
WISHBONE SLAVE INTERFACE
The slave interface is used to access all core internal registers as well as the data FIFO.
SIZE AND SPEED
Software or an external DMA unit can write transmit data into the data FIFO or can read from the FIFO.
DMA HANDSHAKE
Simple handshake signals are provided to connect a DMA unit to the core module. The DMA requests will be asserted as soon as any transmit data is available or is needed in the core's data FIFO. The DMA unit will then access the data FIFO via the WISHBONE slaveinterface. A system interrupt will inform device software on completion of a data transfer.
Automatic flow control mechanisms control data throttling to avoid underflow or overflow of the transmit data FIFO. The DMA unit (or device software) may work at any speed without the risk of data loss. Data FIFO thresholds can be adjusted to optimize the data flow control.