BOOLR Digital Logic Simulator | FLIP-FLOP logic simulation

Words
587
Reading
3 min
9y
Listen to this post
~4 min

image.png

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.

image.png

2 | Create a new project by clicking NEW BOARD.

image.png

Then, you will be directed to Create New Board where you are ask to type in the name of the new board.

image.png

Type in the board name. For this tutorial, lets have " Flip-Flop " as board name.

image.png

3 | Click image.png to finalize setting up a new project.

image.png

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 image.png. Add the four sets of AND gate in the worksheet, simply click at where you want the to add the component. Make sure that is properly space from each other.

image.png

2 | Add NOT gate by clicking image.png. Place a NOT gates after the each AND gates excluding the right most one. Make sure not to place it directly besides the AND gate hence it may not be connected at all, and might not have an ample room for the connecting wire.

image.png

4 | Select input devices from image.png . From the menu click on INPUT.

image.png

6 | Add two set of input before the AND gate.

image.png

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.

image.png

8 | Connect input to AND gates terminal.

image.png

9 | Configure a NAND gate by connecting NOT gate to AND gate..

image.png

10 | Connect the NOT gates to LED.

image.png

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.

![image.png](

12 | Connect the output terminal for NAND(down) to the input of NAND(up).

image.png

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.

image.png

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.

image.png

3 | Change values of input to 1 and 1 respectively. Follow step 2 on how to change the input values.

image.png

Result of Simulation:

image.png
image.png
image.png
image.png

Curriculum

You can browse the other curriculum for BOOBLR Digital Logic Simulator.



Posted on Utopian.io - Rewarding Open Source Contributors

BOOLR Digital Logic Simulator | FLIP-FLOP logic simulation | Ecency