• No results found

ESKI - MODULE DOCUMENTATIONFMC (Frame memory controller)

N/A
N/A
Protected

Academic year: 2021

Share "ESKI - MODULE DOCUMENTATIONFMC (Frame memory controller)"

Copied!
1
0
0

Loading.... (view fulltext now)

Full text

(1)

ESKI - MODULE DOCUMENTATION FMC (Frame memory controller)

CLK

DIN<7:0>

PIXS

FSYNCI RESET

MEM_D<7:0>

MEM_WE

FMC

MEM_A<N:0>

MEM_CS

MEM_OE

DIM_MEM<7:0>

DIM_CAM<7:0>

PIXS_MEM

PIXS_CAM

FSYNCO SAVE_IM

G ONCE EV_SECOND EN_MEM_DATA

EMPTY

Module responsible _______________________

Specification responsible Mattias O’Nils

Designers ____________________________________________

General description: FMC (Frame Memory Controller) module handles the storage and load of image data on a frame memory (standard SRAM device).

(2)

CONTENTS

Page

1. SPECIFICATION...3

1.1 INTERFACEDESCRIPTIONDIGITALSIGNALS...3

1.2 HIERARCHY...4

1.3 FUNCTIONALITY...4

1.3.1 Frame buffering and streaming...4

1.4 DATAFLOWCONTROLANDSYNCHRONIZATION...4

1.4.1 Initialization...4

1.4.2 Synchronization...4

1.4.3 Dataflow control...4

1.5 INPUTPARAMETERS...4

1.6 DESIGNGOALS...4

2. DESCRIPTION OF IMPLEMENTATION...5

3. VERIFICATION...5

4. DELIVERABLES...5

4.1 Digital modules...5

Rev Date Description of modification Sign

0 Initial issue

Page 2 of 5

(3)

1. Specification

1.1 Interface description digital signals Inputs, outputs and bidirs in alphabetic order.

Input signals

Signal name From Input delay Description

CLK CI - Clock

DIN<7:0> IC 20 ns Pixel data from image capture

EN_MEM_DATA CI 20 ns Enable pixel data from memory

EV_SECOND CI 20 ns Save every second frame

FSYNCI IC 20 ns Frame synch signal

ONCE CI 20 ns Save once only

PIXS IC 20 ns Pixel strobe

RESET CI 20 ns Reset

SAVE_IM CI 20 ns Control for frame buffering

Output signals

Signal name To Output delay Description

DIM_MEM<7:0

>

CI 20 ns Pixel data from frame memory

DIM_CAM<7:0> CI 20 ns Pixel data from image sensor

EMPTY CI 20 ns Indicates if frame memory is empty

FSYNCO CI 20 ns Frame synch signal

MEM_A<N:0> FM 20 ns Address to frame memory

MEM_CS FM 20 ns Chip select signal to frame memory

MEM_OE FM 20 ns Output enable signal to frame memory

MEM_WE FM 20 ns Write enable signal to frame memory

PIXS_CAM CI 20 ns Pixel strobe for image sensor data

PIXS_MEM CI 20 ns Pixel strobe for memory data

Bi-directional signals

Signal name To/From Output delay Description

MEM_D<7:0> FM 20 ns Pixel data to and from frame memory

(4)

1.2 Hierarchy

Hierarchy of module FMC:

No hierarchy is given

1.3 Functionality

1.3.1 Frame buffering and streaming

The FMC (Frame Memory Controller) has two functions: (1) Buffer/load image data from a frame memory and (2) stream pixel data from the image capture (IC) module to the output.

Frame buffering is done in two modes; either a frame is stored once and kept in memory or a frame is buffered every second frame captured.

1.4 Dataflow control and synchronization 1.4.1 Initialization

After system reset, the VLC waits for an active DVI. This indicates that a new run-length value is available on the input (DIN).

1.4.2 Synchronization

The FSYNCI signal indicates the that the run-length value on DIN starts with the first pixel in a FRAME. FSYNCO indicates that the VLC given at the output DOUT starts with the first pixel in a FRAME. Variable length coding is only made within frames.

1.4.3 Dataflow control

On the input-side, dataflow control is provided by the DVI. When DVI is active there is a new run-length code available on the input DIN.

On the output-side the FIFO-control (FIFO_FULL, FIFO_HALF, FIFO_EMPTY) indicates the status of the data outputs. The buffer containing the variable-length code is of 16-bits (DOUT). This buffer may contain many codewords and also non-complete codewords that partially exists in the previous or next output. there is a control bit (FSYNCO) that indicates that the first codeword in the buffer contains the first run-length byte in a frame.

1.5 Input parameters

Input parameter from the processor: EN (1 bit) 1.6 Design goals

Frequency: 15 MHz

Page 4 of 5

(5)

2. Description of implementation

The implementation strategy should be described here. If special techniques have been used to fulfill the Design goal demands, this should be pointed out.

3. Verification

Describe the strategy used for verifying that the module works according to specification.

 How is the module simulated?

 Which functions and parameters are covered and which are not covered by the simulations? (referred to specification)

 How is the other functions and parameters verified?

 What are the results compared to (Matlab model, C-program, Behavioral model, manually from specification, other)

4. Deliverables

4.1 Digital modules

The following documents should be included in the module documentation:

 RTL-code(s)

 Schematics

 Test bench(es)

The following documents may be included in the module documentation (optional):

 Result from simulation

 Synthesis script

 Synthesis constraints (if other than project common constraints)

 Synthesis report(s)

References

Related documents

We have shown that meandering nano-channels substantially ease direct imaging of DNA molecules in the Mbp range, by demonstrating a 5.7 Mbp DNA molecule at 50% extension within a

Calculus Demystified Chemistry Demystified College Algebra Demystified Databases Demystified Data Structures Demystified Differential Equations Demystified Digital

- an analysis of climate change communication in the Swedish agricultural sector.

The first transformation between RG 2000 and the previous reference frame RG 82 was performed by deriving a 1-parameter fit, after correction for land uplift, based on 24 of

The IC (Image Capture) module captures data form the image sensor and outputs this in another format for further image processing. Additionally, the IC automatically controls the

The experimental tests were made in the mechanical laboratory at the University of Karlskrona/Ronneby, by applying loads at two different distances, L 1 = 70 mm and L 2 = 187 mm,

Photocentric variability of the quasars has been sim- ulated using a Markov chain model at the level of 100 µas and does not appear to significantly perturb the results for either

When it comes to dynamic design of the structures, instead of using steady mean wind flow, the gust wind loads must be considered, since they usually exceed the mean