• No results found

ESKI - MODULE DOCUMENTATIONVLC

N/A
N/A
Protected

Academic year: 2021

Share "ESKI - MODULE DOCUMENTATIONVLC"

Copied!
1
0
0

Loading.... (view fulltext now)

Full text

(1)

ESKI - MODULE DOCUMENTATION VLC

CLK

BRL<7:0>

BRLI

EN

FSYNCI

RESET

VLC<7:0>

FSYNCO

VLC

FIFO_FULL

FIFO_HALF

FIFO_EMPTY

RD_FIFO

Module responsible _______________________

Specification responsible Bengt Oelmann

Designers ____________________________________________

General description: VLC (Variable Length Coder) is doing variable-length coding of run-length data originating from a binary image. The VLC is operating with a fixed codeword table with a size of 25620 bits where the maximum coderword length is 16 bits.

(2)

CONTENTS

Page

1. SPECIFICATION...3

1.1 INTERFACEDESCRIPTIONDIGITALSIGNALS...3

1.2 HIERARCHY...4

1.3 FUNCTIONALITY...4

1.3.1 Variable-length coding (VLC) of run-length coded image data...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

DESCRIPTION OF IMPLEMENTATION...5

2. VERIFICATION...5

3. DELIVERABLES...6

3.1 DIGITALMODULES...6

Rev Date Description of modification Sign

0 Initial issue

Page 2 of 6

(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 External - Clock

BRL<7:0> BRLC 20 ns Run-length data

BRLI BRLC 20 ns Data valid input

EN Processor 20 ns Enable coding of data

FSYNCI BRLC 20 ns Frame synchronization

RESET External 20 ns Reset

RD_FIFO Processor 20 ns Read from FIFO

Output signals

Signal name To Output delay Description

VLC<7:0> Processor 20 ns Run-length coded image data FSYNCO Processor 20 ns Frame synchronization output FIFO_EMPTY Processor 20 ns Output FIFO is empty

FIFO_FULL Processor 20 ns Output FIFO is full FIFO_HALF Processor 20 ns Output FIFO is half-full

(4)

1.2 Hierarchy

Hierarchy of module BRLC:

No hierarchy is given

1.3 Functionality

1.3.1 Variable-length coding (VLC) of run-length coded image data

In VLC coding there is a one-to-one mapping between the symbol (in this case the run-length code) and its code. The mapping is made by using a fixed look-up table. The table contains two fields per symbol: 1) the variable-length code (maximum 16-bits) and 2) its actual length (4-bits).

The VLC-module shall work according to the description given above when the input signal EN = 1. If EN = 0 the VLC-module shall be transparent.

1.4 Dataflow control and synchronization 1.4.1 Initialization

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

1.4.2 Synchronization

The FSYNCI signal indicates that the run-length value on BRL 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 BRLI. When BRLI is active there is a new run-length code available on the input BRL.

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 (VLC) and read-out 8-bits at a time. 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 6

(5)

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.

2. 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)

(6)

3. Deliverables

3.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)

Page 6 of 6

References

Related documents

This paper presents two approaches to acceleration of variable-length decoding of run-length coded image data in the Nios II embedded processor for Altera FPGA implementation by

GAIN&lt;3:0&gt; CI 20 ns Pixel amplifier gain TH1&lt;7:0&gt; CI 20 ns Pixel transfer function TH2&lt;7:0&gt; CI 20 ns Pixel transfer function SLOPE1&lt;13:0&gt; CI 20 ns Pixel

EN_BUFF Processor 20 ns Enable output of buffered frame EN_FC Processor 20 ns Enable capturing of image from IS CONFIGURE ImageSensor 20 ns Init image sensor.. RESET External 20

DIMI&lt;7:0&gt; ImProc 20 ns Input image data TH&lt;7:0&gt; Processor 20 ns Threshold value Output signals2. Signal name To Output

After controlling for age, sex, country of birth and employment status, household income and self-rated econ- omy were associated with all six psychosocial resources; occupation

Resultatet indikerade att sinnesstimulering och att patienterna själva kunde påverka omgivningen med hjälp av assisterande teknik, var de vanligaste arbetsterapeutiska

They are also the same ones used to represent the meta data in each blog post, to give the user a sense of recognition and coherence, both important for good usability as said

• Operands come either from register file or from immediate data (carried by an instruction).. • Results in the register file need to be written back to the