HOW TO DO İT NEED HELP(VHDL)?

Discussion in 'Homework Help' started by Murat Aslan, Mar 14, 2015.

  1. Murat Aslan

    Thread Starter New Member

    Mar 12, 2015
    14
    0
    how to write a VHDL code for a full-adder (FA) using 2 half-adders and an OR gate
     
  2. panic mode

    Senior Member

    Oct 10, 2011
    1,321
    304
    homework?
     
  3. Murat Aslan

    Thread Starter New Member

    Mar 12, 2015
    14
    0
    yeah it's homework like prelab.I was unable to link that
     
  4. WBahn

    Moderator

    Mar 31, 2012
    17,757
    4,800
    MOD NOTE: Moved to Homework Help from General Electronics Chat.
     
  5. WBahn

    Moderator

    Mar 31, 2012
    17,757
    4,800
    You need to show YOUR best effort to work YOUR homework problem. We can then see what approach you are taking, what you are doing right, and where you are going astray. That will help us help you.
     
  6. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    Do you know how to make a full adder from gates?

    Do you know how to describe those connections in VHDL?
     
    absf likes this.
  7. Murat Aslan

    Thread Starter New Member

    Mar 12, 2015
    14
    0
    yes ı know how to write vhdl code and connect the starter board but ı cant related to XOR gate and OR gate .ı'm a little bit confused.
     
  8. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    ...and do you know how to make a full adder from gates?

    If not, write out a truth table, you can always start there.

    Edit: After realizing you have to use half adders, do you know how to connect them to form a full adder?
     
  9. WBahn

    Moderator

    Mar 31, 2012
    17,757
    4,800
    Where is the XOR gate coming into this -- you are asked to use two half-adders and an OR gate to make a full adder.

    So it sounds like you need to look up what a half adder is and what a full adder is and how you can use half adders to make full adders.
     
  10. Murat Aslan

    Thread Starter New Member

    Mar 12, 2015
    14
    0
    Thank u 4 your helping guys ı wrote this code.
     
Loading...