SlideShare une entreprise Scribd logo
1  sur  11
SERIAL DATA PROTOCOL

• The I/P data should be serial one bit data.
• The Preamble data 10101010 should be matched and when it is
  matched store the 16 bit data.
• Make the Ready signal High When the first 8 bit is stored.
• Send the first 8 bit data parallel to the O/ P.
• When the first 8 bit is received then the Rx sends an ACK signal.
• After receiving ACK signal ready signal should go down.
• When the lower 8 bit data is ready send again ready signal high
  send data to the O/P port.
• Wait for ACK signal.
• If ACK signal signal does not come within 7 clock cycle ERROR signal
  make high.
• And the device goes back to IDLE state.
TOP LEVEL MODULE



S_in
                 Dout parallel

                     ACK
Clock
                     Ready

         Reset
Clock signal flow graph
clk
rst

din

SHift_en


Shift_Reg

Ready
 Ack


dout
error
TOP LEVEL INTERNAL MODULE


                 Shift REGISTER SIPO
S_in                                      Dout parallel
                                          8 bit

                    TD_En         SD_En

Clock
                                               AKW
                  STATE MACHINE
                                          Ready



                     Reset
STATE MACHINE(Description)
• The state machine diagram is used to detect
  the Preamble Data.
• The Preamble data Format is 10101010.
• As it detect the Header Data it Enable the Shift
  register for next 16 bit.
• At the same time as the register is 8 bit long.
• For the Synchronization of 8 bit data to output
  there is one more counter which enable the
  TX_Data signal High as the 8 bit is stored.
STATE MACHINE(cont…)
• When the data transfer is complete it again go
  to the next state to check the Header Data
  format.
• Thus the state machine moves from one state
  to another until the next header is detected.

• Complete:
STATE MACHINE DIAGRAM
                                            reset
                                                         Din== X

                                        idle        0
                                1
                                                                            0
              TD_En=1’b1                0                   s1
count !=16
           Ready=1’b1 S8
                                                                            1
             SD_En=1’b1

                  1
                                                                   1    s2
                       0
             S7                                                                 0

             0                                              0
                           1
                  S6                                                   s3
                                    0           1                  1
                       1
                               S5                   S4
                                            0
SHIFT REGISTER
• The shift register should shift the 16 bit data.
• When the data is shifted send the 8 bit data to
  O/P.
• When the data is Received Rx should send
  ACK signal then shift register transfer its
  another 8 bit data to the output.
• The output data should be 8 bit parallel in
  nature.
SHIFT REGISTER


Sin
         Sequential
           Block      Combo
clk                    Block
                               Dout
SD_En



TD_En



             reset
TEST BENCH
• The test bench should generate the clock and
  reset signal.
• The transfer of data should go the top
  module goes serially.
• The transfer of data take place at each clock
  edge.
• On receiving the 8 bit data send the ACK
  signal.
• Test the top module.
Ethertnet data transfer.ppt

Contenu connexe

Tendances

Modulo n counter
Modulo n counterModulo n counter
Modulo n counterManoj Guha
 
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav RaikarDigital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav RaikarGauravRaikar3
 
Computer system architecture 16 counters
Computer system architecture 16 countersComputer system architecture 16 counters
Computer system architecture 16 countersthearticlenow
 
Mod 10 synchronous counter updated
Mod 10 synchronous counter updatedMod 10 synchronous counter updated
Mod 10 synchronous counter updatedDANISHAMIN950
 
Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Abhilash Nair
 
Ripple counter
Ripple counterRipple counter
Ripple counterchandkec
 
Counter with memes
Counter with memesCounter with memes
Counter with memesLee Diaz
 
Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4Asif Iqbal
 

Tendances (20)

Johnson Counter
Johnson CounterJohnson Counter
Johnson Counter
 
MSI Shift Registers
MSI Shift RegistersMSI Shift Registers
MSI Shift Registers
 
Chapter#8
Chapter#8Chapter#8
Chapter#8
 
Modulo n counter
Modulo n counterModulo n counter
Modulo n counter
 
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav RaikarDigital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
 
Counters
CountersCounters
Counters
 
4 bit Binary counter
4 bit Binary counter4 bit Binary counter
4 bit Binary counter
 
Counter
CounterCounter
Counter
 
Computer system architecture 16 counters
Computer system architecture 16 countersComputer system architecture 16 counters
Computer system architecture 16 counters
 
Counter
CounterCounter
Counter
 
Mod 10 synchronous counter updated
Mod 10 synchronous counter updatedMod 10 synchronous counter updated
Mod 10 synchronous counter updated
 
Counters
CountersCounters
Counters
 
MSI Counters
MSI CountersMSI Counters
MSI Counters
 
Ece221 Ch7 Part1
Ece221 Ch7 Part1Ece221 Ch7 Part1
Ece221 Ch7 Part1
 
Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)
 
Ripple counter
Ripple counterRipple counter
Ripple counter
 
Counter with memes
Counter with memesCounter with memes
Counter with memes
 
Ring counter
Ring counterRing counter
Ring counter
 
Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4
 
Dee2034 chapter 5 counter
Dee2034 chapter 5 counterDee2034 chapter 5 counter
Dee2034 chapter 5 counter
 

En vedette

CRC Error coding technique
CRC Error coding techniqueCRC Error coding technique
CRC Error coding techniqueMantra VLSI
 
Physical design
Physical design Physical design
Physical design Mantra VLSI
 
Basic electronics
Basic electronicsBasic electronics
Basic electronicsMantra VLSI
 
Flip Chip technology
Flip Chip technologyFlip Chip technology
Flip Chip technologyMantra VLSI
 
Vlsi physical design
Vlsi physical designVlsi physical design
Vlsi physical designI World Tech
 
Physical design-complete
Physical design-completePhysical design-complete
Physical design-completeMurali Rai
 
Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Sudhanshu Srivastava
 
B sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuitB sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuitRai University
 
Advanced computer network
Advanced computer networkAdvanced computer network
Advanced computer networkTrinity Dwarka
 
Carport of the Future has Solar EV, Hybrid Wind Charger Capabilities
Carport of the Future has Solar EV, Hybrid Wind Charger CapabilitiesCarport of the Future has Solar EV, Hybrid Wind Charger Capabilities
Carport of the Future has Solar EV, Hybrid Wind Charger CapabilitiesJackie_Harmon
 
Saisri_Main seminar-1
Saisri_Main seminar-1Saisri_Main seminar-1
Saisri_Main seminar-1SAISRI R
 

En vedette (20)

Synthesis
SynthesisSynthesis
Synthesis
 
CRC Error coding technique
CRC Error coding techniqueCRC Error coding technique
CRC Error coding technique
 
Verilog HDL
Verilog HDLVerilog HDL
Verilog HDL
 
Physical design
Physical design Physical design
Physical design
 
verilog code
verilog codeverilog code
verilog code
 
Number system
Number systemNumber system
Number system
 
Basic electronics
Basic electronicsBasic electronics
Basic electronics
 
Flip Chip technology
Flip Chip technologyFlip Chip technology
Flip Chip technology
 
Vlsi physical design
Vlsi physical designVlsi physical design
Vlsi physical design
 
Physical design-complete
Physical design-completePhysical design-complete
Physical design-complete
 
Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)
 
B sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuitB sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuit
 
Crc
CrcCrc
Crc
 
Advanced computer network
Advanced computer networkAdvanced computer network
Advanced computer network
 
Crash course in verilog
Crash course in verilogCrash course in verilog
Crash course in verilog
 
Carport of the Future has Solar EV, Hybrid Wind Charger Capabilities
Carport of the Future has Solar EV, Hybrid Wind Charger CapabilitiesCarport of the Future has Solar EV, Hybrid Wind Charger Capabilities
Carport of the Future has Solar EV, Hybrid Wind Charger Capabilities
 
Saisri_Main seminar-1
Saisri_Main seminar-1Saisri_Main seminar-1
Saisri_Main seminar-1
 
Audio spotlighting
Audio spotlightingAudio spotlighting
Audio spotlighting
 
Wishbone tutorials
Wishbone tutorialsWishbone tutorials
Wishbone tutorials
 
Super Capacitor Buses in Shanghai
Super Capacitor Buses in ShanghaiSuper Capacitor Buses in Shanghai
Super Capacitor Buses in Shanghai
 

Similaire à Ethertnet data transfer.ppt

Similaire à Ethertnet data transfer.ppt (20)

17 registers
17 registers17 registers
17 registers
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
 
5.8 Integrated circuits
5.8 Integrated circuits5.8 Integrated circuits
5.8 Integrated circuits
 
Microprocessor based system design
Microprocessor based system designMicroprocessor based system design
Microprocessor based system design
 
digital elctronics
digital elctronicsdigital elctronics
digital elctronics
 
Registers siso, sipo
Registers siso, sipoRegisters siso, sipo
Registers siso, sipo
 
8085 MICROPROCESSOR
8085 MICROPROCESSOR 8085 MICROPROCESSOR
8085 MICROPROCESSOR
 
8051.pdf
8051.pdf8051.pdf
8051.pdf
 
Admission in india 2015
Admission in india 2015Admission in india 2015
Admission in india 2015
 
interfacing of temperature sensor LM 35 with 8051.pdf
interfacing of temperature sensor LM 35 with 8051.pdfinterfacing of temperature sensor LM 35 with 8051.pdf
interfacing of temperature sensor LM 35 with 8051.pdf
 
Admission in india 2015
Admission in india 2015Admission in india 2015
Admission in india 2015
 
8085 paper-presentation
8085 paper-presentation8085 paper-presentation
8085 paper-presentation
 
Sequential Logic
Sequential LogicSequential Logic
Sequential Logic
 
Unit IV version I.ppt
Unit IV version I.pptUnit IV version I.ppt
Unit IV version I.ppt
 
Computer design and architecture with simple cpu
Computer design and architecture with simple cpuComputer design and architecture with simple cpu
Computer design and architecture with simple cpu
 
Registers and counters
Registers and countersRegisters and counters
Registers and counters
 
JK flip flops
JK flip flopsJK flip flops
JK flip flops
 
Lecture 12.pptx
Lecture 12.pptxLecture 12.pptx
Lecture 12.pptx
 
15CS32 ADE Module 4
15CS32 ADE Module 415CS32 ADE Module 4
15CS32 ADE Module 4
 

Ethertnet data transfer.ppt

  • 1. SERIAL DATA PROTOCOL • The I/P data should be serial one bit data. • The Preamble data 10101010 should be matched and when it is matched store the 16 bit data. • Make the Ready signal High When the first 8 bit is stored. • Send the first 8 bit data parallel to the O/ P. • When the first 8 bit is received then the Rx sends an ACK signal. • After receiving ACK signal ready signal should go down. • When the lower 8 bit data is ready send again ready signal high send data to the O/P port. • Wait for ACK signal. • If ACK signal signal does not come within 7 clock cycle ERROR signal make high. • And the device goes back to IDLE state.
  • 2. TOP LEVEL MODULE S_in Dout parallel ACK Clock Ready Reset
  • 3. Clock signal flow graph clk rst din SHift_en Shift_Reg Ready Ack dout error
  • 4. TOP LEVEL INTERNAL MODULE Shift REGISTER SIPO S_in Dout parallel 8 bit TD_En SD_En Clock AKW STATE MACHINE Ready Reset
  • 5. STATE MACHINE(Description) • The state machine diagram is used to detect the Preamble Data. • The Preamble data Format is 10101010. • As it detect the Header Data it Enable the Shift register for next 16 bit. • At the same time as the register is 8 bit long. • For the Synchronization of 8 bit data to output there is one more counter which enable the TX_Data signal High as the 8 bit is stored.
  • 6. STATE MACHINE(cont…) • When the data transfer is complete it again go to the next state to check the Header Data format. • Thus the state machine moves from one state to another until the next header is detected. • Complete:
  • 7. STATE MACHINE DIAGRAM reset Din== X idle 0 1 0 TD_En=1’b1 0 s1 count !=16 Ready=1’b1 S8 1 SD_En=1’b1 1 1 s2 0 S7 0 0 0 1 S6 s3 0 1 1 1 S5 S4 0
  • 8. SHIFT REGISTER • The shift register should shift the 16 bit data. • When the data is shifted send the 8 bit data to O/P. • When the data is Received Rx should send ACK signal then shift register transfer its another 8 bit data to the output. • The output data should be 8 bit parallel in nature.
  • 9. SHIFT REGISTER Sin Sequential Block Combo clk Block Dout SD_En TD_En reset
  • 10. TEST BENCH • The test bench should generate the clock and reset signal. • The transfer of data should go the top module goes serially. • The transfer of data take place at each clock edge. • On receiving the 8 bit data send the ACK signal. • Test the top module.