The DQS I/O pin in a Stratix or Stratix GX device is the strobe pin in a bi-directional bus. Data pins in the bus are labeled DQ and the strobe pin is labeled DQS.
The DQS I/O pin in a Cyclone device is a strobe pin that can also be used as a normal data pin. Data is latched using double data rate (DDR) circuitry in a Cyclone device. Data pins in the DDR circuitry are labeled DQ and the strobe pin is labeled DQS.
RAM that use DDR are designed to transfer two data words per clock cycle, using both the positive and the negative edge of the clock. With each word of data, a data-strobe (clock) is transferred for synchronization. Typically, for each 8 bits of data (DQ[7..0]
), a single DQS signal is needed.
In input mode (reading from the RAM), the device receives the DQ signals edge-aligned with the DQS strobe. To maximize setup and hold constraints, the clock (DQS) is delayed internally using a delay locked loop that shifts the data 90 degrees with respect to the system clock. The data is latched using the DDIO circuitry.
In output mode (writing to the RAM), the device sends the DQ signals center-aligned (90 degrees) out of phase with the DQS signal. This is done by generating a clock using the DDIO circuitry in the PLD and shifting the output clock of the data by 90 degrees using PLLs.
- PLDWorld - |
|
Created by chm2web html help conversion utility. |