beautypg.com

Altera Serial Digital Interface (SDI) MegaCore Function User Manual

Page 97

background image

Chapter 4: SDI Audio IP Cores

4–9

SDI Audio Embed MegaCore Function

February 2013

Altera Corporation

Serial Digital Interface (SDI) MegaCore Function

User Guide

Video Status Register

7:0

Active channels

RO

Reports the detected video input standard.

Bits[7:5] = Picture structure code.

Defined values for picture structure code are:

001b

= 486 or 576 line SD-SDI

100b

= 720 line HD-SDI

101b

= 1080 line HD-SDI

010b

= 1080 line 3G-SDI

Bit[4] = 0b—Interlace or segmented frame, 1b—Progressive.

Bits[3:0] = Frame rate code.

Defined values for frame rate code (in Hz) are:

0010b

= 23.97

0011b

= 24

0101b

= 25

0110b

= 29.97

0111b

= 30

1001b

= 50

1010b

= 59.94

1011b

= 60

Audio Status Register

7:0

Unused

Reserved for future use.

Channel Status Control Registers

7:0

CS mode select

RW

When set to 00b, the core keeps the existing channel status data.

When set to 01b, the core replaces the channel status data with
default values.

When set to 10b, the core replaces the data with the contents of the
appropriate channel status RAM.

The following bits correspond to the number of audio groups you
specify:

Bit [1:0] = Audio group 1

Bit [3:2] = Audio group 2

Bit [5:4] = Audio group 3

Bit [7:6] = Audio group 4

Sine Channel n Frequency

7:0

Sine channel frequency

RW

Defines the frequency of the generated audio.

Channel Status RAM

7:0

Channel status data

WO

Write accesses within the address range 10h to 3Fh to the channel
status RAM. This field returns the 24 bytes of channel status for X
channels starting at address 10h to 27h, and the 24 bytes of channel
status for Y channels starting at address 28h to 3Fh.

Table 4–9. SDI Audio Embed MegaCore Function Register Map

Bit

Name

Access

Description