This preview shows page 1-2-3-4-5-6-7-51-52-53-54-55-56-57-58-103-104-105-106-107-108-109 out of 109 pages.
Voice Over SLIPSubmitted by: Brian Schmidt and Matthew WelshDate of Submission: December 14, 2005Course Name: 6.111 Introductory Digital Systems LaboratoryAbstract:Inspired by the recent surge in VoIP popularity, we design and implement a phone systemthat is capable of packeting voice data using the Internet Protocol (IP) and transmitting itover a Serial Line Internet Protocol (SLIP) connection. A simple audio codec utilizingdownsampling and upsampling provides audio data at a rate comparable to the maximumtransmission rate possible over the serial connection.Brian SchmidtMatthew Welsh Voice Over SLIPContents1 Overview 12 Module Descriptions 22.1 Internet Protocol (IP) Encoder . . . . . . . . . . . . . . . . . . . . . . . . . 22.2 IP Decoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42.3 Tigon Protocol Encoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.4 Tigon Protocol Decoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62.5 SLIP Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.6 RS232 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.6.1 Baud Gen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.6.2 Async Transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.6.3 Async Receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.7 SLIP Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.7.1 SlipSend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.7.2 SlipRec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Testing and Debugging 113.1 IP Encoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113.2 IP Decoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133.3 Tigon Protocol Encoder/Decoder . . . . . . . . . . . . . . . . . . . . . . . . 133.4 RS232 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133.5 SLIP Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143.6 PhoneControls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153.7 PongGame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153.8 SimpleAudioCo dec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153.9 Entire System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163.10 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Appendices 18A debounce.v 18B display string.v 18C ipDecoder.v 27D ipEncoder.v 30E lab3.v 35F lab4.v 47iBrian SchmidtMatthew Welsh Voice Over SLIPG labkit.v 64H phoneControls.v 78I ps2new.v 82J rs232 v2.v 86K simpleAudioCodec.v 91L SlipRec.v 93M SlipSend.v 95N synchronize.v 99O tigonProtocolDecoder.v 99P tigonProtocolEncoder.v 102iiBrian SchmidtMatthew Welsh Voice Over SLIPList of Figures1 Block Diagram Layout of all Voice Over SLIP modules . . . . . . . . . . . . 12 The middle waveform shows the audio data from the AC97, the bottom wave-form shows the data compressed into IP packets, and the top waveform showsthe audio data send to the AC97 on the receiving labkit. . . . . . . . . . . . 23 A typical IP packet generated by the IP Encoder Module . . . . . . . . . . . 34 Major FSM of IP Encoder Module . . . . . . . . . . . . . . . . . . . . . . . 45 The major FSM of the IP Decoder module . . . . . . . . . . . . . . . . . . . 56 Major FSM of the Tigon Protocol Encoder module . . . . . . . . . . . . . . 67 Tigon Protocol Decoder module FSM . . . . . . . . . . . . . . . . . . . . . . 78 Graphical representation of the SlipSend module FSM . . . . . . . . . . . . . 109 Graphical representation of the SlipRec module FSM . . . . . . . . . . . . . 1210 Testbench of SLIP send module . . . . . . . . . . . . . . . . . . . . …
View Full Document