Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary flip flops

Rating
-
Sold
-
Pages
16
Uploaded on
11-08-2024
Written in
2024/2025

flip flops in digital electronics, circuit simulations in QUCS, IC wiring diagram, VERILOG code for mini FPGA board,

Institution
Course

Content preview

Experiment 5
FLIP-FLOPS
Name: SIBIN THOMAS SISIL
Roll No.: 39


1 Objectives
1. To implement S-R. J-K, D and T flip-flops using basic gates on both
breadboard and FPGA board
2. To implement the conversions D to T, T to D on mini FPGA with
verilog.
3. To verify the truth tables of J-K, D flip-flops .using flip-flop ICs.


2 Observations
The observations of experiments done on discrete ICs and FPGA are detailed
below.

2.1 S-R FLIP-FLOP
The circuit is shown in Fig. 1.

The truth table of the circuit is shown in Fig. 2.


2.1.1 S-R Flip-flop with ICs
The wiring diagram using IC 7400 is shown in Fig. 3.
The IC is wired and applied various bit patterns to the input pins and the
output is obtained the truth table in Fig. 2.

, Figure 1: Circuit of S-R flip-flop




Figure 2: Truth table of S-R flip-flop


2.1.2 S-R Flip-flop with Verilog and Mini FPGA
The gate level Verilog model for S-R Flip-flop is listed in Code 1.
1 // module S−R f l i p −f l o p
2 module s r f f ( output w i r e Q, Qbar , i n p u t w i r e S , R, c l k ) ;
3 w i r e Sbar , Rbar ;
4 nand n1 ( Sbar , S , c l k ) ;
5 nand n2 ( Rbar , R, c l k ) ;
6 nand n3 (Q, Sbar , Qbar ) ;
7 nand n4 ( Qbar , Rbar ,Q) ;
8 endmodule
Listing 1: Verilog module for S-R flip-flop
The code is tested with a mini FPGA and verified the truth table in Fig. 2.

, Figure 3: Wiring diagram of S-R flip-flop


2.2 J-K FLIP-FLOP
The circuit is shown in Fig. 4.

The truth table of the circuit is shown in Fig. 5.


2.2.1 J-K Flip-flop with ICs
The wiring diagram using ICs 7400 and ICs 7410 is shown in Fig. 6.
The IC is wired and applied various bit patterns to the input pins and the
output is obtained the truth table in Fig. 5.

2.2.2 J-K Flip-flop with Verilog and Mini FPGA
The gate level Verilog model for J-K Flip-flop is listed in Code 2.
1 // module J−K f l i p −f l o p
2 module JKFF PoS ( q , qbar , j , k , c l k , c l r , pr ) ;
3 output q , qbar :
4 input j , k , clk ;

Written for

Institution
Course

Document information

Uploaded on
August 11, 2024
Number of pages
16
Written in
2024/2025
Type
SUMMARY

Subjects

$10.09
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
sibin1

Also available in package deal

Get to know the seller

Seller avatar
sibin1 kerala technological university
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
5
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions