Linux For Your Life

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 24 December 2010

Tugas FPGA (Seven Segment Display)

Posted on 10:35 by Unknown

    Seven segment adalah alat tampilan elektronik yang bisa menampilkan penomoran decimal. Seven segment biasanya diidentifikasi dalam industri menggunakan huruf 0-9 sperti pada gambar berikut ini:


    Untuk mengimplementasikan rangkaian ini pada seven segment, kita memerlukan FPGA atau Field Programmable Gate Array yang merupakan IC yang terdiri dari banyak transistor.
Penggunaan tabel kebenaran dalam mendesain rangkaian BCD to seven segment dapat kita lihat dalam metode penelitian berikut ini :


Souce Code VHDL 7 segment dalam FPGA :

library ieee;
         use ieee.std_logic_1164.all;
entity Ahmad is
           port( d : in std_logic_vector(3 downto 0)
                   s  : out std_logic_vector(7 downto 0)
          );
end ahmad;
         architecture gumelar of ahmad is
begin
       s <= "00000110" when d="0001" else --1
        "01011101" => when d= "0010" else --2
        "01001111" => when d= "0011" else --3
        "01100110" => when d= "0100" else --4
        "01101101" => when d= "0101" else --5
        "01111101" => when d= "0110" else --6
        "00000111" => when d= "0111" else --7
        "01111111" => when d= "1000" else --8
        "01101111" => when d= "1001" else --9     
        "01101110" => when d= "1010" else --a
        "01111100" => when d= "1011" else --b
        "00111001" => when d= "1100" else --c
        "01011110" => when d= "1101" else --d
        "01111001" => when d= "1110" else --e
        "01110001" => when d= "1111" else --f
        "11111111"; --0      
end gumelar;

Logika /cara kerja :

  Program akan menampilkan angka sesuai dengan switch yag kita tekan. disini saya menggunakan 4 switch pada fpga ,Apabila kita menekan switch 1 dan switch 2 program akan menampilkan angka 3 yaitu akan menyala pada LED a,b,c,d,e dan g .Kenapa angka 3 karna dari bilangan biner dengan sebelumnya kita menetapkan switch yang kita gunakan , sw1=1 ,sw2=1,sw3=0 dan sw4=o dari bilangan biner tersebut merupaka angka 3.


Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Tugas SoftSkill | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Format USB in linux for use as Live USB
        In the main discussion at this time, you can find a variety of distribution LiveUSB that can be installed in the UFD. However, after an...
  • Active & Passive Sentences
    1.Theory and example from active & passive voice Active Voice         Active voice is where the object recieves the action of the verb.A...
  • Using Guide BackInTime
    In short how to use BackInTime are as follows: 1.On the start page will appear BackInTime some important parameters to fill tone, such a...
  • sitemap
    Applications install Dropbox On Linux What is Dropbox How to install an use Back In Time What is BackInTime Install windows on linux Organiz...
  • How to restore grub boot-loader after installing windows
         This tutorial will explain how to restore Grub after installing Windows 7/Vista/Xp.If you are using dual boot PC with windows,Ubuntu fo...
  • Dahsyat atau Inbox
         Acara musik sekarang ini sudah bukan pembicaraan asing lagi di telinga kita ,dari pagi sampai malam pasti ada acara musik yang menghibu...
  • How To Using Nautilus Scripts
    With script s you can do many things such as : make an enhanced "open with"-alike feature (open some files that match a filter in ...
  • Lakukan apa yang ingin anda lakukan
        Lakukan apa yang ingin anda lakukan ,gunakanlah semua kemampuan anda untuk berfikir , membuka sesuatu ,menjalanka sesuatu dan membuat ap...
  • Download super fast with the command lftp in ubuntu linux
         Simply capitalize a terminal window and lftp program, we've got a manager download manager and download accelerator that can suck a...
  • installation XAMPP
    If you want the integration of the Apache web server, MySQL database server, and PHP / Perl in one package, you can install XAMPP XAMPP is a...

Categories

  • Applications
  • cairo-dock
  • convert Rpm to Deb
  • Desktop
  • Distro
  • Download Manager
  • Fix Crash GUI
  • Format USB
  • game
  • hardware
  • Install Linux
  • internet and Web
  • Linux Intro
  • LiveUSB
  • Local Repository
  • nautilus
  • Optimize Linux system
  • Programming Language
  • Robot
  • Server
  • so
  • Terminal
  • Tips and Trick OpenOffice
  • Tugas Manajemen Proyek dan Risiko
  • Tugas SoftSkill
  • wifi

Blog Archive

  • ►  2012 (5)
    • ►  June (2)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
  • ►  2011 (29)
    • ►  December (10)
    • ►  November (2)
    • ►  October (2)
    • ►  May (11)
    • ►  March (2)
    • ►  February (2)
  • ▼  2010 (74)
    • ▼  December (13)
      • Pengembangan Pola Paragraf
      • Perbandingan Gaya bahasa Antar Media Cetak
      • Tugas FPGA (Seven Segment Display)
      • inspirasi
      • Ku Yakin Indonesia Juara
      • Berangkat Ke Kampus
      • Android apa Blackberry
      • Malam Yang Indah
      • STAR ON SATURDAY
      • Di Saat Membuat Sebuah Lagu
      • Pertama Mengenal Gitar
      • Musik
      • Aku Cinta Indonesia
    • ►  October (4)
    • ►  June (12)
    • ►  May (10)
    • ►  April (6)
    • ►  March (8)
    • ►  February (18)
    • ►  January (3)
  • ►  2009 (42)
    • ►  October (6)
    • ►  September (13)
    • ►  August (13)
    • ►  July (10)
Powered by Blogger.

About Me

Unknown
View my complete profile