Design a Verilog program that performs the basic arithmetic and logic operations (ALU) on two 3-bit binary inputs, and displays the outcome on 7-segments.

profilehrh2006vhh

Design a Verilog program that performs the basic arithmetic and logic operations

(ALU) on two 3-bit binary inputs, and displays the outcome on 7-segments.

Arithmetic operations: addition and subtraction

Logic operations: AND and OR

Displaying results:

For addition and subtraction: display the result using decimal digits

For logic AND and OR: display the result using binary digits

 

 

 

 

 

Spartan 3 xc3s200

    • 11 years ago
    • 15
    Answer(0)
    Bids(0)