SlideShare une entreprise Scribd logo
1  sur  7
Télécharger pour lire hors ligne
International Journal of Trend in Scientific Research and Development (IJTSRD)
Volume 3 Issue 5, August 2019 Available Online: www.ijtsrd.com e-ISSN: 2456 – 6470
@ IJTSRD | Unique Paper ID – IJTSRD26372 | Volume – 3 | Issue – 5 | July - August 2019 Page 495
FPGA Based Digital Logic Circuits Operation for Beginners
San San Naing, Ni Ni San Hlaing, Cho Thet Nwe
Department of Electronic Engineering, Technological University, Kyaukse, Myanmar
How to cite this paper: San San Naing | Ni
Ni San Hlaing | Cho Thet Nwe "FPGA
Based Digital Logic Circuits Operation for
Beginners"
Published in
International
Journal of Trend in
Scientific Research
and Development
(ijtsrd), ISSN: 2456-
6470, Volume-3 |
Issue-5, August 2019, pp.495-501,
https://doi.org/10.31142/ijtsrd26372
Copyright © 2019 by author(s) and
International Journalof Trendin Scientific
Research and Development Journal. This
is an Open Access article distributed
under the terms of
the Creative
CommonsAttribution
License (CC BY 4.0)
(http://creativecommons.org/licenses/by
/4.0)
ABSTRACT
This paper presents the operations of digital circuits based on FPGA. The long
term of FPGA is field programmable gate array. FPGA is an integrated circuit
designed to be configured by a customer or a designer after manufacturing –
hence "field-programmable". The operations of logic circuits such as logic
gates, flip-flop and 7 segment are tested using quartus II software and DE2-
115 and DE1 FPGA development kits in thispaper.Particularly,therearethree
main portions such as implementation of schematic diagram, designing of the
vhdl program, the connection of the control panel and displaying the result of
logic circuits on FPGA kit. The operations of combinational circuits are tested
by designing the VHDL programs. And then the operations of sequential
circuits are observed and displayed the results of them by illustrating the
schematic diagrams.
KEYWORDS: FPGA, VHDL, CombinationalCircuits,SequentialCircuits, QuartusII,
Schematic Diagram
I. INTRODUCTION
Logic circuits are implementedelectronically,usingtransistorson an integrated
circuit chip. Commonly available chipsthatuse moderntechnologymay contain
hundreds of millions of transistors, as in the case of computer processors. The
basic building blocks for such circuits are easy to understand, but there is
nothing simple about a circuit that contains hundreds of millions of transistors
[2].
Logic circuits are used to build computer hardware, as well
as many other types of products. All such products are
broadly classified as digital hardware. The digital circuits
such as combinational circuits, sequential circuits are
utilized to implement those digital hardware devices [2].
Therefore this paper presents the operations of those
circuits by using different designing ways.
A field-programmable gate array (FPGA) is an integrated
circuit designed to be configured bya customeroradesigner
after manufacturing – hence "field-programmable". The
FPGA configuration is generally specified using a hardware
description language (HDL), similar to that used for an
application-specific integrated circuit (ASIC) (circuit
diagrams were previously used to specify the configuration,
as they were for ASICs, but this is increasingly rare).
FPGAs contain an array of programmable logic blocks, and a
hierarchy of reconfigurable interconnects that allow the
blocks to be "wired together", like many logic gates that can
be inter-wired in different configurations. Logic blocks can
be configured to perform complex combinational functions,
or merely simple logic gates like AND and XOR. In most
FPGAs, logic blocks also include memory elements, which
may be simple flip-flops or more completeblocksof memory
[3]. FPGA can be used in digital signal processing,
bioinformatics, device controllers, software-defined radio,
random logic, ASIC prototyping, medical imaging, computer
hardware emulation, integrating multiple SPLDs, voice
recognition, cryptography, filtering and communication
encoding and many more [1].
VHDL
II. LITERATURE OF DIGITAL CIRCUITS
Nowadays, digital technology becomes popular and very
useful application more and more. Digital electronics, digital
technology or digital (electronic)circuits areelectronicsthat
operate on digital signals. In contrast, analog circuits
manipulate analog signals whose performance is more
subject to manufacturing tolerance, signal attenuation and
noise. Digital techniques are helpful because it is a lot easier
to get an electronic device to switch into one of a number of
known states than to accurately reproduce a continuous
range of values. Digital electronic circuits are usually made
from large assemblies of logic gates (often printed on
integrated circuits (IC)),simpleelectronicrepresentations of
Boolean logic functions[4].
IJTSRD26372
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD26372 | Volume – 3 | Issue – 5 | July - August 2019 Page 496
A logic circuit is a circuit that executes a processing or
controlling function in a computer. This circuit implements
logical operations on information to process it.Logiccircuits
utilize two values for a physical quantity, like voltage, to
denote the Boolean values true and false or 1 and 0
respectively. There are two main types of digital logic
circuits. They are combinational logiccircuitsandsequential
logic circuits. Combinational circuitry performs like asimple
function. The output is based on the present values of the
input. Combinational circuitry is theoretically built from
basic logic gates: AND gates, OR gates, XOR gates and
inverters. The outputs of gates in combinational circuitryare
never sent back directly to earlier inputs[5]. Combinational
circuits are also time independent. Alongwith theabsenceof
concepts like past inputs, combinational circuits also do not
require any clocks. Sequential circuits are a collection of
memory elements. These memory elements are flip-flops.
These circuits are capable of rememberingdata. Therefore,a
sequential circuit’s output depends on current input, as well
as past input. Moreover, since flip-flops are present the
output of a sequential circuit also depends on the clock
input.
The operations of the logic gates can be seen in the table.
III. METHODOLOGY
The operations of logic gates, combinational circuits and
sequential circuits are tested by designing the VHDL
program and analyzed the results onFPGAdevelopmentkits
(DE1, DE2). A field-programmable gate array (FPGA) is an
integrated circuit designed tobeconfigured byacustomeror
a designer after manufacturing- hence the term ‘field-
programmable’’. It is a type of device that is widely used in
electronic circuits. FPGAs are semiconductor devices which
contain programmable logic blocks and interconnection
circuits. It can be programmed or reprogrammed to the
required functionality after manufacturing. The specific
application of an FPGA includes digital signal processing,
bioinformatics, device controllers, software-defined radio,
random logic, ASIC prototyping, medical imaging, computer
hardware emulation, integrating multiple SPLDs, voice
recognition, cryptography, filtering, and communication
encoding and many more.
3.1. FLOW CHART OF THE DIGITAL LOGIC CIRCUIT
DESIGN
There are many steps in designing the digital logic circuits.
Firstly, the designer must consider the design concept of the
desired circuit and partitions of the circuit. And then, the
interconnection of the partition blocks must be considered
by the designer. Then, the designer can make the simulation
in order to test the function of the complete circuit. Only if
the function of the circuit is correct, the physical mapping
can be done. After completing this step, the timing
simulation must be performed and the designer must check
the timing condition is correct or not. Only when the timing
of the circuit is correct, the hardware implementation can be
made. The flow chart of the digital logic cbeircuit design is
illustrated in Figure1.Thispaperdescribes thatthefunctions
of the digital logic circuits are simulated and checks the
simulation results which are correct or not.
3.2. VHDL CODE OF THE DIGITAL CIRCUITS
The operations of logic gates, combinational circuits and
sequential circuits are tested with quartus II software and
FPGA development kid. The operations of logic gate and
combinational circuit are simulated by designing the VHDL
programs. The sequential circuit is tested by designing the
schematic diagram on the quartus II software and check the
operation of the circuit on FPGA development kid. The
program code of logic circuit can be written with different
levels such as gate level, dataflow level, and behavioral level.
The VHDL code for AND logic gate can be written as:
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY And_Gate IS
PORT( A : IN STD_LOGIC;
B : IN STD_LOGIC;
Z : OUT STD_LOGIC);
END ENTITY And_Gate;
ARCHITECTURE Dataflow OF And_Gate IS
BEGIN
Z <= A AND B;
END ARCHITECTURE Dataflow;
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD26372 | Volume – 3 | Issue – 5 | July - August 2019 Page 497
Fig1. Design Flow Chart of the Digital Logic Circuit
The program of other logic gates can be written in this form.
The 7segment can be programmed in two ways in order to
display the output not only the LED outputs but also the
7segment display output. The program code for 7segment
for describing the output as 7segment display out is
designed as follow:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity bcd_7seg is
Port (B0,B1,B2,B3: in STD_LOGIC;
A,B,C,D,E,F,G : out STD_LOGIC);
end bcd_7seg;
architecture Behavioral of bcd_7seg is
begin
A <= B0 OR B2 OR (B1 AND B3) OR (NOT B1 AND NOT B3);
B <= (NOT B1) OR (NOT B2 AND NOT B3) OR (B2 AND B3);
C <= B1 OR NOT B2 OR B3;
D <= (NOT B1 AND NOT B3) OR (B2 AND NOT B3) OR (B1
AND NOT B2 AND B3)
OR (NOT B1 AND B2) OR B0;
E <= (NOT B1 AND NOT B3) OR (B2 AND NOT B3);
F <= B0 OR (NOT B2 AND NOT B3) OR (B1 AND NOT B2) OR
(B1 AND NOT B3);
G <= B0 OR (B1 AND NOT B2) OR ( NOT B1 AND B2) OR (B2
AND NOT B3);
end Behavioral;
IV. RESULTS OF THE PERFORMANCE OF Digital
Circuits USING QUARTUS II AND FPGA Kits
This paper presents the operations of digital circuits as the
7segment display results and LED results. Moreover, these
results are analyzed with the timing diagrams. Firstly, the
operation of logic gate want to be presented with the LED
output of the FPGA development kid.
Secondly, the BCD_to_7Segment combinational circuit is
tested by using DE1 development and educational board.
There are four inputs which are represented as binary value
‘0000’ to ‘1001’ and 10 outputs which are represented as
decimal value 0 to 9. Four inputs are applied by SW3, SW2,
SW1, SW0 of DE1. Decimal value 10outputsaredisplayed on
7Segment of DE1.
The results of AND logic gate are described as follow:
Fig2. Pin Assignment for Inputs (A,B) and Output (z)
Fig3. Output LED is OFF when Inputs are ’00’ condition
Fig4. Output LED is OFF when Inputs are ’01’ and ‘10’
condition
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD26372 | Volume – 3 | Issue – 5 | July - August 2019 Page 498
Fig5. Output LED is OFF when Inputs are ‘11’condition
Fig6. Inputs and Output Pin Assignment Description
Fig7. BCD_TO_7Segment Program Uploading
Fig8. Decimal Value 0,1 on 7Segment for Binary value
‘0000’ and ‘0001’
Fig9. Decimal Value 2 on 7Segment for Binary value ‘0010’
Fig10. Decimal Value 3 on 7Segment for Binary value
‘0011’
Fig11. Decimal Value 4 on 7Segment for Binary value
‘0100’
Fig12. Decimal Value 5 on 7Segment for Binary value
‘0101’
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD26372 | Volume – 3 | Issue – 5 | July - August 2019 Page 499
Fig13. Decimal Value 6 on 7Segment for Binary value
‘0110’
Fig14. Decimal Value 7 on 7Segment for Binary value
‘0111’
Fig15. Decimal Value 8 on 7Segment for Binary value
‘1000’
Fig16. Decimal Value 9 on 7Segment for Binary Value
‘1001’
The digital circuit can be tested by designing not only the
VHDL code but also schematic diagram. The operations of
master-slave flip-flop and 3-bit up-counter are tested by
designing the schematic diagram. Firstly, the schematic
diagram of master-slave is designed by using quartus II
software. After designing the circuit, it must be compiled to
verify that it is correct. And then the pin assignment is done
for the input and output ports. Then it is uploaded to DE2-
115 FPGA Board in order to test the operation of the circuit.
The schematic design of the master-slave flip-flop is shown
in Figure.
Fig17. Schematic Diagram of Master-Slave Flip-Flop
The inputs and output pin assignment are described in
Figure.
Fig18. Pin Assignment of The Input and Output Ports
The uploading of the schematic diagram is illustrated in
Figure. In tis step, it is important to check that the hardware
setup is in USB-Blaster (USB-0) and JTAG Mode. If it is not
like that, it can be changed by selecting the hardware setup
button. After doing this process, masterslave.sof must be
selected and then Start button must be clicked in order to
upload this file to FPGA DE2-115 board. It needs to wait the
progress is 100%. After completing the 100% progress, it
can be tested the operation of the circuit on FPGA board by
applying the various input conditions.
Fig19. Uploading Description of Master-Slave Flip-Flop
The operation results of master-slave flip-flop are shown in
Figure. The output of the circuit is assigned with LEDG0.The
Clock input is assigned with SW1 and the data input is
assigned with SW0 on FPGA board.
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD26372 | Volume – 3 | Issue – 5 | July - August 2019 Page 500
Fig20. Condition of Clock=0 and Input D=0
Fig21. Condition of Clock=1 to 0 and Input D=1
Fig22. Condition of Clock=1 to 0 and Input D=0
Fig23. Condition of Clock=1 and Input D=1
The operation results can be checked with the timing
diagram. It is shown in Figure.
Fig24. Timing Diagram of The Master-Slave Flip-Flop
The 3-bit down-counter is implemented with three T Flip-
Flops. The T input is always applied by logic ‘1’. The three
outputs are assigned with Q0,Q1 and Q2. The schematic
design of the 3-bit down-counter is shown in Figure.
Fig25. Schematic Diagram of The 3-bit Down-Counter
The pin assignment and uploading processes are made like
master-slave flip-flop.
The outputs of this circuit are set to ‘0’ value at the initial
state. The input T is always set to ON state. The clock inputis
set to ‘1010101…..’. The output Q0 toggles its previous value
whenever it is arrived at the positive edge of the clock. The
output Q1 toggles its previous value ateverypositiveedge of
Q1. The output Q2 toggles its previous value at every
positive edge of Q1. The circuit count decimal value 7 ( it is
the same as Q2Q1Q0 = 111) at the first positive edge of the
clock pulses. At this stage, the output Q0 arrives at the
positive edge of the clock. So, the output Q0 toggle its
previous value ‘0’. Therefore, its vale is logic value ‘1’. The
output Q1 arrives at the positive edge of the Q1 at the same
time. So, it toggles its previous value. The value of output Q1
is also logic ‘1’ at this stage. Similarly, the value of output Q2
is logic ‘1’ because the output Q2 togglesitspreviousvalueat
the positive edge of the Q1.
The inputs T is assigned with SW1 and the clock input is
assigned with w0. The outputs Q2, Q1 and Q0 are assigned
with LEDG 2, LEDG1 and LEDG0. The operation results are
described in Fig.
Fig26. T input ‘1’ and Clock input ‘1’ (At The 1stPositive
edge of Clock)
This figure shows the circuit counts the decimal value 7 at
the first positive edge of the clock pulse. In this state, the
output Q0 toggle its previous value ‘0’ and so its value is
logic ‘1’. Similarly, the output Q1 togglesitspreviousvalue ‘0’
and so its value is logic ‘1’. In the same way, the output Q2
toggles its remain value to logic ‘1’. Therefore, the outputs
are Q2Q1Q0 = 111.
Fig27. T input ‘1’ and Clock input ‘1’ (At The 2ndPositive
edge of Clock)
This figure shows the circuit counts the decimal value 7 at
the second positive edge of the clock pulse. In this state, the
output Q0 toggle its previous value ‘1’ and so its value is
logic ‘0’. Similarly, the output Q1 doesn’t toggle its previous
value ‘1’ and so its value is logic ‘1’. In the same way, the
output Q2 doesn’t toggle its remain value to logic ‘1’.
Therefore, the outputs are Q2Q1Q0 = 110.
Fig28. T input ‘1’ and Clock input ‘1’ (At The 3rdPositive
edge of Clock)
This figure shows the circuit counts the decimal value 7 at
the third positive edge of the clock pulse. In this state, the
output Q0 toggle its previous value ‘0’ and so its value is
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD26372 | Volume – 3 | Issue – 5 | July - August 2019 Page 501
logic ‘1’. Similarly, the output Q1 toggle its previous value ‘1’
and so its value is logic ‘0’. In the same way, the output Q2
doesn’t toggle its remain value to logic ‘1’. Therefore, the
outputs are Q2Q1Q0 = 101.
Fig29. T input ‘1’ and Clock input ‘1’ (At The 4thPositive
edge of Clock)
This figure shows the circuit counts the decimal value 7 at
the fourth positive edge of the clock pulse. In this state, the
output Q0 toggles its previous value ‘1’ and so its value is
logic ‘0’. Similarly, the output Q1 doesn’t toggle its previous
value ‘0’ and so its value remains at logic ‘0’. In the same
way, the output Q2 doesn’t toggle its remain value to logic
‘1’. Therefore, the outputs are Q2Q1Q0 = 100.
Fig30. T input ‘1’ and Clock input ‘1’ (At The 5thPositive
edge of Clock)
This figure shows the circuit counts the decimal value 7 at
the fifth positive edge of the clock pulse. In this state, the
output Q0 toggle its previous value ‘0’ and so its value is
logic ‘1’. Similarly, the output Q1 togglesitspreviousvalue‘0’
to logic ‘1’. In the same way, the output Q2 toggles its remain
logic value ‘1’ to logic ‘0’. Therefore, the outputs areQ2Q1Q0
= 011.
Fig31. T input ‘1’ and Clock input ‘1’ (At The 6thPositive
edge of Clock)
This figure shows the circuit counts the decimal value 7 at
the sixth positive edge of the clock pulse. In this state, the
output Q0 toggle its previous value ‘1’ and so its value is
logic ‘0’. Similarly, the output Q1 remains its previous value
‘1’ in this state. In the same way, the output Q2 remains logic
‘0’. Therefore, the outputs are Q2Q1Q0 = 010.
Fig32. T input ‘1’ and Clock input ‘1’ (At The 7thPositive
edge of Clock)
This figure shows the circuit counts the decimal value 7 at
the seventh positive edge of the clock pulse. In this state, the
output Q0 toggle its previous value ‘0’ to logic ‘1’. Similarly,
the output Q1 toggles its previous value ‘1’ to logic ‘0’. In the
same way, the output Q2 remains logic value ‘0’. Therefore,
the outputs are Q2Q1Q0 = 001.
Fig33. T input ‘1’ and Clock input ‘1’ (At The 8thPositive
edge of Clock)
This figure shows the circuit counts the decimal value 7 at
the eighth positive edge of the clock pulse. In this state, the
output Q0 toggle its previous value ‘1’ and so its value is
logic ‘0’. Similarly, the output Q1 remains its previous value
‘0’ in this state. In the same way, the output Q2 remains logic
‘0’. Therefore, the outputs are Q2Q1Q0 = 000.
After counting the decimal value 7 to 0, this circuit willcount
continuously like previous ways ( 7 to 0) till the inputs are
applied.
V. CONCLUSION
This paper presents the logic circuits operation and the
usage of VHDL language. And also the FPGA development
kits are applied to analyze the digitallogiccircuitoperations.
There are three main parts in this paper. They are logic gate
operation, combinational circuit operation and sequential
circuit operation. The operations of digital logic circuits are
tested by designing the VHDLprogramin quartusII software
and display the operated results on FPGA development kit.
The authors analyze the results are correct or not by
applying the logic circuit datasheets. Allperformanceresults
are correct exactly according to their datasheets. Therefore,
the VHDL language and FPGA technology can be applied to
many larger research applications.
VI. ACKNOWLEDGEMENTS
The authors would like to thank to all her teachers, parents
and colleagues who support the help in their job. They also
want to express special thanks to all reviewers who review
this paper to be a good paper.
VII. REFERENCES
[1] https://en.wikipedia.org/wiki/Field_programmablegat
e_array
[2] Stephen Brown and Zvonko Vranesic, ”Fundamentalof
Digital Logic with VHDL Design”, Third Edition.
[3] "FPGA Architecture for the Challenge". toronto.edu.
[4] https://en.m.wikipedia.org
[5] https://www.technocompterscience.com

Contenu connexe

Tendances

Tendances (20)

Digital jewellery
Digital jewelleryDigital jewellery
Digital jewellery
 
Semiconductor Memory
Semiconductor MemorySemiconductor Memory
Semiconductor Memory
 
3D Internet Seminar PPT - OECLIB
3D Internet Seminar PPT - OECLIB3D Internet Seminar PPT - OECLIB
3D Internet Seminar PPT - OECLIB
 
SEMINAR REPORT ON 3D PASSWORD
SEMINAR REPORT ON 3D PASSWORDSEMINAR REPORT ON 3D PASSWORD
SEMINAR REPORT ON 3D PASSWORD
 
Biometrics Technology, Types & Applications
Biometrics Technology, Types & ApplicationsBiometrics Technology, Types & Applications
Biometrics Technology, Types & Applications
 
8051interfacing 190425062221
8051interfacing 1904250622218051interfacing 190425062221
8051interfacing 190425062221
 
Raspberry Pi
Raspberry Pi Raspberry Pi
Raspberry Pi
 
Input Output programming in AVR microcontroller
Input  Output  programming in AVR microcontrollerInput  Output  programming in AVR microcontroller
Input Output programming in AVR microcontroller
 
Programming with PIC microcontroller
Programming with PIC microcontroller Programming with PIC microcontroller
Programming with PIC microcontroller
 
Bank locker system
Bank locker systemBank locker system
Bank locker system
 
a simple bcd counter project
a simple bcd counter projecta simple bcd counter project
a simple bcd counter project
 
Arduino lcd display
Arduino lcd displayArduino lcd display
Arduino lcd display
 
Modules and ports in Verilog HDL
Modules and ports in Verilog HDLModules and ports in Verilog HDL
Modules and ports in Verilog HDL
 
Smart shopping trolley.
Smart shopping trolley.Smart shopping trolley.
Smart shopping trolley.
 
Dataloggers seminar Report
Dataloggers seminar ReportDataloggers seminar Report
Dataloggers seminar Report
 
Biometric Access Control Systems
Biometric Access Control SystemsBiometric Access Control Systems
Biometric Access Control Systems
 
Bluejacking
BluejackingBluejacking
Bluejacking
 
introduction to microprocessors
introduction to microprocessorsintroduction to microprocessors
introduction to microprocessors
 
Working of barcode reader Ppt - Unitedworld School of Business
Working of barcode reader Ppt - Unitedworld School of BusinessWorking of barcode reader Ppt - Unitedworld School of Business
Working of barcode reader Ppt - Unitedworld School of Business
 
datalogger
dataloggerdatalogger
datalogger
 

Similaire à FPGA Based Digital Logic Circuits Operation for Beginners

Digital VLSI Design and FPGA Implementation
Digital VLSI Design and FPGA ImplementationDigital VLSI Design and FPGA Implementation
Digital VLSI Design and FPGA Implementation
Amber Bhaumik
 
Iaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digitalIaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digital
Iaetsd Iaetsd
 
Computer Interface for Electroluminescence (EL)
Computer Interface for Electroluminescence (EL)Computer Interface for Electroluminescence (EL)
Computer Interface for Electroluminescence (EL)
Editor IJCATR
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...
researchinventy
 
Research Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and ScienceResearch Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and Science
researchinventy
 
Implementation of 32 Bit RISC Processor using Reversible Gates
Implementation of 32 Bit RISC Processor using Reversible GatesImplementation of 32 Bit RISC Processor using Reversible Gates
Implementation of 32 Bit RISC Processor using Reversible Gates
ijtsrd
 

Similaire à FPGA Based Digital Logic Circuits Operation for Beginners (20)

Fpg as 11 body
Fpg as 11 bodyFpg as 11 body
Fpg as 11 body
 
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGSA STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
 
FIELD PROGRAMMABLE GATE ARRAYS AND THEIR APPLICATIONS
FIELD PROGRAMMABLE GATE ARRAYS AND THEIR APPLICATIONSFIELD PROGRAMMABLE GATE ARRAYS AND THEIR APPLICATIONS
FIELD PROGRAMMABLE GATE ARRAYS AND THEIR APPLICATIONS
 
Definition of digital circuit
Definition of digital circuit Definition of digital circuit
Definition of digital circuit
 
Digital VLSI Design and FPGA Implementation
Digital VLSI Design and FPGA ImplementationDigital VLSI Design and FPGA Implementation
Digital VLSI Design and FPGA Implementation
 
IRJET- Smart Monitoring System for Industrial Automation (IoT Based)
IRJET- Smart Monitoring System for Industrial Automation (IoT Based)IRJET- Smart Monitoring System for Industrial Automation (IoT Based)
IRJET- Smart Monitoring System for Industrial Automation (IoT Based)
 
nikhil.pptx
nikhil.pptxnikhil.pptx
nikhil.pptx
 
ENCRYPTION KEY GENERATION FOR DIGITAL CIRCUITS USING ANALOG CIRCUITS
ENCRYPTION KEY GENERATION FOR DIGITAL CIRCUITS USING ANALOG CIRCUITSENCRYPTION KEY GENERATION FOR DIGITAL CIRCUITS USING ANALOG CIRCUITS
ENCRYPTION KEY GENERATION FOR DIGITAL CIRCUITS USING ANALOG CIRCUITS
 
FPGA Based Implementation of Electronic Safe Lock
FPGA Based Implementation of Electronic Safe LockFPGA Based Implementation of Electronic Safe Lock
FPGA Based Implementation of Electronic Safe Lock
 
FPGA Based Implementation of Electronic Safe Lock
FPGA Based Implementation of Electronic Safe LockFPGA Based Implementation of Electronic Safe Lock
FPGA Based Implementation of Electronic Safe Lock
 
DIGITAL IC TESTER USING UNIVERSAL GATES.pptx
DIGITAL IC TESTER USING UNIVERSAL GATES.pptxDIGITAL IC TESTER USING UNIVERSAL GATES.pptx
DIGITAL IC TESTER USING UNIVERSAL GATES.pptx
 
Logic Gates (Physics Investigatory Project Class 11&12).pptx
Logic Gates (Physics Investigatory Project Class 11&12).pptxLogic Gates (Physics Investigatory Project Class 11&12).pptx
Logic Gates (Physics Investigatory Project Class 11&12).pptx
 
Programmable logic controller performance enhancement by field programmable g...
Programmable logic controller performance enhancement by field programmable g...Programmable logic controller performance enhancement by field programmable g...
Programmable logic controller performance enhancement by field programmable g...
 
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUES
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUESPERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUES
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUES
 
Iaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digitalIaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digital
 
Computer Interface for Electroluminescence (EL)
Computer Interface for Electroluminescence (EL)Computer Interface for Electroluminescence (EL)
Computer Interface for Electroluminescence (EL)
 
Casp report
Casp reportCasp report
Casp report
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...
 
Research Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and ScienceResearch Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and Science
 
Implementation of 32 Bit RISC Processor using Reversible Gates
Implementation of 32 Bit RISC Processor using Reversible GatesImplementation of 32 Bit RISC Processor using Reversible Gates
Implementation of 32 Bit RISC Processor using Reversible Gates
 

Plus de ijtsrd

‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation
ijtsrd
 
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and ProspectsDynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
ijtsrd
 
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
ijtsrd
 
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
ijtsrd
 
Problems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A StudyProblems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A Study
ijtsrd
 
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
ijtsrd
 
A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...
ijtsrd
 
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
ijtsrd
 
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
ijtsrd
 
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. SadikuSustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
ijtsrd
 
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
ijtsrd
 
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
ijtsrd
 
Activating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment MapActivating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment Map
ijtsrd
 
Educational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger SocietyEducational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger Society
ijtsrd
 
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
ijtsrd
 

Plus de ijtsrd (20)

‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation
 
Edge Computing in Space Enhancing Data Processing and Communication for Space...
Edge Computing in Space Enhancing Data Processing and Communication for Space...Edge Computing in Space Enhancing Data Processing and Communication for Space...
Edge Computing in Space Enhancing Data Processing and Communication for Space...
 
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and ProspectsDynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
 
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
 
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
 
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
 
Problems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A StudyProblems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A Study
 
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
 
The Impact of Educational Background and Professional Training on Human Right...
The Impact of Educational Background and Professional Training on Human Right...The Impact of Educational Background and Professional Training on Human Right...
The Impact of Educational Background and Professional Training on Human Right...
 
A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...
 
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
 
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
 
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. SadikuSustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
 
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
 
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
 
Activating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment MapActivating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment Map
 
Educational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger SocietyEducational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger Society
 
Integration of Indian Indigenous Knowledge System in Management Prospects and...
Integration of Indian Indigenous Knowledge System in Management Prospects and...Integration of Indian Indigenous Knowledge System in Management Prospects and...
Integration of Indian Indigenous Knowledge System in Management Prospects and...
 
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
 
Streamlining Data Collection eCRF Design and Machine Learning
Streamlining Data Collection eCRF Design and Machine LearningStreamlining Data Collection eCRF Design and Machine Learning
Streamlining Data Collection eCRF Design and Machine Learning
 

Dernier

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Dernier (20)

Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 

FPGA Based Digital Logic Circuits Operation for Beginners

  • 1. International Journal of Trend in Scientific Research and Development (IJTSRD) Volume 3 Issue 5, August 2019 Available Online: www.ijtsrd.com e-ISSN: 2456 – 6470 @ IJTSRD | Unique Paper ID – IJTSRD26372 | Volume – 3 | Issue – 5 | July - August 2019 Page 495 FPGA Based Digital Logic Circuits Operation for Beginners San San Naing, Ni Ni San Hlaing, Cho Thet Nwe Department of Electronic Engineering, Technological University, Kyaukse, Myanmar How to cite this paper: San San Naing | Ni Ni San Hlaing | Cho Thet Nwe "FPGA Based Digital Logic Circuits Operation for Beginners" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456- 6470, Volume-3 | Issue-5, August 2019, pp.495-501, https://doi.org/10.31142/ijtsrd26372 Copyright © 2019 by author(s) and International Journalof Trendin Scientific Research and Development Journal. This is an Open Access article distributed under the terms of the Creative CommonsAttribution License (CC BY 4.0) (http://creativecommons.org/licenses/by /4.0) ABSTRACT This paper presents the operations of digital circuits based on FPGA. The long term of FPGA is field programmable gate array. FPGA is an integrated circuit designed to be configured by a customer or a designer after manufacturing – hence "field-programmable". The operations of logic circuits such as logic gates, flip-flop and 7 segment are tested using quartus II software and DE2- 115 and DE1 FPGA development kits in thispaper.Particularly,therearethree main portions such as implementation of schematic diagram, designing of the vhdl program, the connection of the control panel and displaying the result of logic circuits on FPGA kit. The operations of combinational circuits are tested by designing the VHDL programs. And then the operations of sequential circuits are observed and displayed the results of them by illustrating the schematic diagrams. KEYWORDS: FPGA, VHDL, CombinationalCircuits,SequentialCircuits, QuartusII, Schematic Diagram I. INTRODUCTION Logic circuits are implementedelectronically,usingtransistorson an integrated circuit chip. Commonly available chipsthatuse moderntechnologymay contain hundreds of millions of transistors, as in the case of computer processors. The basic building blocks for such circuits are easy to understand, but there is nothing simple about a circuit that contains hundreds of millions of transistors [2]. Logic circuits are used to build computer hardware, as well as many other types of products. All such products are broadly classified as digital hardware. The digital circuits such as combinational circuits, sequential circuits are utilized to implement those digital hardware devices [2]. Therefore this paper presents the operations of those circuits by using different designing ways. A field-programmable gate array (FPGA) is an integrated circuit designed to be configured bya customeroradesigner after manufacturing – hence "field-programmable". The FPGA configuration is generally specified using a hardware description language (HDL), similar to that used for an application-specific integrated circuit (ASIC) (circuit diagrams were previously used to specify the configuration, as they were for ASICs, but this is increasingly rare). FPGAs contain an array of programmable logic blocks, and a hierarchy of reconfigurable interconnects that allow the blocks to be "wired together", like many logic gates that can be inter-wired in different configurations. Logic blocks can be configured to perform complex combinational functions, or merely simple logic gates like AND and XOR. In most FPGAs, logic blocks also include memory elements, which may be simple flip-flops or more completeblocksof memory [3]. FPGA can be used in digital signal processing, bioinformatics, device controllers, software-defined radio, random logic, ASIC prototyping, medical imaging, computer hardware emulation, integrating multiple SPLDs, voice recognition, cryptography, filtering and communication encoding and many more [1]. VHDL II. LITERATURE OF DIGITAL CIRCUITS Nowadays, digital technology becomes popular and very useful application more and more. Digital electronics, digital technology or digital (electronic)circuits areelectronicsthat operate on digital signals. In contrast, analog circuits manipulate analog signals whose performance is more subject to manufacturing tolerance, signal attenuation and noise. Digital techniques are helpful because it is a lot easier to get an electronic device to switch into one of a number of known states than to accurately reproduce a continuous range of values. Digital electronic circuits are usually made from large assemblies of logic gates (often printed on integrated circuits (IC)),simpleelectronicrepresentations of Boolean logic functions[4]. IJTSRD26372
  • 2. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD26372 | Volume – 3 | Issue – 5 | July - August 2019 Page 496 A logic circuit is a circuit that executes a processing or controlling function in a computer. This circuit implements logical operations on information to process it.Logiccircuits utilize two values for a physical quantity, like voltage, to denote the Boolean values true and false or 1 and 0 respectively. There are two main types of digital logic circuits. They are combinational logiccircuitsandsequential logic circuits. Combinational circuitry performs like asimple function. The output is based on the present values of the input. Combinational circuitry is theoretically built from basic logic gates: AND gates, OR gates, XOR gates and inverters. The outputs of gates in combinational circuitryare never sent back directly to earlier inputs[5]. Combinational circuits are also time independent. Alongwith theabsenceof concepts like past inputs, combinational circuits also do not require any clocks. Sequential circuits are a collection of memory elements. These memory elements are flip-flops. These circuits are capable of rememberingdata. Therefore,a sequential circuit’s output depends on current input, as well as past input. Moreover, since flip-flops are present the output of a sequential circuit also depends on the clock input. The operations of the logic gates can be seen in the table. III. METHODOLOGY The operations of logic gates, combinational circuits and sequential circuits are tested by designing the VHDL program and analyzed the results onFPGAdevelopmentkits (DE1, DE2). A field-programmable gate array (FPGA) is an integrated circuit designed tobeconfigured byacustomeror a designer after manufacturing- hence the term ‘field- programmable’’. It is a type of device that is widely used in electronic circuits. FPGAs are semiconductor devices which contain programmable logic blocks and interconnection circuits. It can be programmed or reprogrammed to the required functionality after manufacturing. The specific application of an FPGA includes digital signal processing, bioinformatics, device controllers, software-defined radio, random logic, ASIC prototyping, medical imaging, computer hardware emulation, integrating multiple SPLDs, voice recognition, cryptography, filtering, and communication encoding and many more. 3.1. FLOW CHART OF THE DIGITAL LOGIC CIRCUIT DESIGN There are many steps in designing the digital logic circuits. Firstly, the designer must consider the design concept of the desired circuit and partitions of the circuit. And then, the interconnection of the partition blocks must be considered by the designer. Then, the designer can make the simulation in order to test the function of the complete circuit. Only if the function of the circuit is correct, the physical mapping can be done. After completing this step, the timing simulation must be performed and the designer must check the timing condition is correct or not. Only when the timing of the circuit is correct, the hardware implementation can be made. The flow chart of the digital logic cbeircuit design is illustrated in Figure1.Thispaperdescribes thatthefunctions of the digital logic circuits are simulated and checks the simulation results which are correct or not. 3.2. VHDL CODE OF THE DIGITAL CIRCUITS The operations of logic gates, combinational circuits and sequential circuits are tested with quartus II software and FPGA development kid. The operations of logic gate and combinational circuit are simulated by designing the VHDL programs. The sequential circuit is tested by designing the schematic diagram on the quartus II software and check the operation of the circuit on FPGA development kid. The program code of logic circuit can be written with different levels such as gate level, dataflow level, and behavioral level. The VHDL code for AND logic gate can be written as: LIBRARY IEEE; USE IEEE.STD_LOGIC_1164.ALL; ENTITY And_Gate IS PORT( A : IN STD_LOGIC; B : IN STD_LOGIC; Z : OUT STD_LOGIC); END ENTITY And_Gate; ARCHITECTURE Dataflow OF And_Gate IS BEGIN Z <= A AND B; END ARCHITECTURE Dataflow;
  • 3. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD26372 | Volume – 3 | Issue – 5 | July - August 2019 Page 497 Fig1. Design Flow Chart of the Digital Logic Circuit The program of other logic gates can be written in this form. The 7segment can be programmed in two ways in order to display the output not only the LED outputs but also the 7segment display output. The program code for 7segment for describing the output as 7segment display out is designed as follow: library IEEE; use IEEE.STD_LOGIC_1164.ALL; entity bcd_7seg is Port (B0,B1,B2,B3: in STD_LOGIC; A,B,C,D,E,F,G : out STD_LOGIC); end bcd_7seg; architecture Behavioral of bcd_7seg is begin A <= B0 OR B2 OR (B1 AND B3) OR (NOT B1 AND NOT B3); B <= (NOT B1) OR (NOT B2 AND NOT B3) OR (B2 AND B3); C <= B1 OR NOT B2 OR B3; D <= (NOT B1 AND NOT B3) OR (B2 AND NOT B3) OR (B1 AND NOT B2 AND B3) OR (NOT B1 AND B2) OR B0; E <= (NOT B1 AND NOT B3) OR (B2 AND NOT B3); F <= B0 OR (NOT B2 AND NOT B3) OR (B1 AND NOT B2) OR (B1 AND NOT B3); G <= B0 OR (B1 AND NOT B2) OR ( NOT B1 AND B2) OR (B2 AND NOT B3); end Behavioral; IV. RESULTS OF THE PERFORMANCE OF Digital Circuits USING QUARTUS II AND FPGA Kits This paper presents the operations of digital circuits as the 7segment display results and LED results. Moreover, these results are analyzed with the timing diagrams. Firstly, the operation of logic gate want to be presented with the LED output of the FPGA development kid. Secondly, the BCD_to_7Segment combinational circuit is tested by using DE1 development and educational board. There are four inputs which are represented as binary value ‘0000’ to ‘1001’ and 10 outputs which are represented as decimal value 0 to 9. Four inputs are applied by SW3, SW2, SW1, SW0 of DE1. Decimal value 10outputsaredisplayed on 7Segment of DE1. The results of AND logic gate are described as follow: Fig2. Pin Assignment for Inputs (A,B) and Output (z) Fig3. Output LED is OFF when Inputs are ’00’ condition Fig4. Output LED is OFF when Inputs are ’01’ and ‘10’ condition
  • 4. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD26372 | Volume – 3 | Issue – 5 | July - August 2019 Page 498 Fig5. Output LED is OFF when Inputs are ‘11’condition Fig6. Inputs and Output Pin Assignment Description Fig7. BCD_TO_7Segment Program Uploading Fig8. Decimal Value 0,1 on 7Segment for Binary value ‘0000’ and ‘0001’ Fig9. Decimal Value 2 on 7Segment for Binary value ‘0010’ Fig10. Decimal Value 3 on 7Segment for Binary value ‘0011’ Fig11. Decimal Value 4 on 7Segment for Binary value ‘0100’ Fig12. Decimal Value 5 on 7Segment for Binary value ‘0101’
  • 5. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD26372 | Volume – 3 | Issue – 5 | July - August 2019 Page 499 Fig13. Decimal Value 6 on 7Segment for Binary value ‘0110’ Fig14. Decimal Value 7 on 7Segment for Binary value ‘0111’ Fig15. Decimal Value 8 on 7Segment for Binary value ‘1000’ Fig16. Decimal Value 9 on 7Segment for Binary Value ‘1001’ The digital circuit can be tested by designing not only the VHDL code but also schematic diagram. The operations of master-slave flip-flop and 3-bit up-counter are tested by designing the schematic diagram. Firstly, the schematic diagram of master-slave is designed by using quartus II software. After designing the circuit, it must be compiled to verify that it is correct. And then the pin assignment is done for the input and output ports. Then it is uploaded to DE2- 115 FPGA Board in order to test the operation of the circuit. The schematic design of the master-slave flip-flop is shown in Figure. Fig17. Schematic Diagram of Master-Slave Flip-Flop The inputs and output pin assignment are described in Figure. Fig18. Pin Assignment of The Input and Output Ports The uploading of the schematic diagram is illustrated in Figure. In tis step, it is important to check that the hardware setup is in USB-Blaster (USB-0) and JTAG Mode. If it is not like that, it can be changed by selecting the hardware setup button. After doing this process, masterslave.sof must be selected and then Start button must be clicked in order to upload this file to FPGA DE2-115 board. It needs to wait the progress is 100%. After completing the 100% progress, it can be tested the operation of the circuit on FPGA board by applying the various input conditions. Fig19. Uploading Description of Master-Slave Flip-Flop The operation results of master-slave flip-flop are shown in Figure. The output of the circuit is assigned with LEDG0.The Clock input is assigned with SW1 and the data input is assigned with SW0 on FPGA board.
  • 6. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD26372 | Volume – 3 | Issue – 5 | July - August 2019 Page 500 Fig20. Condition of Clock=0 and Input D=0 Fig21. Condition of Clock=1 to 0 and Input D=1 Fig22. Condition of Clock=1 to 0 and Input D=0 Fig23. Condition of Clock=1 and Input D=1 The operation results can be checked with the timing diagram. It is shown in Figure. Fig24. Timing Diagram of The Master-Slave Flip-Flop The 3-bit down-counter is implemented with three T Flip- Flops. The T input is always applied by logic ‘1’. The three outputs are assigned with Q0,Q1 and Q2. The schematic design of the 3-bit down-counter is shown in Figure. Fig25. Schematic Diagram of The 3-bit Down-Counter The pin assignment and uploading processes are made like master-slave flip-flop. The outputs of this circuit are set to ‘0’ value at the initial state. The input T is always set to ON state. The clock inputis set to ‘1010101…..’. The output Q0 toggles its previous value whenever it is arrived at the positive edge of the clock. The output Q1 toggles its previous value ateverypositiveedge of Q1. The output Q2 toggles its previous value at every positive edge of Q1. The circuit count decimal value 7 ( it is the same as Q2Q1Q0 = 111) at the first positive edge of the clock pulses. At this stage, the output Q0 arrives at the positive edge of the clock. So, the output Q0 toggle its previous value ‘0’. Therefore, its vale is logic value ‘1’. The output Q1 arrives at the positive edge of the Q1 at the same time. So, it toggles its previous value. The value of output Q1 is also logic ‘1’ at this stage. Similarly, the value of output Q2 is logic ‘1’ because the output Q2 togglesitspreviousvalueat the positive edge of the Q1. The inputs T is assigned with SW1 and the clock input is assigned with w0. The outputs Q2, Q1 and Q0 are assigned with LEDG 2, LEDG1 and LEDG0. The operation results are described in Fig. Fig26. T input ‘1’ and Clock input ‘1’ (At The 1stPositive edge of Clock) This figure shows the circuit counts the decimal value 7 at the first positive edge of the clock pulse. In this state, the output Q0 toggle its previous value ‘0’ and so its value is logic ‘1’. Similarly, the output Q1 togglesitspreviousvalue ‘0’ and so its value is logic ‘1’. In the same way, the output Q2 toggles its remain value to logic ‘1’. Therefore, the outputs are Q2Q1Q0 = 111. Fig27. T input ‘1’ and Clock input ‘1’ (At The 2ndPositive edge of Clock) This figure shows the circuit counts the decimal value 7 at the second positive edge of the clock pulse. In this state, the output Q0 toggle its previous value ‘1’ and so its value is logic ‘0’. Similarly, the output Q1 doesn’t toggle its previous value ‘1’ and so its value is logic ‘1’. In the same way, the output Q2 doesn’t toggle its remain value to logic ‘1’. Therefore, the outputs are Q2Q1Q0 = 110. Fig28. T input ‘1’ and Clock input ‘1’ (At The 3rdPositive edge of Clock) This figure shows the circuit counts the decimal value 7 at the third positive edge of the clock pulse. In this state, the output Q0 toggle its previous value ‘0’ and so its value is
  • 7. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD26372 | Volume – 3 | Issue – 5 | July - August 2019 Page 501 logic ‘1’. Similarly, the output Q1 toggle its previous value ‘1’ and so its value is logic ‘0’. In the same way, the output Q2 doesn’t toggle its remain value to logic ‘1’. Therefore, the outputs are Q2Q1Q0 = 101. Fig29. T input ‘1’ and Clock input ‘1’ (At The 4thPositive edge of Clock) This figure shows the circuit counts the decimal value 7 at the fourth positive edge of the clock pulse. In this state, the output Q0 toggles its previous value ‘1’ and so its value is logic ‘0’. Similarly, the output Q1 doesn’t toggle its previous value ‘0’ and so its value remains at logic ‘0’. In the same way, the output Q2 doesn’t toggle its remain value to logic ‘1’. Therefore, the outputs are Q2Q1Q0 = 100. Fig30. T input ‘1’ and Clock input ‘1’ (At The 5thPositive edge of Clock) This figure shows the circuit counts the decimal value 7 at the fifth positive edge of the clock pulse. In this state, the output Q0 toggle its previous value ‘0’ and so its value is logic ‘1’. Similarly, the output Q1 togglesitspreviousvalue‘0’ to logic ‘1’. In the same way, the output Q2 toggles its remain logic value ‘1’ to logic ‘0’. Therefore, the outputs areQ2Q1Q0 = 011. Fig31. T input ‘1’ and Clock input ‘1’ (At The 6thPositive edge of Clock) This figure shows the circuit counts the decimal value 7 at the sixth positive edge of the clock pulse. In this state, the output Q0 toggle its previous value ‘1’ and so its value is logic ‘0’. Similarly, the output Q1 remains its previous value ‘1’ in this state. In the same way, the output Q2 remains logic ‘0’. Therefore, the outputs are Q2Q1Q0 = 010. Fig32. T input ‘1’ and Clock input ‘1’ (At The 7thPositive edge of Clock) This figure shows the circuit counts the decimal value 7 at the seventh positive edge of the clock pulse. In this state, the output Q0 toggle its previous value ‘0’ to logic ‘1’. Similarly, the output Q1 toggles its previous value ‘1’ to logic ‘0’. In the same way, the output Q2 remains logic value ‘0’. Therefore, the outputs are Q2Q1Q0 = 001. Fig33. T input ‘1’ and Clock input ‘1’ (At The 8thPositive edge of Clock) This figure shows the circuit counts the decimal value 7 at the eighth positive edge of the clock pulse. In this state, the output Q0 toggle its previous value ‘1’ and so its value is logic ‘0’. Similarly, the output Q1 remains its previous value ‘0’ in this state. In the same way, the output Q2 remains logic ‘0’. Therefore, the outputs are Q2Q1Q0 = 000. After counting the decimal value 7 to 0, this circuit willcount continuously like previous ways ( 7 to 0) till the inputs are applied. V. CONCLUSION This paper presents the logic circuits operation and the usage of VHDL language. And also the FPGA development kits are applied to analyze the digitallogiccircuitoperations. There are three main parts in this paper. They are logic gate operation, combinational circuit operation and sequential circuit operation. The operations of digital logic circuits are tested by designing the VHDLprogramin quartusII software and display the operated results on FPGA development kit. The authors analyze the results are correct or not by applying the logic circuit datasheets. Allperformanceresults are correct exactly according to their datasheets. Therefore, the VHDL language and FPGA technology can be applied to many larger research applications. VI. ACKNOWLEDGEMENTS The authors would like to thank to all her teachers, parents and colleagues who support the help in their job. They also want to express special thanks to all reviewers who review this paper to be a good paper. VII. REFERENCES [1] https://en.wikipedia.org/wiki/Field_programmablegat e_array [2] Stephen Brown and Zvonko Vranesic, ”Fundamentalof Digital Logic with VHDL Design”, Third Edition. [3] "FPGA Architecture for the Challenge". toronto.edu. [4] https://en.m.wikipedia.org [5] https://www.technocompterscience.com