• No results found

ESKI - MODULE DOCUMENTATIONBRLC

N/A
N/A
Protected

Academic year: 2021

Share "ESKI - MODULE DOCUMENTATIONBRLC"

Copied!
1
0
0

Loading.... (view fulltext now)

Full text

(1)

ESKI - MODULE DOCUMENTATION BRLC

CLK DIMI<7:0>

PIXSI EN FSYNCI RESET

BRLO BRL<7:0>

FSYNCO

BRLC

Module responsible _______________________

Specification responsible Bengt Oelmann

Designers ____________________________________________

General description: BRLC (Binary Run-Length Coder) is run-length coding binary image data. The input image date comes as either all-ones or all-zeros bytes. The output data are run-length coded. The module can be in one of two modes. When it is enabled it performs the run-length coding. When disabled, it becomes transparent and passes all input data to its outputs.

(2)

CONTENTS

Page

1. SPECIFICATION...3

1.1 INTERFACEDESCRIPTIONDIGITALSIGNALS...3

1.2 HIERARCHY...4

1.3 FUNCTIONALITY...4

1.4 DESIGNGOALS...5

2. DESCRIPTION OF IMPLEMENTATION...6

3. VERIFICATION...6

4. DELIVERABLES...7

4.1 Digital modules...7

Rev Date Description of modification Sign

0 Initial issue

Page 2 of 7

(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

DIMI<7:0> CamIF 20 ns Image data

PIXSI CamIF 20 ns Image data input valid

EN Processor 20 ns Enable BRL-coding of data

FSYNCI CamIF 20 ns Frame synchronization

RESET External 20 ns Reset

Output signals

Signal name To Output delay Description

BRLO VLC 20 ns Binary Run-length data output valid

DOUT<7:0> VLC 20 ns Run-length coded image data

FSYNCO VLC 20 ns Frame synchronization output

(4)

1.2 Hierarchy

Hierarchy of module BRLC:

No hierarchy is given

1.3 Functionality

1.3.1 Run-length coding (RLC) of binary image data

The binary image coming as input is composed of pixels with values of either all-ones or all- zeros bytes (binary image). The function of the BRLC is to count the number of consecutive input pixel-values that have the same values and represent that sequence in a run-length format.

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

Data formats:

 Binary image data:

’One’: 11111111

’Zero’: 00000000

 Run-length format:

v6 v5 v4 v3 v2 v1 v0 p

A run-length code is contained in one byte. The most significant bit (p) holds the pixel-value, ’One’ is represented by a binary one and ’Zero’ is represented by a binary zero. The remaining six bits, v6 down to v0, is the binary value of the number of consecutive pixels of value p.

1.4 Dataflow control and synchronization 1.4.1 Initialization

After system reset, the BRLC waits for an active PIXSI. This indicates that a new pixel value is available on the input (DIMI).

1.4.2 Synchronization

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

1.4.3 Dataflow control

Dataflow control is provided by the PIXSI and BRLO signals.

1.5 Input parameters

Input parameter from the processor: EN (1 bit)

Page 4 of 7

(5)

1.6 Design goals Frequency: 15 MHz

(6)

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)

Page 6 of 7

(7)

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)

References

Related documents

46 Konkreta exempel skulle kunna vara främjandeinsatser för affärsänglar/affärsängelnätverk, skapa arenor där aktörer från utbuds- och efterfrågesidan kan mötas eller

Generally, a transition from primary raw materials to recycled materials, along with a change to renewable energy, are the most important actions to reduce greenhouse gas emissions

För att uppskatta den totala effekten av reformerna måste dock hänsyn tas till såväl samt- liga priseffekter som sammansättningseffekter, till följd av ökad försäljningsandel

The increasing availability of data and attention to services has increased the understanding of the contribution of services to innovation and productivity in

Generella styrmedel kan ha varit mindre verksamma än man har trott De generella styrmedlen, till skillnad från de specifika styrmedlen, har kommit att användas i större

Parallellmarknader innebär dock inte en drivkraft för en grön omställning Ökad andel direktförsäljning räddar många lokala producenter och kan tyckas utgöra en drivkraft

Närmare 90 procent av de statliga medlen (intäkter och utgifter) för näringslivets klimatomställning går till generella styrmedel, det vill säga styrmedel som påverkar

På många små orter i gles- och landsbygder, där varken några nya apotek eller försälj- ningsställen för receptfria läkemedel har tillkommit, är nätet av