/arithmetic-unit-logisim

An arithmetic unit circuit capable of adding, subtracting and multiplying two signed magnitude numbers, implemented using Logisim.

MIT LicenseMIT

Arithmetic Unit Circuit

An arithmetic unit circuit capable of adding, subtracting and multiplying two signed numbers, implemented using Logisim.

Overview

This circuit allows user to add, subtract, multiply and divide two numbers. The circuit takes two 5-bits signed magnitude inputs, "A" and "B" and perform the choosen operation on them, showing the output on a seven segment dispaly. This was the project of the first course in Cairo University, Computer Engineering Department.

How to Use

  1. Download "Logisim" and install it.
  2. Open "PROJECT.circ" file with "Logisim".

  1. Enter the first number "A" in binary form, also for the second number "B" by using the the switches.
  2. From numeric input "Mode", choose the operation to be executed on the two number "A" and "B".
  • 00 for addition
  • 01 for subtraction
  • 10 for multiplication
  • 11 for division
  1. Output will be shown on the seven segment display, and the flags if needed.

Contributers

Contributers in the project:

License

Copyright (c) [2021] [Amr Yasser, Marwan Mostafa, MenntuAllah Mohamed, Youssef Mohamed]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Mars Exploration Simulator"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.