What is Flip-Flop?
| FLIP-FLOP is memory element used as clocked element used in sequential circui. It has two outputs: one for the normal value and the other is for complement valueof the bit stored. |
|---|
Intended Learning Outcome (What Will I Learn?)
After reading and participating in this tutorial, the readers should be able to:
- learn how to implement an FLIP-FLOP logic circuit using NAND gate;
- create a digital logic circuit for FLIP-FLOP simulation ; and,
- simulate the created FLIP-FLOP simulation digital logic circuit.
Requirements
To be able to follow this tutorial, you should have the following tools at hand:
- A desktop PC or laptop with Windows (7, 8, 10) operating system; and,
- A BOOLR latest release version which you can download at its Github repository GGBRW/BOOLR or vist its website at boolr.me
Difficulty
- Basic
Part 1: Setting up a new project the BOOLR app.
1 | Open BOOLR.exe from the downloaded latest release zip file of the app.
2 | Create a new project by clicking NEW BOARD.
Then, you will be directed to Create New Board where you are ask to type in the name of the new board.
Type in the board name. For this tutorial, lets have " Flip-Flop " as board name.
3 | Click
| For the basic operations and functions of the BOOLR Digital Logic Simulation, you are advise to read the Introduction to BOOLR. |
|---|
Part 2: Creating a Flip-Flop Digital Logic Circuit in BOOLR
Now, we create a circuit in the BOOLR for Exclusive-NOR which is implemented using AND-NOT gates.
1 | We start by selecting components needed in the simulation. Select AND gate by clicking
2 | Add NOT gate by clicking
4 | Select input devices from
6 | Add two set of input before the AND gate.
7 | Add output LED after the right most AND gate. To add the component, you need first to enable and click at the location where you want it to add.
8 | Connect input to AND gates terminal.
9 | Configure a NAND gate by connecting NOT gate to AND gate..
10 | Connect the NOT gates to LED.
11 | Connect the output terminal for NAND(up) to the input of NAND(down). This is to set a dependency of the operation of the NAND gates through a latch to each ouputs.
 to the input of NAND(up).
Part 3: Simulation of the created Flip-FLop
| How does FLIP-FLOP works? |
|---|
| Flip-Flop is constructed from two set of NAND gates or two NOR gate. Each flip-flops has two outputs Q and Q'. When all input is high (1), the flip-flop will have a low(0) at its terminal. For example we assume a set input as 1, and reset is 0, the value of Q is 1 while Q' is 0. |
1 |Verify the simulation button if it is play or paused. Pause button indicates simulation is going on, while Play button signifies the simulation is paused.By default, the BOOLR app is always on simulation.
2 | Verifying our discussion earlier, input the values. Observe the result at the OUTPUT. To change the values of input, click on the number inside the input symbol.
3 | Change values of input to 1 and 1 respectively. Follow step 2 on how to change the input values.
Result of Simulation:
Curriculum
You can browse the other curriculum for BOOBLR Digital Logic Simulator.
- Introduction to BOOLR Digital Logic Simulation
- Half Adder
- Full Adder
- Half Subtractor
- Full Subtractor
- Exclusive-OR implemented with AND-NOT-OR gates
- Exclusive-NOR implemented with AND-NOT gates
Posted on Utopian.io - Rewarding Open Source Contributors