Universal Serial Bus ( USB ) is the ultimate mode of communication in
the world of electronic communications. Many Human Interface Devices ( HID )
such as keyboard and mouse are using USB protocol in order to communicate with
the Personal Computer. In this project, Serial Communication has to be performed
with a Graphical User Interface (GUI ) by using the USB-JTAG link on the Altera
DE1 Educational and Development Board. The GUI that was used in this project was
created by the Altera’s support team and only the LEDs and Seven Segment Driver
section (software level) are used in this project in order to drive four seven segment
displays, eight Green LEDs and ten Red LEDs on board. The drop boxes on the GUI
allows the user to select hexadecimal characters ranging from 0 to F to be displayed
on the seven segment displays and the check boxes beside each Red and Green LEDs
has to be checked in order to light up the corresponding LEDs. A total of 96 bits of
data which is encoded in USB format is sent to the USB connector on the DE1 Board
whenever the SET button on the GUI is pressed. The USB-JTAG link comprises of
the FT245BL IC, MAX3128 CPLD and Cyclone II JTAG Configuration port. The
FT245BL IC decodes the 96 bits of data in USB format in order to remove redundant
bits which plays a role in sending the data and sends it to the MAX 3128 CPLD in
parallel mode. The MAX 3128 CPLD sends the data to the Cyclone II Configuration
Port by using the Joint Test Action Group (JTAG) Serial Communication protocol.
Therefore, a USB-JTAG Receiver which mimics the operation of the JTAG port is
created by using Verilog codes to capture the 96 bits of data in order to drive the
LEDs and seven segment displays whereby 48 bits of data are responsible to drive
LEDs and another 48 bits are for the four seven segment displays. The Quartus II
Version 6.0 was used to compile and to run simulations in order to verify the
operation of the USB-JTAG Receiver and also to download the bitstream file into the
Cyclone II EP2C20F484C7 FPGA.A Reset KEY was used to reset the the operation
are implemented as well._
Siri Bus Universal adalah kaedah komunikasi yang terunggul di dalam dunia komunikasi elektronik. Kebanyakan Peralatan Antaramuka Manusia seperti papan kekunci dan tetikus menggunakan protokol Siri Bus Universal untuk berkomunikasi dengan komputer peribadi. Dalam projek ini, komunikasi siri hendaklah dilakukan dengan Anataramuka Pengguna Grafik (GUI ) dengan menggunakan talian USB-JTAG pada Papan Pembelajaran dan Pembangunan DE1 Altera. GUI yang digunakan dalam projek ini telah direka oleh pasukan sokongan Altera dan hanya seksyen Diod Pemancar Cahaya (LED) dan Pemacu Tujuh Bahagian ( Perigkat-Perisian ) digunakan di dalam projek ini untuk memacu empat Pemacu Tujuh Bahagian, Lapan Diod Pemancar Cahaya Hijau serta sepuluh Diod Pemancar Merah pada papan. Kotak jatuh pada GUI membenarkan pengguna untuk memilih huruf heksadesimal dari 0 hingga F untuk dipaparkan pada Pemacu Tujuh Bahagian dan kotak penanda di tepi setiap Diod Pemancar Cahaya Merah dan Hijau harus ditanda untuk menyala LED yang berkenaan. Sejumlah 96 bit data yang dikod dalam bentuk format USB dihantar ke penyambung USB pada papan DE1 apabila butang SET pada GUI ditekan. Talian USB-JTAG terdiri daripada litar bersepadu FT245BL, MAX3128 CPLD dan pangkalan Konfigurasi JTAG Cyclone II.FT245BL menyahkod 96 bit data dalam format USB untuk mengeluarkan bit yang tidak memainkan peranan dan menghantarnya ke MAX3128 CPLD secara selari. MAX3128 CPLD menghantar data ke pangkalan Konfigurasi JTAG Cyclone II dengan menggunakan protokol komunikasi siri (JTAG). Oleh itu, Penerima USB-JTAG yang memimik operasi pangkalan JTAG direka dengan menggunakan kod Verilog untuk menangkap 96 bit data untuk memacu LED dan empat pemacu tujuh bahagian dimana 48 bit data bertanggungjawab untuk memacu LED dan 48 bit lagi adalah untuk memacu empat pemacu tujuh bahagian.Quartus II Versi 6.0 digunakan untuk menghimpun dan melakukan simulasi untuk memastikan operasi Penerima USB-JTAG dan juga untuk memuat-turun fail aliran-bit ke dalam Cyclone II EP2C20F484C7 FPGA. Satu butang Reset telah diaplikasikan untuk mereset kembali operasi.