Skip to content

Simulate and design digital logic circuits using Logicly. It covers Binary to Gray and Gray to Binary conversion, full adder design, and a 3-bit binary adder. Each circuit was tested for accuracy and demonstrates foundational digital logic principles.

Notifications You must be signed in to change notification settings

Mah-En/Simulating-Digital-Logic-Circuits-using-Logicly

Repository files navigation

Digital Logic Design Report

Instructor: Shima Tabibian
Course: Principles of Computer Systems Laboratory
Academic Year: 2023–2024


1. Binary to Gray and Gray to Binary Converter

This circuit converts a 4-bit binary number to Gray code and vice versa.

  • Binary to Gray: MSB remains unchanged; each next bit is the XOR of current and previous binary bit.
  • Gray to Binary: MSB remains unchanged; each next binary bit is the XOR of previous binary and current Gray bit.

Binary to Gray and Gray to Binary Circuit

Tested with two 4-bit inputs. Conversions were successful in both directions.


2. Full Adder Design

A full adder circuit was designed to add two bits and a carry-in. The outputs are a sum and a carry-out.

Full Adder Circuit

Verified over all 8 input combinations (A, B, Carry-in). All outputs matched expected values.


3. 3-bit Binary Adder Using Full Adders

Three full adders were chained to create a 3-bit binary adder. Each full adder processes corresponding bits and propagates carry.

3-bit Full Adder Circuit

Tested with two different 3-bit numbers. Final sum and carry-out were correct.


Conclusion

This lab project covered:

  • Binary–Gray code conversion
  • Full adder design and operation
  • Building a multi-bit adder using chained full adders

All circuits were successfully implemented and tested using Logicly.

About

Simulate and design digital logic circuits using Logicly. It covers Binary to Gray and Gray to Binary conversion, full adder design, and a 3-bit binary adder. Each circuit was tested for accuracy and demonstrates foundational digital logic principles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published