Visible to Intel only — GUID: vgo1453175694995
Ixiasoft
Visible to Intel only — GUID: vgo1453175694995
Ixiasoft
16.7.2. Frame Reader Only Mode
To configure the Frame Buffer II IP core in frame reader mode, select Module is Frame Reader only mode in the parameter editor.
In this mode, when you set the frame dimensions through the Frame Information register and the frame start address through the Frame Start Address register, the IP core starts transmitting video frames read from DDR.
Writing to the Frame Start Address register initiates the video reading. If new frame dimensions are set, you must perform another write to the Frame Start Address register for the new settings to take effect (even if the frame start address is unchanged).
- A conventional fixed set of 2 or 3 buffers
- A dozen buffers dynamically allocated at runtime
- A constant test pattern buffer and a set of dynamic buffers
- Wait until the ready bit of the Frame Reader register is high, indicating that it is ready to receive details of a new frame to transmit.
Note: The Frame Buffer II IP core allocates sufficient frame information buffering for the number of frames set through the Delay Length parameter.
- Write the frame dimensions into the Frame Information register.
Note: The frame dimensions include the 4 interlaced bits (e.g. 0 for progressive, 8 for interlaced F0, and 12 for interlaced F1)
- Write the data for the frame into a buffer area N . This area may be at any address range visible to the frame buffer, as long as the Frame Buffer II is not already transmitting from that region of memory.
- Write the start address of the buffer to the Frame Start Address register (0x6).
- The Frame Buffer II starts transmitting image data from the buffer.
- Increment buffer number N, N = (N+1)%3, and repeat from step 1.
The frame reader issues an interrupt immediately after coming out of reset. You can use it to synchronize the system and trigger initiation of the first frame. To use it, you must set up your design to read a new frame after an interrupt indicates the previous one is done.