SlideShare a Scribd company logo
International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015
DOI : 10.5121/vlsic.2015.6303 29
EVALUATION OF ATM FUNCTIONING USING
VHDL AND FPGA
Manali Dhar1
, Debolina Roy2
and Tamosha Saha3
1
Assistant Professor, Department of Electronics & Communication Engineering,
DSCSDEC, Kolkata, India
2,3
UG Student, Department of Electronics & Communication Engineering,
DSCSDEC, Kolkata, India
ABSTRACT
It has been almost four decades that banks and other financial organizations have been gradually
computerised, in order to improve service and efficiency and to reduce cost. The birth of Electronic Fund
Transfer and Automated Teller Machines has given rise to 24-hour banking and a greater variety of
services for the customer. This method uses a computer to transfer debits and credits, with the help of
electronic pulses, which are carried through wires either to a magnetic disk or tape. ATM (Automated
Teller Machine) has become an important part in our daily lives. People use ATM for various purposes
such as money withdrawal, checking balance, changing password etc. Since it mainly deals with people's
money, it has to be a secure system on which we can rely. We have taken a step towards increasing this
security and integrity by trying to implement the functioning of an ATM using VLSI-based programming,
HDL(Hardware Description Language).The conventional coding languages such as C,C++ are replaced
by VHDL(Very High Speed Integrated Circuit Hardware Description Language) so that the code cannot be
easily hacked or changed. This article consists of an insight into the various functions that can be
performed using an ATM, a brief description of the Coding and the obtained simulation results. It also
consists of the implementation of the code using FPGA Kit (Spartan3; Model no.-XC 3S50).
KEYWORDS
ATM (Automated Teller Machine), Security, HDL (Hardware Description Language), FPGA (Field
Programmable Gate Array).
1. INTRODUCTION
An Automated Teller Machine (ATM) is a safety as well as complex and real-time system that
are highly complicated in design and implementation. ATM transaction is a process that involves
any request of money withdrawal or balance check from the user, its approval by the system and
completion successfully. The main steps that make up an ATM transaction are-1) Card Insertion,
2) Card Authentication, 3) Password Verification and 4) Transaction Approval. In Card
Authentication, the card is inserted by the user in the card slot of the ATM.
International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015
30
In Card Authentication, the originality and validity of the card entered is checked by the system.
In the Password Verification step, the user is asked to enter the preset password to access his/her
bank account. This is a vital step which maintains the security of the system. If the password
entered is wrong, the user is denied access to the account, otherwise access is granted. In the final
step, Transaction Approval, the user is asked to enter the amount of money he/she wishes to
withdraw. This amount is then checked against the balance left in the user's account. If balance is
sufficient, withdrawal is approved and the transaction procedure ends. These will be discussed in
further detail later in this document.
2. SOLVING CONVENTIONAL CODE IMPLEMENTATION USING VHDL
The entire transaction process implying the various ATM functions are implemented using
VHDL, as it is a more secure programming language and allows for a better design management.
Also, VHDL is technology independent. The ultimate result of the coding is observed by
integrating it on the Spartan FPGA Kit.
VHDL is an acronym for VHSIC Hardware Description Language (VHSIC is an acronym for
Very High Speed Integrated Circuits). It is a hardware description language that can be used to
model a digital system at many levels of abstraction ranging from the algorithmic level to the
gate level. The digital system can also be described hierarchically. Timing can also be explicitly
modelled in the same description. VHDL is a powerful language with numerous languages
constructs that re capable of describing very complex behaviour.
Firstly, it allows description of the structure of a design that is how it is decomposed into sub-
designs, and how those sub-designs are interconnected. Secondly, it allows the specification of
the function of designs using familiar programming language forms. Thirdly, as a result, it allows
a design to be simulated before being manufactured, so that designers can quickly compare
alternatives and test for correctness without the delay and expense of hardware prototyping
automated teller machines (ATMs) are embedded systems for financial-related services. In the
development of Very Large Scale Integration technology, the Field-Programmable Gate Array
(FPGA) has been widely used to implement digital systems because of its simplicity,
programmability, short design cycle, fast time-to-market, low power consumption, and high
density. An FPGA provides a compromise between an application-specific integrated circuit
(ASIC) and a general purpose processor. Systematically design efficient, portable, and scalable
register transfer level (RTL) digital circuits using the VHDL hardware description language and
synthesis software. An RTL design can accommodate future simulation, verification, and testing
needs, and can be easily incorporated into a larger system or reused.
2.1. VHDL CODE IMPLEMENTATION
VHDL is a language for describing digital electronic systems. VHDL is designed to fill a number
of needs in the design process. Here, we have sketched the flowchart according to which we have
developed our program using VHDL programming language which is more advantageous than
other existing languages.
International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015
31
Fig.1 Flowchart of VHDL code of specified ATM functioning
In automated teller machines (ATMs) the method of electronic funds transfer is incorporated
which uses a computer to transfer debits and credits with the help of electronic pulses, which are
carried through wire either to a magnetic disk or tape. Using an ATM card a customer can access
nearly all the facilities available from a counter service. The basic operation according to the
given flowchart (Figure 1) can be explained according to the following stages. The whole process
can be described as following- STAGE 1: In the first stage, the customer/card holder inserts the
card at the slot provided for card insertion in the ATM machine for card authentication. If the
card seems to be invalid/not inserted in a proper manner, it is indicated through the buzzer.
While, if the card is valid, it automatically proceeds to the next stage. In this stage, it is verified
whether the inserted card is valid or not. If it seems to be invalid, then it is indicated though the
buzzer. If it is the valid one, then it further proceeds. As the next step it asks for a valid password
to be inserted by the card holder. Again, if the entered password is wrong, a next chance is
provided to the user to re-insert the correct password. In case of the entered password is
correct at the first attempt, the system allows to proceed further. STAGE 2: In this stage, the
system asks the card holder to enter a valid password. If the entered password is a wrong one, it is
indicated by the buzzer. In case of a correct password, the system proceeds further.
STAGE 3: In the third stage, we have considered two options: a) Savings Account, b) Current
Account.
In order to proceed further, the customer have to select any one option from this list :- i) If the
Savings Account option is selected, the money withdrawal is done on the Savings Account, ii) If
the Current Account is selected, then the money is withdrawn from the Current Account.
International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015
32
2.2. SIMULATION TOOLS
Xilinx ISE 9.2i:
Xilinx ISE (Integrated Synthesis Environment) is a software tool produced by Xilinx
company for synthesis the proposed design and analysis of Hardware Description
Language(HDL) designs, enabling the developer to compile the designs, examine RTL(Register
Transfer Level) diagrams, perform timing analysis(Test Bench Waveform),simulate a design's
reaction and configure the target device with the programmer.
ALS-SDA-CPLD/FPGA VHDL Trainer Kit (DAUGHTER BOARD-FPGA – XILINX-
XC3S50):
The ALS CPLD/FPGA TRAINER is a powerful tool that allows the user to understand the
capabilities of FPGA and CPLD. Configuration is the process by which the bit streams of a
design, as generated by the development software are loaded into the internal
configuration memory of the FPGA or CPLD. The Spartan-3 family of Field-Programmable
Gate Arrays is specifically designed to meet the needs of high volume, Cost-sensitive
consumer electronic applications. Spartan-3 FPGAs are ideally suited to a wide range of
consumer electronics applications; including broadband access, home & broad range
networking, display/projection and digital television equipment.
Fig.2 XC-3S50 FPGA VHDL TRAINER KIT
This kit provides some features: Spartan -3 FPGA devices XC3S50-PQ208 of Xilinx, It has 50k
System gates, consists of 1,728 logic cells, and it employs 12k Distributed RAM. It also has 72k
Block RAM; it is an FPGA IC in a PQFP208 pin package with 124 I/O lines. And the specified
Daughter Board has some features: Push button switches PROG to initiate FPGA during master
serial mode, Optional PROM, Four sets of 20x2 berg connector for plugging on to the baseboard ,
Mode selection jumpers (JP1) Power supply +3.3V, 2.5V and 1.2V are provided from the
baseboard.
International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015
33
The SPARTAN-3 FPGA of XILINX uses SRAM technology. SPARTAN-3 devices support
serial configurations, using the master/slave serial and JTAG modes, as well as byte-wide
configuration employing the Slave Parallel mode.
Spartan-3 devices support the following four configuration modes:
• Slave Serial mode
• Master Serial mode
• Slave Parallel mode ARTAN
• Boundary-scan mode
Fig.3 Connection diagram of Base-Board
2.3. SIMULATION PROCEDURE
First the VHDL code is implemented and executed using Xilinx ISE 9.2i and the results are
gathered. The corresponding output from Xilinx are synthesize report, RTL schematic, Test
Bench Waveform (user-friendly) and Output waveform according to algorithm; after the final
execution of coding VHDL code will have to loaded to XC-3S50 FPGA VHDL TRAINER KIT
and the corresponding input and output will be shown with the help of O/P & I/P LED Status
(mentioned in Fig.3).The corresponding Simulation results are mentioned in the next sections.
Here, below table indicates the different port names which allocate the performance of input.
Then port type is the performance of input and performance in the given algorithm.
International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015
34
Table1. PORT Depiction
Using the software, Xilinx 9.2i ISE the implementation of the ATM code is performed
practically. The FPGA hardware used is Spartan 3 series on which we have implemented and
practically performance of the ATM code is carried out successfully. The simulation results are
presented in the next section with the snapshots of the hardware implementation we have carried
out.
2.4. SIMULATION RESULTS
RTL Schematic Diagrams are given in Fig.4. & Fig.5, which we have obtained by simulating the
VHDL code using Xilinx 9.2i software, is implemented in the software and the corresponding
RTL views are obtained.
The RTL schematics are followed by the Test Bench waveform (user friendly input) in Fig.6 and
its respective simulation output in Fig.7 which has been obtained by giving certain conditions to
the Test Bench waveform as inputs.
Fig 4.RTL Schematic Diagram of Xilinx 9.2i ISE
International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015
Fig 5.RTL Schematic Diagram
Fig 6.Testbench Waveform generated by Xilinx 9.2i ISE
Fig 7. Simulation Output of Xilinx ISE 9.2i
In the test bench waveform, as it is visible from the figure, certain conditions are given as inputs.
The CURRACCT, INSCRD, PASSWRD options are entered as 1 which means these options are
made true. The simulation output according to the given inputs may be ex
following simulation description table.
International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015
Fig 5.RTL Schematic Diagram-2 of Xilinx 9.2i ISE
Fig 6.Testbench Waveform generated by Xilinx 9.2i ISE
Fig 7. Simulation Output of Xilinx ISE 9.2i
the test bench waveform, as it is visible from the figure, certain conditions are given as inputs.
The CURRACCT, INSCRD, PASSWRD options are entered as 1 which means these options are
made true. The simulation output according to the given inputs may be explained according to the
following simulation description table.
International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015
35
the test bench waveform, as it is visible from the figure, certain conditions are given as inputs.
The CURRACCT, INSCRD, PASSWRD options are entered as 1 which means these options are
plained according to the
International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015
36
Table 2. SIMULATION PORT Depiction
Condition 1:- We have considered another condition where the SAVACCT, INSCRD,
PASSWRD are selected and the test bench waveforms and simulation outputs are obtained as
follows-
Fig 8. Test bench Waveform generated by Xilinx 9.2i ISE
Fig 9. Simulation Output of Xilinx ISE 9.2i
International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015
37
This simulation output may be explained in a similar manner following the previous description
table-
Table 3. SIMULATION PORT Depiction (Condition 1)
In the simulation outputs (Fig 7 & Fig 9), for both the cases certain ports are obtained as
undefined (U) for a certain clock pulse. This indicates that for that particular clock pulse, the state
of the ports could not be determined and hence they remain undefined.
Fig 10. Simulation Output of FPGA VHDL Trainer Kit
International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015
38
In the above figure, the output of the first condition is shown. Here the INSCRD, PASSWRD,
SAVACCT options as entered as 1 through the switches DIP1-1, 2 and 3 respectively. Hence the
three corresponding LEDs of the SIP5 (INPUT LED) series are turned on showing the inputs.
While, the first LED of the SIP1 (OUTPUT LED) series shows that the output port or
MONWITHSA port is ON as well as working according to programme.
Fig 11. Simulation Output of FPGA VHDL Trainer Kit
In this figure, the INSCRD, PASSWRD AND CURRACCT options are selected through the
switches 1,2 and 4 respectively which are shown through the first, second and fourth LEDs of the
SIP5 series. The respective output port i.e. the MONWITHCA port is turned high and is thus
shown by the second LED of the SIP1 series. Thus the FPGA implementation is accomplished
successfully.
3. CONCLUSION
We have taken a step towards improving the security and integrity of an ATM using VHDL,
keeping its original functioning intact. This is a new technology which may prove to be highly
useful. This idea can gradually grow alongside the existing technologies to provide mankind with
a more efficient and secure banking service. Using VHDL can reduce the menace posed by
hackers, and many other such illegal activities which is a worldwide problem these days. Further,
FPGA is a new and user-friendly technology which has found an important place in modern day
research and development. This is flexible and can be combined with various software to yield
in-vitro results. Thus, we sincerely hope that in the near future, this implementation will gain
popularity and will be a significant contribution to the vast field of electronics technology.
ACKNOWLEDGEMENTS
We would like to thank our colleagues as well as our supportive friends for this research.
International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015
39
REFERENCES
[1] Yingxu Wang and Yanan Zhang, “The Formal Design Model of an Automatic Teller Machine
(ATM)” University of Calgary, Canada, International Journal of Software Science and Computational
Intelligence, 2(1), 102-131, January-March 2010.
[2] Avenet Avenue, user’s guide, Xilinx® Spartan™-3 Development Kit.
[3] Stanley MAZOR and Patricia LINGSTRAAT, "A guide to VHDL (2nd Edition)", copyright 1993,
Kluwer Achedamic Publishers, pp no: 1-1 to 7-16.
[4] http://www.fpga.com.cn/hdl/training/Vhdl_Golden_Reference_Guide.pdf
[5] Peter J. Ashenden and Jim Lewis, "The Designer's Guide to VHDL (3rd Edition)" copyright 2008,
Morgan KJaufmann Publication, pp no:207-225.
[6] Pong P. Chu "RTL Hardware Design Using VHDL, Coding For Efficiency, portability and
Scalability", Willy Interscience a john wilay & sons, inc., Publication, pp no:23-160.
[7] Hardware Implementation of Watchdog Timer for Application in ATM Machine Using Verilog and
FPGA Iqbalur Rahman Rokon, Toufiq Rahman, Md. Murtoza Ali Quader, and Mukit
Alam,International Conference on Electronics, Biomedical Engineering and its Applications
(ICEBEA'2012) Jan. 7-8, 2012 Dubai
AUTHORS
[1] First Author – Manali Dhar, M.Tech (Microelectronics & VLSI Design),
Dr. Sudhir Chandra Sur Degree Engineering College, Assistant Professor,
Dept. of ECE, JIS Group and madhuja4u@gmail.com
[2] Second Author – Debolina Roy, Final Year B.Tech Student (Electronics &
Communication Engineering), Dr. Sudhir Chandra Sur Degree Engineering
College, JIS Group
[3] Third Author – Tamosha Saha, Final Year B.Tech Student (Electronics
& Communication Engineering), Dr. Sudhir Chandra Sur Degree Engineering
College, JIS Group

More Related Content

What's hot (20)

PPT
Atm technology and operations
Anil Chaurasiya
 
PPTX
Automated Teller Machine
Diotima Gupta
 
PPTX
ATM
Darani Daran
 
PPTX
Atm machine
Varsha Pawar
 
PPTX
Ppt on atm machine
Prabhat Singh
 
PPT
Working of ATM machine : For all those who wanted to know the internal workin...
sgoldbergg
 
PPTX
Presentation On ATM Technology
VINOD KUMAR RAMKUMAR
 
PPTX
A T M (Automated Teller Machine)
Networking
 
PPT
How do at ms work.ppt
Naveen Sihag
 
PPTX
ATM BANKING SYSTEM
sathish sak
 
PPTX
Communication in automatic teller machine (atm)
Ruksin Sangrugee
 
PPTX
Atm machine
RanjithMsc
 
PPT
C program for hnb atm machine original - updated - [pys]
Pasan Suriyaarachchi
 
PPTX
ATM(AUTOMATIC TELLER MACHINE)-HISTORY,TYPES, WORKING, STRUCTURE
Radhika Venkat
 
DOCX
Software for atm manufacturer
handryjames
 
PPTX
Atm-Automated Teller Machines prepared by Abhijith Rajasekharan
abhijith rs
 
DOCX
Atm simulation mini project using Python programming language
Mauryasuraj98
 
PPTX
Atm system ppt
umeshupadhyay12
 
PPTX
ATM Banking
Arnav Sameer
 
Atm technology and operations
Anil Chaurasiya
 
Automated Teller Machine
Diotima Gupta
 
Atm machine
Varsha Pawar
 
Ppt on atm machine
Prabhat Singh
 
Working of ATM machine : For all those who wanted to know the internal workin...
sgoldbergg
 
Presentation On ATM Technology
VINOD KUMAR RAMKUMAR
 
A T M (Automated Teller Machine)
Networking
 
How do at ms work.ppt
Naveen Sihag
 
ATM BANKING SYSTEM
sathish sak
 
Communication in automatic teller machine (atm)
Ruksin Sangrugee
 
Atm machine
RanjithMsc
 
C program for hnb atm machine original - updated - [pys]
Pasan Suriyaarachchi
 
ATM(AUTOMATIC TELLER MACHINE)-HISTORY,TYPES, WORKING, STRUCTURE
Radhika Venkat
 
Software for atm manufacturer
handryjames
 
Atm-Automated Teller Machines prepared by Abhijith Rajasekharan
abhijith rs
 
Atm simulation mini project using Python programming language
Mauryasuraj98
 
Atm system ppt
umeshupadhyay12
 
ATM Banking
Arnav Sameer
 

Viewers also liked (20)

PDF
A novel handover algorithm for lte
VLSICS Design
 
PDF
Static power optimization using dual sub threshold supply voltages in digital...
VLSICS Design
 
PDF
IMPLEMENTATION OF SDC - SDF ARCHITECTURE FOR RADIX-4 FFT
VLSICS Design
 
PDF
SCHOTTKY TUNNELING SOURCE IMPACT IONIZATION MOSFET (STS-IMOS) WITH ENHANCED D...
VLSICS Design
 
PDF
Design approach for fault
VLSICS Design
 
PDF
DUALISTIC THRESHOLD BASED MIN-MAX METHOD FOR VOICE SIGNAL ENHANCEMENT
VLSICS Design
 
PDF
Design of ultra low power 8 channel analog multiplexer using dynamic threshol...
VLSICS Design
 
PDF
A novel architecture of rns based
VLSICS Design
 
PDF
DESIGN AND IMPLEMENTATION OF 10 BIT, 2MS/s SPLIT SAR ADC USING 0.18um CMOS TE...
VLSICS Design
 
PDF
Transistor level implementation of digital reversible circuits
VLSICS Design
 
PDF
A low power cmos analog circuit design for acquiring multichannel eeg signals
VLSICS Design
 
PDF
A new efficient fpga design of residue to-binary converter
VLSICS Design
 
PDF
A novel low power high dynamic threshold swing limited repeater insertion for...
VLSICS Design
 
PDF
LOW POWER, LOW NOISE AMPLIFIERS DESIGN AND ANALYSIS FOR RF RECEIVER FRONT END...
VLSICS Design
 
PDF
MODIFIED MICROPIPLINE ARCHITECTURE FOR SYNTHESIZABLE ASYNCHRONOUS FIR FILTER ...
VLSICS Design
 
PDF
Power Optimized Datapath Units of Hybrid Embedded Core Architecture Using Clo...
VLSICS Design
 
PDF
Architecture of a novel configurable
VLSICS Design
 
PDF
An integrated approach for designing and testing specific processors
VLSICS Design
 
PDF
DESIGN AND IMPLEMENTATION OF AN IMPROVED CARRY INCREMENT ADDER
VLSICS Design
 
PDF
Finite state machine based vending machine IEEE Paper
Pratik Patil
 
A novel handover algorithm for lte
VLSICS Design
 
Static power optimization using dual sub threshold supply voltages in digital...
VLSICS Design
 
IMPLEMENTATION OF SDC - SDF ARCHITECTURE FOR RADIX-4 FFT
VLSICS Design
 
SCHOTTKY TUNNELING SOURCE IMPACT IONIZATION MOSFET (STS-IMOS) WITH ENHANCED D...
VLSICS Design
 
Design approach for fault
VLSICS Design
 
DUALISTIC THRESHOLD BASED MIN-MAX METHOD FOR VOICE SIGNAL ENHANCEMENT
VLSICS Design
 
Design of ultra low power 8 channel analog multiplexer using dynamic threshol...
VLSICS Design
 
A novel architecture of rns based
VLSICS Design
 
DESIGN AND IMPLEMENTATION OF 10 BIT, 2MS/s SPLIT SAR ADC USING 0.18um CMOS TE...
VLSICS Design
 
Transistor level implementation of digital reversible circuits
VLSICS Design
 
A low power cmos analog circuit design for acquiring multichannel eeg signals
VLSICS Design
 
A new efficient fpga design of residue to-binary converter
VLSICS Design
 
A novel low power high dynamic threshold swing limited repeater insertion for...
VLSICS Design
 
LOW POWER, LOW NOISE AMPLIFIERS DESIGN AND ANALYSIS FOR RF RECEIVER FRONT END...
VLSICS Design
 
MODIFIED MICROPIPLINE ARCHITECTURE FOR SYNTHESIZABLE ASYNCHRONOUS FIR FILTER ...
VLSICS Design
 
Power Optimized Datapath Units of Hybrid Embedded Core Architecture Using Clo...
VLSICS Design
 
Architecture of a novel configurable
VLSICS Design
 
An integrated approach for designing and testing specific processors
VLSICS Design
 
DESIGN AND IMPLEMENTATION OF AN IMPROVED CARRY INCREMENT ADDER
VLSICS Design
 
Finite state machine based vending machine IEEE Paper
Pratik Patil
 
Ad

Similar to EVALUATION OF ATM FUNCTIONING USING VHDL AND FPGA (20)

PDF
Improvement of a PIN-Entry Method Resilient to ShoulderSurfing and Recording ...
IJRTEMJOURNAL
 
PDF
An efficient implementation for key management technique using smart card and...
ijctcm
 
PPTX
Automatic fee collection & receipt printing system
Apurv Modi
 
PDF
IRJET- Smart Trolley for Billing System
IRJET Journal
 
PDF
Design of a Digital Baseband Processor for UWB Transceiver on RFID Tag
theijes
 
PDF
IRJET - Automatic Toll E-Tickting System for Transportation and Finding o...
IRJET Journal
 
PDF
Third Generation Automatic Teller Machine
ijsrd.com
 
PDF
Rfid based automated bank locker system
eSAT Publishing House
 
PDF
SECURE DATA ENCRYPTION FOR ATM TRANSACTIONS
IRJET Journal
 
PDF
Communication Protocols Augmentation in VLSI Design Applications
IJERA Editor
 
PDF
ATM for visually challenged people
IRJET Journal
 
PDF
IRJET- A Survey on Cardless Automated Teller Machine(ATM)
IRJET Journal
 
PDF
IRJET- E-Gatepass System
IRJET Journal
 
PDF
Vlsics040307DESIGN AND IMPLEMENTATION OF CAR PARKING SYSTEM ON FPGA
VLSICS Design
 
PDF
IRJET - RFID based Automatic Entry Restricted Mechanism for Home Security
IRJET Journal
 
PDF
Smart Card Implementation in Road Transportation
BRNSSPublicationHubI
 
PDF
Design of Banking Security System Using Mems And Rfid Technology
theijes
 
PDF
IRJET- Guarded Remittance System Employing WANET for Catastrophe Region
IRJET Journal
 
PDF
Advanced Security System for Bank Lockers using Biometric and GSM
IRJET Journal
 
PDF
Accessory authentication on NFC enabled product using three pass AES algorithm
IRJET Journal
 
Improvement of a PIN-Entry Method Resilient to ShoulderSurfing and Recording ...
IJRTEMJOURNAL
 
An efficient implementation for key management technique using smart card and...
ijctcm
 
Automatic fee collection & receipt printing system
Apurv Modi
 
IRJET- Smart Trolley for Billing System
IRJET Journal
 
Design of a Digital Baseband Processor for UWB Transceiver on RFID Tag
theijes
 
IRJET - Automatic Toll E-Tickting System for Transportation and Finding o...
IRJET Journal
 
Third Generation Automatic Teller Machine
ijsrd.com
 
Rfid based automated bank locker system
eSAT Publishing House
 
SECURE DATA ENCRYPTION FOR ATM TRANSACTIONS
IRJET Journal
 
Communication Protocols Augmentation in VLSI Design Applications
IJERA Editor
 
ATM for visually challenged people
IRJET Journal
 
IRJET- A Survey on Cardless Automated Teller Machine(ATM)
IRJET Journal
 
IRJET- E-Gatepass System
IRJET Journal
 
Vlsics040307DESIGN AND IMPLEMENTATION OF CAR PARKING SYSTEM ON FPGA
VLSICS Design
 
IRJET - RFID based Automatic Entry Restricted Mechanism for Home Security
IRJET Journal
 
Smart Card Implementation in Road Transportation
BRNSSPublicationHubI
 
Design of Banking Security System Using Mems And Rfid Technology
theijes
 
IRJET- Guarded Remittance System Employing WANET for Catastrophe Region
IRJET Journal
 
Advanced Security System for Bank Lockers using Biometric and GSM
IRJET Journal
 
Accessory authentication on NFC enabled product using three pass AES algorithm
IRJET Journal
 
Ad

Recently uploaded (20)

PDF
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PPTX
REINFORCEMENT AS CONSTRUCTION MATERIALS.pptx
mohaiminulhaquesami
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PPTX
drones for disaster prevention response.pptx
NawrasShatnawi1
 
PPTX
MPMC_Module-2 xxxxxxxxxxxxxxxxxxxxx.pptx
ShivanshVaidya5
 
PPTX
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
PDF
MOBILE AND WEB BASED REMOTE BUSINESS MONITORING SYSTEM
ijait
 
PPTX
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
PPTX
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
PDF
monopile foundation seminar topic for civil engineering students
Ahina5
 
PPTX
Green Building & Energy Conservation ppt
Sagar Sarangi
 
PDF
BioSensors glucose monitoring, cholestrol
nabeehasahar1
 
PPTX
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PDF
POWER PLANT ENGINEERING (R17A0326).pdf..
haneefachosa123
 
PDF
Statistical Data Analysis Using SPSS Software
shrikrishna kesharwani
 
PPTX
EC3551-Transmission lines Demo class .pptx
Mahalakshmiprasannag
 
PDF
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
PDF
ARC--BUILDING-UTILITIES-2-PART-2 (1).pdf
IzzyBaniquedBusto
 
PPTX
NEUROMOROPHIC nu iajwojeieheueueueu.pptx
knkoodalingam39
 
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
REINFORCEMENT AS CONSTRUCTION MATERIALS.pptx
mohaiminulhaquesami
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
drones for disaster prevention response.pptx
NawrasShatnawi1
 
MPMC_Module-2 xxxxxxxxxxxxxxxxxxxxx.pptx
ShivanshVaidya5
 
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
MOBILE AND WEB BASED REMOTE BUSINESS MONITORING SYSTEM
ijait
 
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
monopile foundation seminar topic for civil engineering students
Ahina5
 
Green Building & Energy Conservation ppt
Sagar Sarangi
 
BioSensors glucose monitoring, cholestrol
nabeehasahar1
 
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
POWER PLANT ENGINEERING (R17A0326).pdf..
haneefachosa123
 
Statistical Data Analysis Using SPSS Software
shrikrishna kesharwani
 
EC3551-Transmission lines Demo class .pptx
Mahalakshmiprasannag
 
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
ARC--BUILDING-UTILITIES-2-PART-2 (1).pdf
IzzyBaniquedBusto
 
NEUROMOROPHIC nu iajwojeieheueueueu.pptx
knkoodalingam39
 

EVALUATION OF ATM FUNCTIONING USING VHDL AND FPGA

  • 1. International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015 DOI : 10.5121/vlsic.2015.6303 29 EVALUATION OF ATM FUNCTIONING USING VHDL AND FPGA Manali Dhar1 , Debolina Roy2 and Tamosha Saha3 1 Assistant Professor, Department of Electronics & Communication Engineering, DSCSDEC, Kolkata, India 2,3 UG Student, Department of Electronics & Communication Engineering, DSCSDEC, Kolkata, India ABSTRACT It has been almost four decades that banks and other financial organizations have been gradually computerised, in order to improve service and efficiency and to reduce cost. The birth of Electronic Fund Transfer and Automated Teller Machines has given rise to 24-hour banking and a greater variety of services for the customer. This method uses a computer to transfer debits and credits, with the help of electronic pulses, which are carried through wires either to a magnetic disk or tape. ATM (Automated Teller Machine) has become an important part in our daily lives. People use ATM for various purposes such as money withdrawal, checking balance, changing password etc. Since it mainly deals with people's money, it has to be a secure system on which we can rely. We have taken a step towards increasing this security and integrity by trying to implement the functioning of an ATM using VLSI-based programming, HDL(Hardware Description Language).The conventional coding languages such as C,C++ are replaced by VHDL(Very High Speed Integrated Circuit Hardware Description Language) so that the code cannot be easily hacked or changed. This article consists of an insight into the various functions that can be performed using an ATM, a brief description of the Coding and the obtained simulation results. It also consists of the implementation of the code using FPGA Kit (Spartan3; Model no.-XC 3S50). KEYWORDS ATM (Automated Teller Machine), Security, HDL (Hardware Description Language), FPGA (Field Programmable Gate Array). 1. INTRODUCTION An Automated Teller Machine (ATM) is a safety as well as complex and real-time system that are highly complicated in design and implementation. ATM transaction is a process that involves any request of money withdrawal or balance check from the user, its approval by the system and completion successfully. The main steps that make up an ATM transaction are-1) Card Insertion, 2) Card Authentication, 3) Password Verification and 4) Transaction Approval. In Card Authentication, the card is inserted by the user in the card slot of the ATM.
  • 2. International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015 30 In Card Authentication, the originality and validity of the card entered is checked by the system. In the Password Verification step, the user is asked to enter the preset password to access his/her bank account. This is a vital step which maintains the security of the system. If the password entered is wrong, the user is denied access to the account, otherwise access is granted. In the final step, Transaction Approval, the user is asked to enter the amount of money he/she wishes to withdraw. This amount is then checked against the balance left in the user's account. If balance is sufficient, withdrawal is approved and the transaction procedure ends. These will be discussed in further detail later in this document. 2. SOLVING CONVENTIONAL CODE IMPLEMENTATION USING VHDL The entire transaction process implying the various ATM functions are implemented using VHDL, as it is a more secure programming language and allows for a better design management. Also, VHDL is technology independent. The ultimate result of the coding is observed by integrating it on the Spartan FPGA Kit. VHDL is an acronym for VHSIC Hardware Description Language (VHSIC is an acronym for Very High Speed Integrated Circuits). It is a hardware description language that can be used to model a digital system at many levels of abstraction ranging from the algorithmic level to the gate level. The digital system can also be described hierarchically. Timing can also be explicitly modelled in the same description. VHDL is a powerful language with numerous languages constructs that re capable of describing very complex behaviour. Firstly, it allows description of the structure of a design that is how it is decomposed into sub- designs, and how those sub-designs are interconnected. Secondly, it allows the specification of the function of designs using familiar programming language forms. Thirdly, as a result, it allows a design to be simulated before being manufactured, so that designers can quickly compare alternatives and test for correctness without the delay and expense of hardware prototyping automated teller machines (ATMs) are embedded systems for financial-related services. In the development of Very Large Scale Integration technology, the Field-Programmable Gate Array (FPGA) has been widely used to implement digital systems because of its simplicity, programmability, short design cycle, fast time-to-market, low power consumption, and high density. An FPGA provides a compromise between an application-specific integrated circuit (ASIC) and a general purpose processor. Systematically design efficient, portable, and scalable register transfer level (RTL) digital circuits using the VHDL hardware description language and synthesis software. An RTL design can accommodate future simulation, verification, and testing needs, and can be easily incorporated into a larger system or reused. 2.1. VHDL CODE IMPLEMENTATION VHDL is a language for describing digital electronic systems. VHDL is designed to fill a number of needs in the design process. Here, we have sketched the flowchart according to which we have developed our program using VHDL programming language which is more advantageous than other existing languages.
  • 3. International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015 31 Fig.1 Flowchart of VHDL code of specified ATM functioning In automated teller machines (ATMs) the method of electronic funds transfer is incorporated which uses a computer to transfer debits and credits with the help of electronic pulses, which are carried through wire either to a magnetic disk or tape. Using an ATM card a customer can access nearly all the facilities available from a counter service. The basic operation according to the given flowchart (Figure 1) can be explained according to the following stages. The whole process can be described as following- STAGE 1: In the first stage, the customer/card holder inserts the card at the slot provided for card insertion in the ATM machine for card authentication. If the card seems to be invalid/not inserted in a proper manner, it is indicated through the buzzer. While, if the card is valid, it automatically proceeds to the next stage. In this stage, it is verified whether the inserted card is valid or not. If it seems to be invalid, then it is indicated though the buzzer. If it is the valid one, then it further proceeds. As the next step it asks for a valid password to be inserted by the card holder. Again, if the entered password is wrong, a next chance is provided to the user to re-insert the correct password. In case of the entered password is correct at the first attempt, the system allows to proceed further. STAGE 2: In this stage, the system asks the card holder to enter a valid password. If the entered password is a wrong one, it is indicated by the buzzer. In case of a correct password, the system proceeds further. STAGE 3: In the third stage, we have considered two options: a) Savings Account, b) Current Account. In order to proceed further, the customer have to select any one option from this list :- i) If the Savings Account option is selected, the money withdrawal is done on the Savings Account, ii) If the Current Account is selected, then the money is withdrawn from the Current Account.
  • 4. International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015 32 2.2. SIMULATION TOOLS Xilinx ISE 9.2i: Xilinx ISE (Integrated Synthesis Environment) is a software tool produced by Xilinx company for synthesis the proposed design and analysis of Hardware Description Language(HDL) designs, enabling the developer to compile the designs, examine RTL(Register Transfer Level) diagrams, perform timing analysis(Test Bench Waveform),simulate a design's reaction and configure the target device with the programmer. ALS-SDA-CPLD/FPGA VHDL Trainer Kit (DAUGHTER BOARD-FPGA – XILINX- XC3S50): The ALS CPLD/FPGA TRAINER is a powerful tool that allows the user to understand the capabilities of FPGA and CPLD. Configuration is the process by which the bit streams of a design, as generated by the development software are loaded into the internal configuration memory of the FPGA or CPLD. The Spartan-3 family of Field-Programmable Gate Arrays is specifically designed to meet the needs of high volume, Cost-sensitive consumer electronic applications. Spartan-3 FPGAs are ideally suited to a wide range of consumer electronics applications; including broadband access, home & broad range networking, display/projection and digital television equipment. Fig.2 XC-3S50 FPGA VHDL TRAINER KIT This kit provides some features: Spartan -3 FPGA devices XC3S50-PQ208 of Xilinx, It has 50k System gates, consists of 1,728 logic cells, and it employs 12k Distributed RAM. It also has 72k Block RAM; it is an FPGA IC in a PQFP208 pin package with 124 I/O lines. And the specified Daughter Board has some features: Push button switches PROG to initiate FPGA during master serial mode, Optional PROM, Four sets of 20x2 berg connector for plugging on to the baseboard , Mode selection jumpers (JP1) Power supply +3.3V, 2.5V and 1.2V are provided from the baseboard.
  • 5. International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015 33 The SPARTAN-3 FPGA of XILINX uses SRAM technology. SPARTAN-3 devices support serial configurations, using the master/slave serial and JTAG modes, as well as byte-wide configuration employing the Slave Parallel mode. Spartan-3 devices support the following four configuration modes: • Slave Serial mode • Master Serial mode • Slave Parallel mode ARTAN • Boundary-scan mode Fig.3 Connection diagram of Base-Board 2.3. SIMULATION PROCEDURE First the VHDL code is implemented and executed using Xilinx ISE 9.2i and the results are gathered. The corresponding output from Xilinx are synthesize report, RTL schematic, Test Bench Waveform (user-friendly) and Output waveform according to algorithm; after the final execution of coding VHDL code will have to loaded to XC-3S50 FPGA VHDL TRAINER KIT and the corresponding input and output will be shown with the help of O/P & I/P LED Status (mentioned in Fig.3).The corresponding Simulation results are mentioned in the next sections. Here, below table indicates the different port names which allocate the performance of input. Then port type is the performance of input and performance in the given algorithm.
  • 6. International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015 34 Table1. PORT Depiction Using the software, Xilinx 9.2i ISE the implementation of the ATM code is performed practically. The FPGA hardware used is Spartan 3 series on which we have implemented and practically performance of the ATM code is carried out successfully. The simulation results are presented in the next section with the snapshots of the hardware implementation we have carried out. 2.4. SIMULATION RESULTS RTL Schematic Diagrams are given in Fig.4. & Fig.5, which we have obtained by simulating the VHDL code using Xilinx 9.2i software, is implemented in the software and the corresponding RTL views are obtained. The RTL schematics are followed by the Test Bench waveform (user friendly input) in Fig.6 and its respective simulation output in Fig.7 which has been obtained by giving certain conditions to the Test Bench waveform as inputs. Fig 4.RTL Schematic Diagram of Xilinx 9.2i ISE
  • 7. International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015 Fig 5.RTL Schematic Diagram Fig 6.Testbench Waveform generated by Xilinx 9.2i ISE Fig 7. Simulation Output of Xilinx ISE 9.2i In the test bench waveform, as it is visible from the figure, certain conditions are given as inputs. The CURRACCT, INSCRD, PASSWRD options are entered as 1 which means these options are made true. The simulation output according to the given inputs may be ex following simulation description table. International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015 Fig 5.RTL Schematic Diagram-2 of Xilinx 9.2i ISE Fig 6.Testbench Waveform generated by Xilinx 9.2i ISE Fig 7. Simulation Output of Xilinx ISE 9.2i the test bench waveform, as it is visible from the figure, certain conditions are given as inputs. The CURRACCT, INSCRD, PASSWRD options are entered as 1 which means these options are made true. The simulation output according to the given inputs may be explained according to the following simulation description table. International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015 35 the test bench waveform, as it is visible from the figure, certain conditions are given as inputs. The CURRACCT, INSCRD, PASSWRD options are entered as 1 which means these options are plained according to the
  • 8. International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015 36 Table 2. SIMULATION PORT Depiction Condition 1:- We have considered another condition where the SAVACCT, INSCRD, PASSWRD are selected and the test bench waveforms and simulation outputs are obtained as follows- Fig 8. Test bench Waveform generated by Xilinx 9.2i ISE Fig 9. Simulation Output of Xilinx ISE 9.2i
  • 9. International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015 37 This simulation output may be explained in a similar manner following the previous description table- Table 3. SIMULATION PORT Depiction (Condition 1) In the simulation outputs (Fig 7 & Fig 9), for both the cases certain ports are obtained as undefined (U) for a certain clock pulse. This indicates that for that particular clock pulse, the state of the ports could not be determined and hence they remain undefined. Fig 10. Simulation Output of FPGA VHDL Trainer Kit
  • 10. International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015 38 In the above figure, the output of the first condition is shown. Here the INSCRD, PASSWRD, SAVACCT options as entered as 1 through the switches DIP1-1, 2 and 3 respectively. Hence the three corresponding LEDs of the SIP5 (INPUT LED) series are turned on showing the inputs. While, the first LED of the SIP1 (OUTPUT LED) series shows that the output port or MONWITHSA port is ON as well as working according to programme. Fig 11. Simulation Output of FPGA VHDL Trainer Kit In this figure, the INSCRD, PASSWRD AND CURRACCT options are selected through the switches 1,2 and 4 respectively which are shown through the first, second and fourth LEDs of the SIP5 series. The respective output port i.e. the MONWITHCA port is turned high and is thus shown by the second LED of the SIP1 series. Thus the FPGA implementation is accomplished successfully. 3. CONCLUSION We have taken a step towards improving the security and integrity of an ATM using VHDL, keeping its original functioning intact. This is a new technology which may prove to be highly useful. This idea can gradually grow alongside the existing technologies to provide mankind with a more efficient and secure banking service. Using VHDL can reduce the menace posed by hackers, and many other such illegal activities which is a worldwide problem these days. Further, FPGA is a new and user-friendly technology which has found an important place in modern day research and development. This is flexible and can be combined with various software to yield in-vitro results. Thus, we sincerely hope that in the near future, this implementation will gain popularity and will be a significant contribution to the vast field of electronics technology. ACKNOWLEDGEMENTS We would like to thank our colleagues as well as our supportive friends for this research.
  • 11. International Journal of VLSI design & Communication Systems (VLSICS) Vol.6, No.3, June 2015 39 REFERENCES [1] Yingxu Wang and Yanan Zhang, “The Formal Design Model of an Automatic Teller Machine (ATM)” University of Calgary, Canada, International Journal of Software Science and Computational Intelligence, 2(1), 102-131, January-March 2010. [2] Avenet Avenue, user’s guide, Xilinx® Spartan™-3 Development Kit. [3] Stanley MAZOR and Patricia LINGSTRAAT, "A guide to VHDL (2nd Edition)", copyright 1993, Kluwer Achedamic Publishers, pp no: 1-1 to 7-16. [4] http://www.fpga.com.cn/hdl/training/Vhdl_Golden_Reference_Guide.pdf [5] Peter J. Ashenden and Jim Lewis, "The Designer's Guide to VHDL (3rd Edition)" copyright 2008, Morgan KJaufmann Publication, pp no:207-225. [6] Pong P. Chu "RTL Hardware Design Using VHDL, Coding For Efficiency, portability and Scalability", Willy Interscience a john wilay & sons, inc., Publication, pp no:23-160. [7] Hardware Implementation of Watchdog Timer for Application in ATM Machine Using Verilog and FPGA Iqbalur Rahman Rokon, Toufiq Rahman, Md. Murtoza Ali Quader, and Mukit Alam,International Conference on Electronics, Biomedical Engineering and its Applications (ICEBEA'2012) Jan. 7-8, 2012 Dubai AUTHORS [1] First Author – Manali Dhar, M.Tech (Microelectronics & VLSI Design), Dr. Sudhir Chandra Sur Degree Engineering College, Assistant Professor, Dept. of ECE, JIS Group and [email protected] [2] Second Author – Debolina Roy, Final Year B.Tech Student (Electronics & Communication Engineering), Dr. Sudhir Chandra Sur Degree Engineering College, JIS Group [3] Third Author – Tamosha Saha, Final Year B.Tech Student (Electronics & Communication Engineering), Dr. Sudhir Chandra Sur Degree Engineering College, JIS Group