beautypg.com

Altera Serial Digital Interface (SDI) MegaCore Function User Manual

Page 68

background image

3–38

Chapter 3: Functional Description

Block Description

Serial Digital Interface (SDI) MegaCore Function

February 2013

Altera Corporation

User Guide

For the SDI MegaCore function, the Quartus II-generated .mif is for 3G-SDI setup.

1

These .mif files relate to a specific ALT2GXB instance in the device. Therefore, you
cannot use the same .mif files or ROMs for multiple ALT2GXBs in the same device.

For the SDI MegaCore function, the differences between the ALT2GXB setups are very
small. Only three bits of the ROM change between the HD-SDI and SD-SDI, or 3G-SDI
setups. The three bits are in word 23 and you can see in the following examples of the
.mif

files (

Example 3–1

and

Example 3–2

).

This particular word is static over all SDI ALT2GXB instances in the device. You can
generate the .mif for the HD-SDI ROM from the .mif that the Quartus II software
generates by modifying this memory word within the .mif.

Starting Channel Number

To correctly address each transceiver by the ALT2GXB_RECONFIG block, you must
specify a starting channel number for each transceiver instance in the parameter
editor. This starting channel number must meet certain criteria for the transceiver
dynamic reconfiguration.

f

For more information about the criteria, refer to the

Arria GX Device Handbook

,

Arria II GX Device Handbook

,

Stratix II GX Device Handbook

, and

Stratix IV Device

Handbook

.

Quartus II Design Flow

For Arria GX and Stratix II GX devices, SDI MegaCore function designs using
transceiver dynamic reconfiguration require a two-pass compilation. The first
compilation writes the ALT2GXB setup as a .mif. During this compilation, you must
set the .mif ROMs in the design to have a dummy .mif for their initialization.

Before the second compilation, set the initialization .mif files of the ROMs to be
generated in the first compilation. This second compilation, therefore sets up the
ROMs to have the correct settings for the ALT2GXB megafunction.

This process requires the following steps:

1. Set the reconfiguration ROMs in the designs with a dummy .mif.

2. Run the Quartus II compilation and ensure that the software writes the .mif files.

Example 3–1. 3G-SDI ROM Content Example

....
22 : 1010100000011111;
23 : 0111110000010100;
24 : 0001000101101000;
....

Example 3–2. HD-SDI ROM Content Generated from 3G-SDI Version

....
22 : 1010100000011111;
23 : 0111110000001101;
24 : 0001000101101000;
....