Specifying constraints, Single channel, Specifying constraints –11 – Altera Serial Digital Interface (SDI) MegaCore Function User Manual
Page 25: Single channel –11

Chapter 2: Getting Started
2–11
Specifying Constraints
February 2013
Altera Corporation
Serial Digital Interface (SDI) MegaCore Function
User Guide
To set up simulation in the Quartus II software using NativeLink, follow these steps:
1. On the File menu, click Open Project. Browse to the desired directory: hdsdi,
hdsdi_3g
, hdsdi_dual_link, or trsdi.
2. Open sdi_sim.qpf.
3. Check that the absolute path to your third-party simulator executable is set. On the
Tools menu, click Options and select EDA Tools Options.
4. On the Processing menu, point to Start and click Start Analysis & Elaboration.
5. On the Tools menu, point to Run EDA Simulation Tool and click EDA RTL
Simulation
.
Specifying Constraints
You must apply the Altera-provided timing constraint file in Synopsys Design
Constraints File (.sdc) format and the additional Tcl Script File (.tcl) to ensure the SDI
MegaCore function meets the design timing requirements.
To add the .sdc file to your project, click Add/Remove Files in Project on the Project
menu and browse to select
To add the additional .tcl file, you must compile your design and perform post
compilation timing analysis using the TimeQuest timing analyzer. On the
Assignments menu, click Use TimeQuest Timing Analyzer during compilation, and
click OK.
You may have to further edit your scripts if your design requires single channel or
multiple channels.
Single Channel
The following section describes what you must do if your design requires a single
channel using SDI triple standard transmitter and receiver instances as shown in
.
1
The SDI instances must have a unique starting channel number if they are merged
into a same quad or bank.
To specify the constraints, follow these steps:
1. Parameterize and generate your SDI MegaCore functions—SDI triple standard
transmitter and receiver.
Figure 2–3. Instantiating Single Channel of SDI Instances
SDI triple standard transmitter
starting_channel_number = 0
Transceiver Bank 1
SYSTEM TOP LEVEL
SDI triple standard receiver
starting_channel_number = 4
rx_serial_refclk_top1
tx_serial_refclk_top1