Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Video and Image Processing Suite User Guide Avalon st video.pdf
Скачиваний:
81
Добавлен:
11.06.2015
Размер:
2.64 Mб
Скачать

UG-VIPSUITE

Frame Reader Control Registers

13-5

2015.01.23

 

 

Signal

 

Directio

 

Description

 

 

n

 

 

 

 

 

 

 

master_av_readdata

Input

master port Avalon-MM readdata bus. These input lines

 

 

carry data for read transfers.

 

 

 

master_av_readdatavalid

Input

master port Avalon-MM readdatavalid signal. The

 

 

system interconnect fabric asserts this signal when the

 

 

requested read data has arrived.

master_av_waitrequest

Input

master port Avalon-MM waitrequest signal. The

 

 

system interconnect fabric asserts this signal to cause the

 

 

master port to wait.

 

 

 

Frame Reader Control Registers

Table 13-3: Frame Reader Register Map

The control data is read once at the start of each frame and is buffered inside the IP core, so the registers can be safely updated during the processing of a frame.

Note: The width of each register of the frame reader is 32 bits.

 

Address

 

Register

 

Description

 

 

 

 

 

 

 

 

 

0

 

Control

 

• Bit 0 of this register is the Go bit. Setting this bit to 1 causes

 

 

 

 

 

the IP core to start producing data.

 

 

 

 

 

• Bit 1 of this register is the interrupt enable. Setting this bit

 

 

 

 

 

to 1 enables the end of frame interrupt.

 

 

 

 

 

 

 

1

 

Status

 

Bit 0 of this register is the Status bit, all other bits are unused.

 

 

 

 

 

 

 

 

 

2

 

Interrupt

 

Bit 1 of this register is the end of frame interrupt bit, all other

 

 

 

 

 

bits are unused. Writing a 1 to bit 1 resets the end of frame

 

 

 

 

 

interrupt.

 

 

 

 

 

 

 

3

 

Frame Select

 

This register selects between frame 0 and frame 1 for next

 

 

 

 

 

 

output.

 

 

 

 

 

 

• Frame 0 is selected by writing a 0 here.

 

 

 

 

 

 

• Frame 1 is selected by writing a 1 here.

 

 

 

 

 

 

 

 

 

4

 

Frame 0 Base Address

 

The 32-bit base address of the frame.

 

 

 

 

 

 

 

5

 

Frame 0 Words

 

The number of words (reads from the master port) to read

 

 

 

 

 

 

from memory for the frame.

 

 

6

 

Frame 0 Single Cycle

 

The number of single-cycle color patterns to read for the

 

 

 

 

Color Patterns

 

frame.

 

 

 

 

 

 

 

7

 

Frame 0 Reserved

 

Reserved for future use.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Frame Reader IP Core

 

 

 

 

Altera Corporation

 

Send Feedback

 

 

 

 

 

 

13-6

Frame Reader Control Registers

 

UG-VIPSUITE

2015.01.23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Address

 

 

Register

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

8

 

Frame 0

Width

 

The width to be used for the control packet associated with

 

 

 

 

 

 

 

frame 0.

 

 

 

 

 

 

 

 

 

 

9

 

Frame 0

Height

 

The height to be used for the control packet associated with

 

 

 

 

 

 

 

 

frame 0.

 

 

 

10

 

Frame 0

Interlaced

 

The interlace nibble to be used for the control packet

 

 

 

 

 

 

 

 

associated with frame 0.

 

 

 

 

 

 

 

 

 

 

11

 

Frame 1

Base Address

 

The 32-bit base address of the frame.

 

 

 

 

 

 

 

 

 

 

 

 

12

 

Frame 1

Words

 

The number of words (reads from the master port) to read

 

 

 

 

 

 

 

from memory for the frame.

 

 

 

 

 

 

 

 

 

 

13

 

Frame 1

Single Cycle

 

The number of single-cycle color patterns to read for the

 

 

 

 

 

Color Patterns

 

frame.

 

 

 

14

 

Frame 1

Reserved

 

Reserved for future use.

 

 

 

 

 

 

 

 

 

 

 

15

 

Frame 1

Width

 

The width to be used for the control packet associated with

 

 

 

 

 

 

 

 

frame 1.

 

 

 

16

 

Frame 1

Height

 

The height to be used for the control packet associated with

 

 

 

 

 

 

 

 

frame 1.

 

 

 

 

 

 

 

 

 

 

17

 

Frame 1

Interlaced

 

The interlace nibble to be used for the control packet

 

 

 

 

 

 

 

 

associated with frame 1.

 

 

 

 

 

 

 

 

 

 

Altera Corporation

Frame Reader IP Core

 

 

Send Feedback

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]