
20
ECP5 and ECP5-5G Hi
g
h-Speed I/O Interface
Example:
For GDDRX2_RX.ECLK.Centered Interface running at max speed of 400 MHz, the preference would be -
INPUT_SETUP PORT "datain" 0.320000 ns HOLD 0.320000 ns CLKPORT "clk”;
Note: Please check DS1044,
ECP5 and ECP5-5G Family Data Sheet
for the latest tSUDDR and tHOGDDR num-
bers.
Receive Aligned Interface
Figure 20 below shows the Data and Clock relationship for a Receive Aligned Interface. The clock is aligned edge
to edge the data.
Figure 20. RX Aligned Interface Timing
Note: tDVA_GDDRX1/2 = Data Valid after CLK, tDVE_GDDRX1/2 = Data Hold After CLK
In this case the worst case data may occur after the clock edge hence has a negative setup time when entering the
device. In this case the worst case setup is specified by the tDVACLKGDDR after the clock edge and the worst
case hold time is specified as tDVECLKGDDR. For this case the setup and hold time can be specified as -
INPUT_SETUP PORT “din” <-tDVA_GDDRX1/2 > ns HOLD < tDVE_GDDRX1/2> ns CLKPORT “clk”;
Note: Negative number is used for SETUP time as the data occurs after the clock edge in this case.
The External Switching Characteristics section of DS1044,
ECP5 and ECP5-5G Family Data Sheet
specifies the MIN
tDVA_GDDRX1/2 and tDVE_GDDRX1/2 values required for each of the high speed interfaces running at MAX
speed. These values can be picked up from the data sheet if the interface is running at MAX speed. The data sheet
numbers for this preference is listed in ns + ½ UI (Unit Interface). 1 UI is equal to ½ the Clock Period. Hence these
numbers will need to be calculated from the CLK Period used.
Preference Example:
For GDDRX2_RX.ECLK.Aligned interface running at max speed of 400 MHz (UI = 1.25ns)
tDVA_GDDRX2 = - 0.344ns + ½ UI = 0.281ns, tDVE_GDDRX2 = 0.344ns + ½ UI =0.969 ns
The preference for this case would be -
INPUT_SETUP PORT "datain" -0.2810000 ns HOLD 0.969 ns CLKPORT "clk”;
ECP5 and ECP5-5G Family Data Sheet
for the latest tDVA_GDDRX1/X2 and
tDVE_GDDRX1/X2 numbers.
Receive Dynamic Interfaces
Static Timing Analysis will not show timing for all the Dynamic interfaces cases as the either the Clock or Data
delay will be dynamically updated at run time.