Altera Serial Digital Interface (SDI) MegaCore Function User Manual
Page 27

Chapter 2: Getting Started
2–13
Specifying Constraints
February 2013
Altera Corporation
Serial Digital Interface (SDI) MegaCore Function
User Guide
To specify the constraints, perform the following steps:
1. Parameterize and generate your SDI MegaCore functions—SDI triple standard
transmitter A, SDI triple standard transmitter B, SDI triple standard receiver A,
and SDI triple standard receiver B—with their unique starting channel number.
2. Edit the Tcl script so that the transceiver top-level reference clock matches the
name of the clock pin connected to SDI triple standard transmitter A, for example
tx_serial_refclk_top1
. Locate tx_serial_refclk_name in the script and change
to tx_serial_refclk_top1.
3. Execute the Tcl script to patch the generated .sdc script with the new clock names.
1
A back-up copy of the .sdc script is created before the patch is made, and
any edits that were previously made to the .sdc script are preserved.
4. Execute the Tcl script in the Quartus II software, and perform the following steps:
a. On the Tools menu, click Tcl script.
b. Select the Tcl script of the instance SDI triple standard transmitter A, and click
Run.
5. Perform steps
to
for the other three instances.
To specify constraints for multiple channels of SDI MegaCore function with multiple
top-level reference clocks as shown in
, perform the following steps:
1. For the SDI instances in Transceiver Bank 1, perform steps
you would do for
SDI instances sharing the same reference clock.
2. For the SDI instances in Transceiver Bank 2, duplicate an .sdc script for SDI triple
standard transmitter A and SDI triple standard receiver A in Transceiver Bank 2.
Figure 2–5. Instantiating Multiple Channels of SDI Instances Sharing Multiple Reference Clocks
tx_serial_refclk_top2
tx_serial_refclk_top1
SDI triple standard transmitter A
starting_channel_number = 0
Transceiver Bank 1
SYSTEM TOP LEVEL
SDI triple standard transmitter B
starting_channel_number = 8
SDI triple standard receiver B
starting_channel_number = 12
SDI triple standard receiver A
starting_channel_number = 4
SDI triple standard transmitter A
starting_channel_number = 0
rx_serial_refclk_top1
rx_serial_refclk_top2
SDI triple standard transmitter B
starting_channel_number = 8
SDI triple standard receiver B
starting_channel_number = 12
SDI triple standard receiver A
starting_channel_number = 4
Transceiver Bank 2