
R
Chapter 12: Constraining the Core
NET "*clkin" TNM_NET = "clkin";
TIMESPEC "TS_clkin" = PERIOD "clkin" 8 ns HIGH 50 %;
NET "*refclkout" TNM_NET = "refclkout";
TIMESPEC "TS_refclkout" = PERIOD "refclkout" 8 ns HIGH 50 %;
Setting GTX Transceiver Attributes
The
If the core is generated to use the GTX Rx Elastic Buffer, then all of the constraints documented in “Clock Period Constraints,” page 167, apply.
However, if the FPGA Fabric Rx Elastic Buffer is selected, then an extra clock period constraint of 16 ns is required for rxrecclk: with the GTX Rx Elastic Buffer bypassed, rxrecclk is provided by the GTX transceiver to the FPGA fabric for the recovered receiver data signals leaving the transceiver. This data is then written into the replacement Rx Elastic Buffer implemented in the FPGA fabric. See
The following UCF syntax shows the necessary constraint being applied to the rxrecclk signal sourced from GTX 0.
#***********************************************************
# | PCS/PMA Clock period Constraints for | the GTP/X 0 | * |
# | recovered clock: please do not relax |
| * |
#***********************************************************
NET "core_wrapper/rocketio/rxrecclk0" TNM_NET = "rxrecclk0";
TIMESPEC "ts_rxrecclk0" = PERIOD "rxrecclk0" 16 ns;
Setting GTX Transceiver Attributes
Additionally, if the FPGA Fabric Rx Elastic Buffer is selected, then the attributes of the
Ten-Bit Interface Constraints
The constraints defined in this section are implemented in the UCF for the example designs delivered with the core. Sections from this UCF have been copied into the descriptions in this section to serve as examples, and should be studied with the HDL source code for the example design. See also Chapter 6, “The
168 | www.xilinx.com | Ethernet |
|
| UG155 March 24, 2008 |