You are on page 1of 16

FILKOM | UB

CCE61206

Pemrograman FPGA
FILKOM | UB

MATAKULIAH : Pemrograman FPGA


KODE/ STATUS : CCE61206
SKS :3
Dosen : Dahnial Syauqy, S.T, M.T, M.Sc
Email : dahnial87@ub.ac.id
Agenda kuliah

• Introduction + Overview
• FPGA design dengan Xilinx
• Rangkaian kombinasional sederhana
• Rangkaian Encoder, Decoder, Multiplexer, demux
• Konsep tambahan
• Rangkaian sekensial: Flip flop dalam VHDL
• -----------------------------------UTS-------------------------------------
• Rangkaian Counter dan FSM
• interfacing LCD,
• Interfacing VGA port
• Interfacing keyboard
• Desain project dan presentasi

Slide 3
• -----------------------------------UAS-------------------------------------

23 August 2021
Penilaian

Aspek Bobot

UTS 30%

Project (Laporan, Presentasi @15%) 30%

UAS 25%

Tugas & lain-lain 15%

Total 100%

Slide 4
23 August 2021
References
Referensi
[1] “FPGA Prototyping By VHDL Examples”. Pong P. Chu. A John Wiley & Sons, Inc.,
Publication: 2008
[2] “The Spartan-3E Tutorial 1: Introduction to FPGA Programming”. Jasmine Banks.
Queensland University of Technology: 2014
[3] Spartan-3E FPGA Starter Kit Board User Guide, Online:
http://www.xilinx.com/support/documentation/boards_and_kits/ug230.pdf
[4] Spartan-3E FPGA Starter Kit Board Design Examples, Online:
http://www.xilinx.com/products/boards/s3estarter/reference_designs.htm

Software
Xilinx ISE WebPACK 13.4

Slide 5
http://www.xilinx.com/tools/webpack.htm

23 August 2021
OVERVIEW

Slide 6
23 August 2021
Gerbang dasar

1 1 1
x x
x
0 0
0
1 1
y y 1
0 0 F
1 1 0
F F
0 0 time

Slide 7
time time

23 August 2021
Digital System Modules

Low level digital modules


• Gates - AND, OR, NOR, etc.
• Blocks - Adder, subtractor, Decoder, etc.

High level digital modules


• ASICs (Application Specific Integrated Circuits)
• Microprocessors/Microcontrollers

Slide 8
23 August 2021
Types of Digital Systems
>> Combinational Logic System
No state present
Output = Function (Input)

>> Sequential Logic System


State present
❖ State updated at discrete times
=> Synchronous
❖ State updated at any time
=> Asynchronous

Slide 9
23 August 2021
ASIC VS FPGA
Two implementation approaches

ASIC: FPGA:
Application Specific Field Programmable
Integrated Circuit Gate Array

Low cost in high volumes Reconfigurability

+5 V (anode)
1 14 Vcc = +5V
2 13
programmable
b (to pin 16)
3 12 Inputs Logic gates Outputs
4 11 (logic and
g (to pin 13) (logic functions)
5 10
variables) switches
c (to pin 14)

6 9
no connection
Gnd 7 8
7400
d (to pin 9)

Examples: a chip for a toy bear that talks,

Slide 10
chips designed to run a cell phone, chip
used in a voice recorder etc.
23 August 2021
Microprocessor vs FPGA
Programmed
Motion-at-night detector FPGA
microprocessor

Microprocessor/
mikrocontroller:
void main()
{
while (1) {
P0 = I0 && !I1;
// F = a and !b,
}
}

Slide 11
2 No parallelism Concurrent
operation
23 August 2021
FPGA

Slide 12
23 August 2021
Xilinx Spartan 3E

Slide 13
23 August 2021
PEMBAGIAN KELOMPOK

1. Kelompok project (~5-6 orang menyesuaikan jumlah mhs.)


> untuk praktek langsung dengan hardware
> untuk project akhir

2. Kelompok kecil (3 orang 1 laptop)


> untuk praktek dengan software

Ketua kelas & Perwakilan:

Slide 14
23 August 2021
Kriteria laptop yang diperlukan:
• Max windows 7, jika tidak ada, gunakan Vmware dan instal dengan windows XP

• Kapasitas hard drive untuk instalasi software xilinx: 13-15 GB

• Memiliki baterai yang cukup baik, paling tidak untuk setengah jam penggunaan

• Instal dengan software ISE project manager untuk xilinx + lisensinya

Slide 15
23 August 2021
TUGAS #1:

1. Bentuk kelompok besar (~5-6 orang menyesuaikan jumlah mhs)

2. Instal Software programming xilinx pada tiap laptop kelompok. Ketika instalasi,
pilih “ISE WEBPACK” edition

3. Daftarkan lisensi menggunakan “Get free ISE WEBPACK license”

POIN 1, tuliskan NAMA dan NIM anggota kelompok pada selembar


kertas/file PDF dikumpulkan minggu depan. Tandai yang menjadi PJ
laptop yg dipakai koding
POIN 2, secara individu akan dicek minggu depan

Slide 16
23 August 2021

You might also like