Abstract:
วิทยานิพนธ์นี้นำเสนอการพัฒนาวงจรถอดรหัสเสียง แบบ MPEG-1 Layer Momo บน CPLD Chip โดยออกแบบด้วยภาษา VHDL และสังเคราะห์บน CPLD Chip ของบริษัท Altera รุ่น EPF10K100EQC240-3 ความซับซ้อนเทียบเท่ากับจำนวน 100,000 เกต วงจรถอดรหัสที่ออกแบบใช้ทรัพยากรในตัวชิป 54% นอกจากนี้ยังมีหน่วยความจำภายนอกเพื่อประหยัดทรัพยากรในตัวชิป วงจรที่สร้างขึ้นใช้วิธีการถอดรหัสแบบจำนวนเต็ม 16 บิทแทนการถอดรหัสแบบทศนิยม 24 บิทเพื่อเพิ่มความเร็วในการถอดรหัสและประหยัดทรัพยากรในชิปวิทยานิพนธ์ฉบับนี้มุ่งเน้นทดสอบการทำงานที่ค่อนข้างซับซ้อนบน CPLD Chip โดยเลือกการถอดรหัสเสียงแบบ MPEG-1 Layer 1 Mono เป็นตัวทดสอบวงจรถอดรหัสที่สร้างขึ้นสามารถถอดรหัสข้อมูลเสียงที่มีการเข้ารหัสแบบ MPEG-1 Layer 1 Mono และความถี่ของการสุ่มสัญญาณเสียงตามมาตรฐาน MPEG-1 8 คือ 32 kHz, 44.1 kHz และ 48 kHz โดยวงจรถอดรหัสจะรับข้อมูลจากคอมพิวเตอร์ผ่านาง Parallel Port เพื่อถอดรหัสและส่งเป็นเสียงออกทางลำโพง จากการเปรียบเทียบผลลัพธ์ระหว่างเสียงที่ได้จากการถอดรหัสแบบจำนวนเต็ม 16 บิทกับแบบทศนิยม 24 บิทพบว่ามีความคลาดเคลื่อนน้อยกว่า 1%This thesis presents the development of MPEG-1 Layer 1 Mono Audio Decoder on a CPLD Chip. The decoder was designed by using VHDL language and synthesized on a CPLD Chip of Altera model EPF10K100EQC240-3 with an equivalent complexity of about 100,000 gates. The design consumers 54 percent of resources on the chip and it has to use external memory to save the resources. The decoder was designed by using Integer or Fixed Point algorithm instead of Floating Point algorithm to increase decoding speed and save resources. This thesis emphasizes on implementation of complex algorithms on a CLPD Chip and MPEG-1 Layer 1 Mono decoder was chosen to test the implementation.The decoder can decode MPEG-1 Layer 1 Mono bit stream and the sampling frequency of input sound can by varied according to MPEG-1 standard that is 32 kHz, 44.1 KHz and 48 kHz. The encoded bit stream is sent from PC through a parallel port and decoded sound is sent to a speaker in real time. The decoded sound from Integer 16-bit algorithm is compared to the one from Floating Point 24-bit algorithm and is found that the difference is less than 1 percent.