This repository contains multiple digital logic circuits implemented using Logisim Evolution. These circuits demonstrate fundamental concepts of digital electronics, such as counters, arithmetic operations, encoding/decoding, and memory organization. Each project focuses on a specific functionality and showcases how digital components interact to perform various logical operations.
A synchronous 3-bit down counter that counts in descending order (7 β 6 β 5 β ... β 0 β 7). It utilizes flip-flops, clock signals, and reset logic to decrement the count at every clock pulse.
Key Features:
- Uses D or T flip-flops to store binary count values.
- Decrements the count on every clock pulse.
- Implements asynchronous/synchronous reset for proper initialization.
- Can be extended to larger bit-widths as needed.
This circuit converts a Binary-Coded Decimal (BCD) number to its equivalent Excess-3 (XS-3) representation. Excess-3 encoding is commonly used in digital systems and arithmetic circuits.
Key Features:
- Implements binary addition logic to add '3' to the BCD input.
- Uses combinational logic gates for efficient conversion.
- Avoids invalid BCD states, ensuring correct representation.
A digital circuit that converts a 4-bit BCD input into a 7-segment display format, allowing numerical values (0-9) and hexadecimal values (A-F) to be displayed correctly.
Key Features:
- Uses combinational logic to generate 7-segment display outputs.
- Implements truth tables for proper character mapping.
- Supports both numerical (0-9) and hexadecimal (A-F) digits.
A 4-bit magnitude comparator that compares two 4-bit binary numbers (A and B) and determines their relationship: greater than, less than, or equal.
Key Features:
- Outputs A > B, A < B, and A = B conditions.
- Uses combinational logic circuits like AND, OR, NOT, XOR gates.
- Can be extended to compare larger bit-widths by cascading multiple units.
A basic cache memory simulation that demonstrates how cache storage works in a digital system. This project showcases cache hits, misses, and data retrieval processes.
Key Features:
- Implements direct-mapped or associative cache logic.
- Simulates memory access patterns to observe cache performance.
- Uses RAM/ROM components to store frequently accessed data.
/Logisim_Projects
βββ 3 bit downcounter.circ # Synchronous 3-bit down counter
βββ BCD to Excess 3 circuit 2107086.circ # BCD to Excess-3 converter
βββ BCD to Hex 7 segment circuit 2107086.circ # BCD to 7-segment decoder
βββ 4 bit comparator 2107086.circ # 4-bit binary comparator
βββ 2107086_Cache.circ # Cache memory simulation
βββ README.md # Documentation file
- Download and Install Logisim Evolution β Logisim Evolution
- Open Logisim Evolution and load the desired circuit file.
- Start the Simulation by clicking Simulate β Tick Once or enabling continuous ticking.
- Modify Inputs and Observe Outputs using switches and LEDs.
- Ensure all inputs have defined values (use constants or input switches).
- Verify correct connections in combinational circuits.
- Check flip-flop connections in sequential circuits.
- Verify truth tables for combinational logic correctness.
- Ensure proper clock signals are applied.
- β Extend counter circuits to higher bit-widths.
- β Implement priority encoders and decoders.
- β Improve cache replacement strategies for better performance.
This project is open-source. Feel free to use, modify, and contribute!
This repository serves as a practical guide to digital logic design using Logisim Evolution. Each project highlights core digital electronics concepts, making it useful for students and hobbyists exploring computer architecture and circuit design.