11/21/21
11/21/21 11
BASE BAND ENCODER BASE BAND ENCODER
Project TeamProject Team
Shashank Tadakamadla Srinivasa Rao Mulakala
Supported BySupported Bengt Oelmann
S & M Design Team
11/21/21
11/21/21 22
Introduction
Overview of System Overview of System
Encoders Encoders
Interfacing of System Interfacing of System
Results Results
Conclusion Conclusion
S & M Design Team
BASE BAND ENCODER
BASE BAND ENCODER
11/21/21
11/21/21 33
BASE BAND ENCODER BASE BAND ENCODER
Base band Encoder is a part of Base band Encoder is a part of ZigBee lite transmitter.
ZigBee lite transmitter.
Zigbee is poised to become the Zigbee is poised to become the leading wireless technology for a leading wireless technology for a
myriad of uses ranging from building myriad of uses ranging from building
automation to industrial and automation to industrial and
residential applications.
residential applications.
Introduction Introduction
S & M Design Team
11/21/21
11/21/21 S & M Design Team 44
To Design a dedicated hardware module that performs Encoding techniques.
The encoded signal should be 8 bit digital signal of 40 MHz.
The type of output and the data rate of the output digital signal should be configured from microcontroller.
The maximum clock freq is 40 MHz.
AIM OF THE PROJECT
11/21/21
11/21/21 55
BASE BAND ENCODER BASE BAND ENCODER
What is Base Band Encoding ?
Converting 0s and 1s (binary data) into a Digital Signal is called LINE CODING.
The process on Line Coding is called ENCODING. Various Encoding schemes are used to transmit digital data across
a medium effectively and error free.
The process of transmitting encoded digital data over single unmultiplexed channel is defined as Base band Encoding.
11/21/21 6
BASE BAND ENCODER BASE BAND ENCODER
S & M Design Team
PARALLEL TO SERIAL CONVERTER
N R Z
R Z
MANCHESTER
DIFFRENTIAL MANCHESTER
WISHBONE INTERFACE 8 BIT REGISTER
4 X 1 M U X Do
D1 D2 D3 D4 D5 D6 D7
A CK
Co
C1
C2
C3
ADDRESS BUS DATABUS
WRITE BUS
S o S 1
SEQUENTIAL OUTPUT CODE
REQ HANDSHAKE
SIGNALS
ENCODED SERIAL DATA
FREQUENCY MODULATOR
4 x 1 MUX
40 MHZ
S 2
S 3 LSB FIRST LOAD
4 4
REQUEST 4 SHIFT ENABLE
MIDDLE TRANSITION REQUEST SHIFT ENABLE
MIDDLE TRANSITION
RESET PARALLEL
8 BIT DATA AS INPUT
11/21/21 7
BASE BAND ENCODER BASE BAND ENCODER
Classification of digital encoding schemes
S & M Design Team
11/21/21
11/21/21 88
BASE BAND ENCODER BASE BAND ENCODER
NRZNRZ
0- Negative0- Negative
1- Positive1- Positive
RZRZ
0- Same as input0- Same as input
1- Transaction at the middle of the bit1- Transaction at the middle of the bit
S & M Design Team
11/21/21
11/21/21 99
BASE BAND ENCODER BASE BAND ENCODER
NRZNRZ
0- Negative0- Negative
1- Positive1- Positive
RZRZ
0- Same as input0- Same as input
1- Transaction at the middle of the bit1- Transaction at the middle of the bit
S & M Design Team
11/21/21
11/21/21 1010
S & M Design Team
BASE BAND ENCODER BASE BAND ENCODER
Manchester
Transaction from high to low indicates 1
Transaction from low to high indicates 0
0 is represented by presence of transition at the begining of the bit period
1 is represented by absence of transition at the begining of the bit period
Differential Manchester
11/21/21
11/21/21 1111
S & M Design Team
BASE BAND ENCODER BASE BAND ENCODER
Manchester
Transaction from high to low indicates 1
Transaction from low to high indicates 0
0 is represented by presence of transition at the begining of the bit period
1 is represented by absence of transition at the begining of the bit period
Differential Manchester
11/21/21
11/21/21 S & M Design Team 1212
BASE BAND ENCODER BASE BAND ENCODER
Advantages & Dis-advantages
11/21/21
11/21/21 1313
BASE BAND ENCODER BASE BAND ENCODER
S & M Design Team
Basic Formulae
TB = 1/D;
N = TB/TS.
Where,
TS =System clock time (sec).
TB =Time taken per bit (1/s).
N =No of clk cycles required to transmit a bit.
D =Data rate (kbps).
11/21/21
11/21/21 1414
BASE BAND ENCODER BASE BAND ENCODER
S3 S2 Data
Rate(Kbps)
0 0 10
0 1 20
1 0 40
1 1 80
S & M Design Team
WISHBONE INTERFACE
S1 S0 Encoding Type
0 0 NRZ
0 1 RZ
1 0 Manchester
1 1 Differential
Manchester
11/21/21
11/21/21 1515
BASE BAND ENCODER BASE BAND ENCODER
S & M Design Team
Results
The outputs obtained from MAT LAB and VHDL are similar.
The encoded digital output Can be obtained at four different data rates as per the requirement.
Total memory usage is 79444 kilobytes
Number of Slices: 353 out of 768 45%
Number of Slice Flip Flops: 157 out of 1536 10%
Number of 4 input LUTs: 591 out of 1536 38%
Number of bonded IOBs: 17 out of 124 13%
Number of GCLKs: 1 out of 8 12%
SYNTHESIS REPORT
11/21/21
11/21/21 1616
BASE BAND ENCODER BASE BAND ENCODER
S & M Design Team
Conclusion
We have successfully obtained the required type of codes at the output as well the signal is continuous.
11/21/21
11/21/21 S & M Design Team 1717