beautypg.com

Compiling the design, Programming a device, Compiling the design –14 programming a device –14 – Altera Serial Digital Interface (SDI) MegaCore Function User Manual

Page 28

background image

2–14

Chapter 2: Getting Started

Compiling the Design

Serial Digital Interface (SDI) MegaCore Function

February 2013

Altera Corporation

User Guide

1

You are not required to duplicate .sdc script for SDI triple standard
transmitter B and SDI triple standard receiver B in Transceiver Bank 2.
Instances with same video standard can share an .sdc script.

3. Edit the .sdc script so that the reference clock name matches the name of the clock

pin connected to SDI triple standard transmitter A, for example
tx_serial_refclk_top2

. Locate tx_serial_refclk_name in the script and change

to tx_serial_refclk_top2.

4. Edit another .sdc script so that the reference clock name matches the name of the

clock pin connected to SDI triple standard receiver A, for example
rx_serial_refclk_top2

. Locate set rx_serial_refclk_name in the script and

change to rx_serial_refclk_top2.

5. Add these two duplicate .sdc scripts to your project. On the Project menu, click

Add/Remove Files in Project

and browse to select the scripts.

Compiling the Design

You can use the Quartus II software to compile your design. For instructions about
performing compilation, refer to Quartus II Help.

You can find an example design using an SDI MegaCore function in the
ip/sdi/example

directory. This design is targeted at the Stratix II GX audio video

development kit.

f

For more information about the example design, refer to

AN 339: Serial Digital Interface

Demonstration for Stratix II GX Devices

, and for information about the development kit,

refer to

Audio Video Development Kit, Stratix II GX Edition

.

Programming a Device

After you have compiled the example design, you can program your targeted Altera
device to verify the design in hardware.

With Altera's free OpenCore Plus evaluation feature, you can evaluate the SDI
MegaCore function before you obtain a license. OpenCore Plus evaluation allows you
to generate an IP functional simulation model, and produce a time-limited
programming file.

f

For more information about OpenCore Plus hardware evaluation using the SDI
MegaCore function, refer to

“OpenCore Plus Evaluation” on page 1–5

,

“OpenCore

Plus Time-Out Behavior” on page 3–39

, and

AN 320: OpenCore Plus Evaluation of

Megafunctions

.