Presentation is loading. Please wait.

Presentation is loading. Please wait.

ADPCM Adaptive Differential Pulse Code Modulation

Similar presentations


Presentation on theme: "ADPCM Adaptive Differential Pulse Code Modulation"— Presentation transcript:

1 ADPCM Adaptive Differential Pulse Code Modulation
Team M4 Andrew Akindele Edward Shim James Lee Anthony Xu Project Objectives Stage 10 Short Final Presentation Design and implement an Adaptive DPCM Manager : Joe Bakker Date Apr. 14, 2003 Integrated Circuit Design Project

2 18-525 Integrated Circuit Design Project
ADPCM Overview Adaptive Differential Pulse Code Modulation (ADPCM) – Very popular waveform coding technique • Main application is Telecommunications – Speech compression for transmission, storage and reconstruction – Reduce the bit data rate while maintaining good voice quality – Technique can apply to all waveforms which need high-quality audio, image and modem data Integrated Circuit Design Project

3 How it works? Adaptive Differential Pulse Code Modulation
Assume neighboring audio samples are similar to each other Predict future samples based on previous samples Record only difference between actual samples and predicted values Lossy compression Integrated Circuit Design Project

4 18-525 Integrated Circuit Design Project
Where Is It Used? Image compression JPEG MPEG Audio compression WAV Advantages over PCM Integrated Circuit Design Project

5 Example Application (1)
Digital Voic phone system Integrated Circuit Design Project

6 Example Application (2)
DECT Phone System Integrated Circuit Design Project

7 Our Chosen Application
Application: compression of audio data for telecommunications Output Bandwidth: OC3 (155 Mbps) Clock: 155Mbps/4bits = 38.75Mhz Integrated Circuit Design Project

8 Algorithm Description
Step Size Table [89] = [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 21, 23, 25, 28, 31, 34, 37, 41, 45, 50, 130, 143, 157, 173, 190, 209, 230, 253, 279, 307, 337, 371, 408, 449, 494, 544, 598, 658, 724, 796, 876, 963, 1060, 1166, 1282, 1411, 1552, 1707, 1878, 2066, 2272, 2499, 2499, 2749, 3024, 3327, 3660, 4026, 4428, 4871, 5358, 5894, 6484, 7132, 7845, 8630, 9493, 10442, 11487, 12635, 13899, 15289, 16818, 18500, 20350, 22385, 24623, 27086, 29794, 32767] indexTable [16] = [-1, -1, -1, -1, 2, 4, 6, 8, -1, -1, -1, -1, 2, 4, 6, 8] step size table index increment table 16 bit input 4 bit output C code: ftp://ftp.cwi.nl/pub/audio/adpcm.zip Integrated Circuit Design Project

9 18-525 Integrated Circuit Design Project
ADPCM Features Operates on 16 bit values Constant 4:1 compression rate Quantized error output Adapts to rate of change in values C Code available at: ftp://ftp.cwi.nl/pub.audio/adpcm.zip Integrated Circuit Design Project

10 Error (Output) Quantization
Binary Numbers: 0101 = 0*23 + 1*22 + 0*21 + 1*20 = 5 ADPCM Error Output: 0101 = 1*(step) + 0*(step/2) + 1*(step/4) sign Integrated Circuit Design Project

11 Algorithm Description
Step 1: Difference Diff = Real Value - Predicted Value Step 2: Error and Prediction Generate error based on the step size and Diff Calculate change to Predicted Value using the step size and Diff Step 3: Step Size Change the index value depending on the error Change the step size using the index value Integrated Circuit Design Project

12 18-525 Integrated Circuit Design Project
ADPCM Block Diagram Integrated Circuit Design Project

13 Adaptation Example: Large Difference Increase Step
Indata: 1000 ValPred: 0 Diff: 1000 Step: Delta: 0 Indata: 1000 ValPred: 11 Diff: 989 Step: Delta: 7 Indata: 1000 ValPred: 41 Diff: 959 Step: Delta: 7 Indata: 1000 ValPred: 104 Diff: 896 Step: Delta: 7 Indata: 1000 ValPred: 240 Diff: 760 Step: Delta: 7 Indata: 1000 ValPred: 533 Diff: 467 Step: Delta: 7 Indata: 1000 ValPred: 996 Diff: 4 Step: Delta: 5 Indata: 1000 ValPred: 1057 Diff: 57 Step: Delta: 0 Indata: 1000 ValPred: 1001 Diff: 1 Step: Delta: 8 Indata: 1000 ValPred: 950 Diff: 50 Step: Delta: 8 Small Difference Decrease Step Integrated Circuit Design Project

14 18-525 Integrated Circuit Design Project
Design Steps C and Verilog Coding Schematics Gate Level Layout Functional Block Layout Component Correction and Optimization Floorplanning Chip Level Layout Simulation and Optimization Integrated Circuit Design Project

15 Major Design Decisions
ROM table to store step size and index tables Carry Lookahead Adder No pipelining Integrated Circuit Design Project

16 18-525 Integrated Circuit Design Project
Initial Floorplan Integrated Circuit Design Project

17 Detailed Floorplan (v.1)
Dimensions: 500 x 480 Integrated Circuit Design Project

18 Detailed Floorplan (v.2)
Dimensions: 450 x 480 Integrated Circuit Design Project

19 Detailed Floorplan (v.3)
Integrated Circuit Design Project

20 Road to Verification (1)
Integrated Circuit Design Project

21 Road to Verification (2)
Integrated Circuit Design Project

22 Road to Verification (3)
Integrated Circuit Design Project

23 Road to Verification (4)
Integrated Circuit Design Project

24 Road to Verification (5)
Integrated Circuit Design Project

25 Road to Verification (6)
Integrated Circuit Design Project

26 Road to Verification (7)
Integrated Circuit Design Project

27 Road to Verification (8)
Integrated Circuit Design Project

28 Road to Verification (9)
Integrated Circuit Design Project

29 Road to Verification (10)
Integrated Circuit Design Project

30 18-525 Integrated Circuit Design Project
Issues Encountered Integrated Circuit Design Project

31 Things to Look Out For In The Future
Integrated Circuit Design Project

32 18-525 Integrated Circuit Design Project
Pin Specs Integrated Circuit Design Project

33 18-525 Integrated Circuit Design Project
Part Specs Part Name PMOS NMOS Transistors Width Height Area Density Versions 21mux-16bit-buffered 52 104 98.50 16.70 0.0632 2 21mux-8bit-buffered 26 51.45 16.30 838.64 0.0620 1 ROMindex 14 32 46 27.60 28.35 782.46 0.0588 ROMstep 183 1672 1855 95.80 172.40 0.1123 4 clamp_index 92 48.70 27.90 0.0677 fsm 69 71 140 61.30 39.60 0.0577 fulladder8 112 224 99.00 36.90 0.0613 tspcdffw16 156 172 328 148.40 28.70 0.0770 3 tspcdffw8 78 86 164 62.50 0.0914 tspcdff16 120 76.10 39.15 0.0752 tspcdff8 60 38.00 35.40 0.0833 16bitadder 472 944 157.30 89.90 0.0668 6 16bitsub 488 976 158.55 0.0685 16bitaddsub 540 1080 159.75 106.10 0.0637 Integrated Circuit Design Project

34 18-525 Integrated Circuit Design Project
Part Specs (cont) Part Name PMOS NMOS Transistors Width Height Area Density Versions error_vpdiff_macro1 1153 2306 341.30 110.15 0.0613 7 error_vpdiff_macro2 325.60 103.90 0.0682 3 error_vpdiff_macro3 1069 2138 324.90 0.0633 macro_right_1 461 495 956 132.60 159.40 0.0452 1 macro_right_2 547 2070 2617 198.20 172.40 0.0766 2 macro_right_3 786 840 1626 202.00 171.70 0.0469 fullschematic_lhs 4435 8870 317.90 432.10 0.0646 6 fullschematic_rhs 1806 3409 5215 221.95 461.65 0.0509 FULL SCHEMATIC 6249 7852 14101 547.75 466.05 0.0552 Integrated Circuit Design Project

35 18-525 Integrated Circuit Design Project
Layer Mask (Active) Integrated Circuit Design Project

36 18-525 Integrated Circuit Design Project
Layer Mask (Poly) Integrated Circuit Design Project

37 18-525 Integrated Circuit Design Project
Layer Mask (Metal1) Integrated Circuit Design Project

38 18-525 Integrated Circuit Design Project
Layer Mask (Metal2) Integrated Circuit Design Project

39 18-525 Integrated Circuit Design Project
Layer Mask (Metal3) Integrated Circuit Design Project

40 18-525 Integrated Circuit Design Project
Layer Mask (Metal4) Integrated Circuit Design Project

41 18-525 Integrated Circuit Design Project
Full Chip Layout Integrated Circuit Design Project

42 Full Chip with Overlaid Floorplan
Integrated Circuit Design Project

43 18-525 Integrated Circuit Design Project
Conclusions Integrated Circuit Design Project

44 18-525 Integrated Circuit Design Project
Emulations (1) Integrated Circuit Design Project

45 18-525 Integrated Circuit Design Project
Emulations (2) Integrated Circuit Design Project

46 18-525 Integrated Circuit Design Project
Status Finish up empty slides Work on Final Paper Integrated Circuit Design Project


Download ppt "ADPCM Adaptive Differential Pulse Code Modulation"

Similar presentations


Ads by Google