ATM_ppt
- 1. ©M. S. Ramaiah University of Applied Sciences
1
Faculty of Engineering & Technology
Simplescalar and ATM Controller
Sree Nikhilendra Prasad DJ
FT 2014 Batch, Reg. No.: 14ETCS037010
M. Tech. in Real Time Embedded Systems
Module Leader: Ms. Padmapriya Darshini P. and Mr. Sanket
Dessai
Module Name: Conventional and Reconfigurable Computer
Architectural Design
Module Code : RTS504
- 2. ©M. S. Ramaiah University of Applied Sciences
2
Faculty of Engineering & Technology
Marking
Head Maximum Score
Technical Content 5
Grasp and Explanation 5
Quality of Slides and
Delivery
5
Q & A 5
Total 20
- 3. ©M. S. Ramaiah University of Applied Sciences
3
Faculty of Engineering & Technology
Presentation Outline
• Introduction
• Raspberry Pi and Beaglebone Architecture
• Comparative analysis
• Simplescalar
• Pipeline width and order of execution
• CPI
• Requirements for ATM Controller
• General requirements
• Requirements for authorization
• Requirements for a transaction
• Interfaces
• Conclusion
• References
- 4. ©M. S. Ramaiah University of Applied Sciences
4
Faculty of Engineering & Technology
Introduction
• A raspberry pi is a credit card sized computer which
can be connected to the television and a keyboard
which is a product of the Raspberry Pi Foundation.
• It can perform a normal desktops functions such as
word processing, games and it can also plays high-
definition videos.
• A beaglebone is an embedded Linux single board
computer which is a product of Texas Instruments.
• It supports the softwares such as Eclipse and OpenCV
- 5. ©M. S. Ramaiah University of Applied Sciences
5
Faculty of Engineering & Technology
Raspberry Pi and Beaglebone Architecture
• The model A Raspberry Pi uses an ARM1176JZF-S
700MHz CPU which is also installed in a vivid
range of mobile phones, hand held games
consoles and eReaders.
• The model B Raspberry Pi has 512MB SDRAM.
• Beaglebone uses an AM3358 1GHz ARM Cortex-A8
processor and 4GB eMMC flash storage. The ARM
CPU implements the ARMv7-A 32-bit ISA and
power consumption is less than 300mW.
- 6. ©M. S. Ramaiah University of Applied Sciences
6
Faculty of Engineering & Technology
Comparative analysis
Raspberry Pi Beaglebone
Processing capabilities Low High
Performance High Low
Instructions Low High
Memory Low High
Caching Low High
- 7. ©M. S. Ramaiah University of Applied Sciences
7
Faculty of Engineering & Technology
Simplescalar
• SimpleScalar tool set is a system software
infrastructure that can be used to build modeling
applications for program performance analysis,
detailed microarchitectural modeling and
hardware-softtware co-verification.
• SPEC95 benchmarks are compress, go, ccl, perl
and anagram.
- 8. ©M. S. Ramaiah University of Applied Sciences
8
Faculty of Engineering & Technology
Pipeline width and order of execution
In-order Out-of-order
Pipeline width 1 4 8 1 4 8
Anagram
CPI
Total number of clock cycles
2.4982
5.166*10^4
2.1544
4.455*10^4
2.1068
4.357*10^4
2.3706
4.902*10^4
1.4672
3.034*10^4
1.3893
2.873*10^4
Compress
CPI
Total number of clock cycles
1.4873
1.196*10^8
1.2835
1.032*10^8
0.7794
6.269*10^7
1.4663
1.179*10^8
1.7145
1.379*10^8
1.8158
1.460*10^8
Go
CPI
Total number of clock cycles
1.9792
1.891*10^9
1.5788
1.508*10^9
1.4913
1.425*10^9
1.8517
1.769*10^9
1.1428
1.091*10^9
1.0666
1.019*10^9
- 9. ©M. S. Ramaiah University of Applied Sciences
9
Faculty of Engineering & Technology
CPI
Anagram Compress Go
Memory ports 1 2 4 1 2 4 1 2 4
CPI 1.5026 1.3893 1.3833 2.1068 2.1068 2.1068 1.0966 1.0666 1.0623
- 10. ©M. S. Ramaiah University of Applied Sciences
10
Faculty of Engineering & Technology
Requirements for ATM Controller
• General requirements
• Requirements for authorization
• Requirements for a transaction
- 11. ©M. S. Ramaiah University of Applied Sciences
11
Faculty of Engineering & Technology
General requirements
• Initializing parameters
• Valid ATM pin
• Displaying appropriate message for the
appropriate action
- 12. ©M. S. Ramaiah University of Applied Sciences
12
Faculty of Engineering & Technology
Requirements for authorization
• Checking the ATM pin for authorization
• ATM sending packets to server to initiate that the
respective card is under action
• Declining the repeated attempts with the card at
the same session
- 13. ©M. S. Ramaiah University of Applied Sciences
13
Faculty of Engineering & Technology
Requirements for a transaction
• Dispensing money according to the money input
by the user
• If the money is not available to dispense then
proper error message displayed on the screen
• Once the transaction is complete then money is
dispensed and changes to the account balance is
given to the server
- 14. ©M. S. Ramaiah University of Applied Sciences
14
Faculty of Engineering & Technology
Interfaces
• User interface
• Hardware interface
• Software interface
• Communication interface
- 15. ©M. S. Ramaiah University of Applied Sciences
15
Faculty of Engineering & Technology
Conclusion
• Raspberry pi and beaglebone has their advantages
and disadvantages. These boards can be used as
right choice for the particular circumstances.
Beaglebone can be right choice to choose when
projects need to interface with many external
sensors. Raspberry pi can be right choice when
projects are multimedia based.
- 16. ©M. S. Ramaiah University of Applied Sciences
16
Faculty of Engineering & Technology
References
• Holton, Jon, and Tim Fratangelo. Raspberry Pi
Architecture. 1st ed. 2012.
• Dimmig, Brent, and Paul Repka. Architecture of the
Beaglebone BLACK. 1st ed. 2012.
• Requirements Document for an Automated Teller
Machine Network. 1st ed. 1996.