Instantiating the ip cores, Instantiating the ip cores –23 – Altera Serial Digital Interface (SDI) MegaCore Function User Manual
Page 111

Chapter 4: SDI Audio IP Cores
4–23
Instantiating the IP Cores
February 2013
Altera Corporation
Serial Digital Interface (SDI) MegaCore Function
User Guide
The start of packet, end of packet, and channel signals indicate the start of the audio
sample data and the associated audio channel.
For a single audio channel, the channel signal indicates channel 1 for all valid
samples.
shows an example of a single audio channel.
For multiple channels, the Avalon-ST interface standard allows the packets to
interleave across the channels. By interleaving, the interface allows multiple audio
sources to be multiplexed and demultiplexed.
shows an example of two audio channels, where the channel signal
indicates either channel 1 or channel 2. Each channel has a start of packet and an end
of packet signal, which allows the channel interleaving and de-interleaving.
Instantiating the IP Cores
You can instantiate the SDI Audio Embed and Audio Extract MegaCore functions the
following ways:
■
Instantiates within SOPC Builder with audio inputs exposed outside SOPC
Builder.
■
Instantiate within SOPC Builder with audio inputs exposed as Avalon-ST Audio
within SOPC Builder.
■
Directly instantiate in RTL with a CPU register interface.
■
Instantiate the encrypted core directly on RTL with control ports.
Figure 4–7. Single Audio Channel
sop
Audio data
header identifier
Single channel audio data
(Channel = 1)
Audio data control packet
header identifier (LSB 4 bits)
eop
data [23:0]
channel
A
D0 D1 D2 D3 D4 D5 D6
D7 D8
D190 D191
E
V0
V1 V2
V3 V4
V5 V6
V7 U0 C4 C5 C6 C7
1
1
Audio sample data
Audio control data
Figure 4–8. Multiple Audio Channel
sop
eop
data
channel
A
D0
A
D1
D188 D189 D2
D3 D190 D4 D191
D188 D189 D190 D191
E
E
1
2
1
1
2
1
2
2
2
1
1
Start of packet for audio
sample data channel 1
End of packet for audio
sample data channel 1
End of packet for audio
sample data channel 2
Channel signal indicates
audio channel number
Control data
Control data
Start of packet for audio
sample data channel 1