(For USM Staff/Student Only)

EngLib USM > Ω School of Electrical & Electronic Engineering >

Peranti masukan dan keluaran 8 bit dengan menggunakan fpga/Mohd Pasha Abd Razak

Peranti masukan dan keluaran 8 bit dengan menggunakan fpga_Mohd Pasha Abd Razak_E3_2006_NI
Projek ini adalah bertujuan untuk menghasilkan satu contoh dasar bagi peranti masukan dan keluaran lapan bit dengan menggunkan FPGA. Peranti masukan keluaran yang dihasilkan akan mempunyai fungsi yang sama dengan mod 0 bagi cip masukan keluaran 8255 yang sudah berada dipasaran. Peranti masukan keluaran yang dihasilkan terdiri daripada tiga port masukan dan keluaran 8 bit. Setiap port boleh melakukan fungsi baca atau tulis bergantung kepada perkataan kawalan yang diberikan kepadanya. Peranti ini boleh diantaramuka dengan papan mikropengawal 8051. Tujuan utama peranti masukan keluaran 8 bit ini dibina adalah untuk menambahkan bilangan port masukan dan keluaran bagi mikropengawal 8051. Didalam projek ini FPGA telah digunakan dalam penghasilan peranti masukan dan keluaran lapan bit. Jenis FPGA yang digunakan adalah xilinx 4010XLPC84 dibawah keluarga XC4000XL. Ia telah digunakan didalam projek ini kerana dapat mengurangkan kos dan masa bagi penghasilan rekabentuk litar. Kod VHDL pula telah digunakan untuk mengawal kelakuan bagi papan FPGA. Teknik perihalan kelakuan telah digunakan didalam menulis kod VHDL. Litar yang telah siap direkabentuk seterusnya diuji dengan papan mikropengawal 8051 untuk memastikan rekabentuk yang telah dihasilkan adalah sah. Di dalam rekabentuk ini sebanyak 11% CLBs dan 58% IOBs telah digunakan. Nilai lengah maksimum bagi peranti ini pula adalah sebanyak 41.596 ns. Hasil bagi projek ini adalah sebuah peranti yang boleh menerima atau mengeluarkan sebanyak 8 bit data kepada mikropengawal 8051. ______________________________________________________________________________________ The purpose of this project is to design a prototype of an eight bits input output device based on FPGA. The input output device will have the same function as mode 0 of the 8255 input output chip that is already in the market today. The prototype contain three eight bits accessible ports ( port A, B and C ). Each port can be programmed to write or read data depends on the control words given to the device. The eight bits input output device can be interface with the 8051 microcontroller to increase the number of input and output port capability of the microcontroller. In this project, FPGA and VHDL code are used to design the prototype. XC4010XLPC84 is used as a demo board. It is one of the FPGA in XC4000XL series and produce by xilinx. The main reason of using xilinx FPGA is because it can significantly reduces cost and time of circuit design process. VHDL code is used to define the behavior of FPGA. Behavioral description technique is used to write the VHDL code for each macro. The circuit that had been design are tested by using microcontroller board. Testing process is important to determine the functionality of the circuit. In this design, 11% CLBs and 58% IOBs had been used from the FPGA. There are redundant CLBs and IOBs that can be used to improve the circuit in the future. The maximum delay for the entire device is 41.596 ns. The result of this project is a device that can be use to read or write, 8 bits of data from the 8051 microcontroller.
Contributor(s):
Mohd Pasha Abd Razak - Author
Language:
Bahasa Melayu
Subject Keywords:
a prototype ; eight bits ; interface
First presented to the public:
5/1/2006
Original Publication Date:
4/16/2019
Previously Published By:
Universiti Sains Malaysia
Place Of Publication:
School of Electrical & Electronic Engineering
Citation:
Extents:
Number of Pages - 116
License Grantor / Date Granted:
  / ( View License )
Date Deposited
2019-04-16 15:46:05.139
Submitter:
Nor Hayati Ismail

All Versions

Thumbnail Name Version Created Date
Peranti masukan dan keluaran 8 bit dengan menggunakan fpga/Mohd Pasha Abd Razak1 2019-04-16 15:46:05.139