SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Raspberry Pi
Michael Gordon
Justin Murray
Queens College 65-30 Kissena Blvd. Flushing, NY 11367
2006 2009 2011 2012 20142013
What is Raspberry Pi?
Eben Upton, Rob Mullins, Jack Lang and Alan Mycroft
University of Cambridge’s Computer Laboratory
Concern: with student’s shift from creators (1980s) to end-users (2000s)
Idea: create low-cost computer that most families could afford
Intention: promote the teaching of programming to children
Software
- Python, C, C++, Java, Ruby, (any language which will compile for ARMv6)
- Scratch, an MIT developed program that helps children program their own interactive stories, games,
and animations
Hardware
- GPIO pins, allow creators to create anything
- camera module
idea
2006 2009 2011 2012 20142013
The User/Computer Paradigm
Operating System
Usability
Hardware
Complexity &
Cost
Technical and
Programming
Skills
RPi Foundation
2006 2009 2011 2012 20142013
Raspberry Pi Schematics
SoC: Broadcom BCM2835
(700MHz ARMv6 CPU, VideoCore IV GPU)
RAM: 256/512 MB
Video: HDMI, RCA
USB: 2.0 x2
Audio: 3.5mm
Storage: SD card
Misc.: 8x GPIO, Camera Port
Power: 5v microUSB
OS: Raspbian, RISC, Raspbmc, many Linux distros
100k sold day 1
2006 2009 2011 2012 20142013
ARM Architecture
★ Raspberry Pi uses ARM architecture developed by ARM Holdings
★ ARM architecture is also commonly used in smartphones and embedded systems
★ ARM architecture is RISC-based and supports 32-bit addressing and 32-bit arithmetic. (Some upgrades can
support 64-bit and some can provide hardware for executing Java bytecode.)
★ Early implementations had a three-stage pipeline, while more advanced versions have up to 13 stages. The
version in Raspberry Pi has 8 stages.
20k shipped
2006 2009 2011 2012 20142013
VideoCore IV
★ In addition to the CPU, the Raspberry Pi has the VideoCore IV GPU (or Graphical Processing Unit).
★ The VideoCore IV is a multimedia processor specially designed for low power use, such as in mobile devices.
★ The driver code for the VideoCore IV was recently made available for public use, making the Raspberry Pi
chip the first ARM-based multimedia SoC with fully open-source vendor-provided drivers.
○ This is especially important as Raspberry Pi is a tool for learning and the more open-source code, the
more users can learn.
★ VideoCore has a quad processor with architecture somewhat different from what we’ve seen in class,
including:
○ 64-bit encoding
○ Two sets of registers
○ Independent “ADD” and “MUL” ALUs
○ No branch prediction (for the sake of simplicity)
2006 2009 2011 2012 20142013
VideoCore IV
2006 2009 2011 2012 20142013
63 62 61 60 59 58 57 56 55 54 53 52 51 50 4 9 4 8 4 7 4 6 4 5 4 4 4 3 4 2 4 1 4 0 39 38 37 36 35 34 33 32
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
p m sf ws
1 1 0 1 p m sf ws
1 1 1 1 re l re g ws
1 1 1 0 0 0 0 p m sf ws
1 1 1 0 0 0 1 p m sf ws
1 1 1 0 0 1 1 p m sf ws
1 1 1 0 1 0 0 p m sf ws
sa
m ul_a m ul_b
d on't ca re
alu sm all
im m
unp a ck p a ck cond _a d d cond _m ul wa d d r_a d d wa d d r_m ul
op _m ul op _a d d ra d d r_a sm a ll_im m e d a d d _a a d d _b
cond _a d d cond _m ul
cond _a d d cond _m ul
Pe r-e le m e nt MS (sig n) b it Pe r-e le m e nt LS b it
m ul_a m ul_b
wa d d r_m ul
S e m a -
pho re
p a ck wa d d r_a d d wa d d r_m ul
cond _a d d cond _m ul
Pe r-e le m e nt MS b it Pe r-e le m e nt LS b it
cond _a d d cond _m ul
se m a p hore
lo a d im m
pe r-e lm t
unsig ne d
p a ck wa d d r_a d d
wa d d r_m ul
im m e d ia te
lo a d im m
pe r-e lm t
sig ne d
p a ck wa d d r_a d d wa d d r_m ul
bra nc h
cond _b r ra d d r_a wa d d r_a d d
wa d d r_m ul
lo a d
im m 32
p a ck wa d d r_a d d wa d d r_m ul
im m e d ia te
sig unp a ck cond _m ulcond _a d d
op _m ul op _a d d ra d d r_a
a lu
p a ck wa d d r_a d d
ra d d r_b a d d _a a d d _b
Instructions
2006 2009 2011 2012 20142013
Branch Instruction
Field Bits Description
cond_br 4 Branch condition
rel 1 Branch relative. If set, branch target is relative to PC+4 (add PC+4 to target)
reg 1 Add value of raddr_a (value read from SIMD element 0) to branch target
raddr_a 5 Read address for register file
waddr_add 6 Write address for ADD ALU (same as ALU instruction)
waddr_mul 6 Write address for MUL ALU (same as ALU instruction)
ws 1 Write swap bit (same as ALU instruction)
immediate 32 Signed 32-bit immediate (always added to branch target - set to 0 if not used)
1 1 1 1 re l re g ws
63 62 61 60 59 58 57 56 55 54 53 52 51 50 4 9 4 8 4 7 4 6 4 5 4 4 4 3 4 2 4 1 4 0 39 38 37 36 35 34 33 32
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
bra nc h
cond _b r ra d d r_a wa d d r_a d d wa d d r_m ul
im m e d ia te
1M sold
2006 2009 2011 2012 20142013
What is Raspberry Pi?
2006 2009 2011 2012 20142013
0
5
10
15
20
25
MHz/$ MB/$
MHz and MB per Dollar
Mac Mini RPi
Mac Mini
CPU: 2.6 GHz
RAM: 4GB
Price: $600
RPi (Model B)
CPU: 700 MHz
RAM: 512 MB
Price: $35
MHz/$: 4.3
MB/$: 6.7
MHz/$: 20.0
MB/$: 14.6
RPi vs Mac Mini
40k/day MFD
2006 2009 2011 2012 20142013
★ Won regionals at the University of Manchester
★ Won UK's National Robot Design prize
★ "You have a headset on your head, and it reads your
brainwaves into the computer. We link the computer to
the robot, and when you think a certain thought, we can
train our brains to move the robots," twelve-year-old
Claire Revans.
★ EEG headsets are linked to the Lego robots using Python
Robots, Brains and Pi?
500k MFD in UK
2006 2009 2011 2012 20142013
★ Home automation systems (for controlling
lights, thermostat, etc.) can be costly and
difficult to customize.
★ Instead, you can use a Raspberry Pi,
Arduino, and a few other tools to achieve
the same result.
Home Automation System
1M MFD in UK
2006 2009 2011 2012 20142013
★ In March, a Seattle news station reported
of a bitcoin mine in eastern Washington
running an estimated 1,500 Raspberry
Pis (in conjunction with other hardware)
to mine bitcoins.
★ The mine was reported to be generating
$8 million in bitcoins per month.
Bitcoin Mining
(Not Recommended)
1.75M sold
2006 2009 2011 2012 20142013
Raspberry Pi Foundation (est. 2009)
★ "promote the study of computer science ..., especially at school level, and to put the fun back into learning
computing.“
★ September 2014 - UK school system is bringing coding into the curriculum
Manchester CoderDojo (est. 2009)
★ 8 coders first month; all boys
★ April 2014 - over 150 coders, good mix of boys
and girls
★ "Coding gets more attention now because it's
cooler"
Progress?
2M sold
2006 2009 2011 2012 20142013
As commercial and computers get more and more powerful, small-scale pieces
like Raspberry Pi will likely stay in the realm of hobbyists and students.
BUT

As more students get hands-on learning opportunities and as more tinkerers get a
chance to test out their new ideas, we will likely see greater innovation arising.
New products, services, and ideas will not just be coming from big companies
with Research & Development teams, but from programmers working out of
their garages like they did in the 1970s and 80s.
The Future
2.5M sold
2006 2009 2011 2012 20142013
★ Hennessy, John L., and David A. Patterson. Computer Organization and Design: The Hardware. San Francisco, CA:
Kaufmann, 2012. Print.
★ "Raspberry Pi." 2009. 11 May. 2014 <http://www.raspberrypi.org/>
★ "Raspberry Pi - Wikipedia, the free encyclopedia." 2011. 11 May. 2014 <http://en.wikipedia.org/wiki/Raspberry_Pi>
★ Hermitage, Herman H. "Hermanhermitage/videocoreiv-qpu." GitHub. Web. 11 May 2014.
<https://github.com/hermanhermitage/videocoreiv-qpu>.
★ "BBC News - Teenage computer coders on the rise - BBC.com." 2014. 11 May. 2014
<http://www.bbc.com/news/25844295>
★ David Meyer. "Robots meet Raspberry Pi: How kids are using their brains ..." 2012. 11 May. 2014
<http://www.zdnet.com/robots-meet-raspberry-pi-how-kids-are-using-their-brains-3040155394/>
★ "VideoCore¼ IV 3D Architecture Reference Guide - Broadcom." 2014. 11 May. 2014
<http://www.broadcom.com/docs/support/videocore/VideoCoreIV-AG100-R.pdf>
★ "BCM2835-ARM-Peripherals.pdf - Raspberry Pi." 2012. 11 May. 2014 <http://www.raspberrypi.org/wp-
content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf>
★ "ARM1176JZF-S Technical Reference Manual." 2010. 11 May. 2014
<http://infocenter.arm.com/help/topic/com.arm.doc.ddi0301h/DDI0301H_arm1176jzfs_r0p7_trm.pdf>
★ "Raspberry Pi Foundation - Wikipedia, the free encyclopedia." 2011. 12 May. 2014
<http://en.wikipedia.org/wiki/Raspberry_Pi_Foundation>
References
2.5M sold
Raspberry Pi
Michael Gordon
Justin Murray
Queens College 65-30 Kissena Blvd. Flushing, NY 11367
QUESTIONS?

Weitere Àhnliche Inhalte

Was ist angesagt?

Introduction to raspberry pi
Introduction to raspberry piIntroduction to raspberry pi
Introduction to raspberry pipraveen_23
 
Presentation on Raspberry Pi by Sazzad H. IIUC
Presentation on Raspberry Pi by Sazzad H. IIUCPresentation on Raspberry Pi by Sazzad H. IIUC
Presentation on Raspberry Pi by Sazzad H. IIUCshssn7
 
Raspberrypi best ppt
Raspberrypi best ppt Raspberrypi best ppt
Raspberrypi best ppt SOMRAJ GAUTAM
 
Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014Mandeesh Singh
 
Presentation on Raspberry pi
Presentation on Raspberry piPresentation on Raspberry pi
Presentation on Raspberry piOpenDev
 
Seminar Presentation on raspberry pi
Seminar Presentation on raspberry piSeminar Presentation on raspberry pi
Seminar Presentation on raspberry piGeorgekutty Francis
 
Getting Started with Raspberry Pi
Getting Started with Raspberry PiGetting Started with Raspberry Pi
Getting Started with Raspberry Piyeokm1
 
Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Mandeesh Singh
 
MicroLED : Latest Display Technology | PPT
MicroLED : Latest Display Technology | PPTMicroLED : Latest Display Technology | PPT
MicroLED : Latest Display Technology | PPTSeminar Links
 
How to build a computer
How to build a computerHow to build a computer
How to build a computerjwongster
 
Raspberry Pi Introduction
Raspberry Pi IntroductionRaspberry Pi Introduction
Raspberry Pi IntroductionMichal Sedlak
 
Arduino presentation
Arduino presentationArduino presentation
Arduino presentationMichael Senkow
 

Was ist angesagt? (20)

Introduction to raspberry pi
Introduction to raspberry piIntroduction to raspberry pi
Introduction to raspberry pi
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
Presentation on Raspberry Pi by Sazzad H. IIUC
Presentation on Raspberry Pi by Sazzad H. IIUCPresentation on Raspberry Pi by Sazzad H. IIUC
Presentation on Raspberry Pi by Sazzad H. IIUC
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Raspberrypi best ppt
Raspberrypi best ppt Raspberrypi best ppt
Raspberrypi best ppt
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014
 
Presentation on Raspberry pi
Presentation on Raspberry piPresentation on Raspberry pi
Presentation on Raspberry pi
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
Seminar Presentation on raspberry pi
Seminar Presentation on raspberry piSeminar Presentation on raspberry pi
Seminar Presentation on raspberry pi
 
Getting Started with Raspberry Pi
Getting Started with Raspberry PiGetting Started with Raspberry Pi
Getting Started with Raspberry Pi
 
Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Raspberry Pi (Introduction)
Raspberry Pi (Introduction)
 
MicroLED : Latest Display Technology | PPT
MicroLED : Latest Display Technology | PPTMicroLED : Latest Display Technology | PPT
MicroLED : Latest Display Technology | PPT
 
Raspberry PI
Raspberry PIRaspberry PI
Raspberry PI
 
How to build a computer
How to build a computerHow to build a computer
How to build a computer
 
Raspberry Pi Introduction
Raspberry Pi IntroductionRaspberry Pi Introduction
Raspberry Pi Introduction
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Arduino presentation
Arduino presentationArduino presentation
Arduino presentation
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 

Andere mochten auch

Raspberry-Pi
Raspberry-PiRaspberry-Pi
Raspberry-PiRehan Fazal
 
Introduction to Raspberry PI
Introduction to Raspberry PIIntroduction to Raspberry PI
Introduction to Raspberry PIChandrashekar Babu
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi Anija Nair
 
Rassberry pi
Rassberry piRassberry pi
Rassberry piJunaid Raja
 
LCA13: ARMv8 Status and Updates
LCA13: ARMv8 Status and UpdatesLCA13: ARMv8 Status and Updates
LCA13: ARMv8 Status and UpdatesLinaro
 
Raspberry pi technology
Raspberry pi technologyRaspberry pi technology
Raspberry pi technologyZeeshan Aslam
 
Home Automation Using RPI
Home Automation Using  RPIHome Automation Using  RPI
Home Automation Using RPIAnkara JUG
 
Raspberry-PI introduction
Raspberry-PI introductionRaspberry-PI introduction
Raspberry-PI introductionBasavaraj Sagar
 
Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry PiLentin Joseph
 
Smart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PISmart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PIKrishna Kumar
 
Home automation & security system
Home automation & security systemHome automation & security system
Home automation & security systemAniket Maithani
 
ARM architcture
ARM architcture ARM architcture
ARM architcture Hossam Adel
 
Presentation Smart Home With Home Automation
Presentation Smart Home With Home AutomationPresentation Smart Home With Home Automation
Presentation Smart Home With Home AutomationArifur Rahman
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobilesDurairaja
 

Andere mochten auch (14)

Raspberry-Pi
Raspberry-PiRaspberry-Pi
Raspberry-Pi
 
Introduction to Raspberry PI
Introduction to Raspberry PIIntroduction to Raspberry PI
Introduction to Raspberry PI
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
Rassberry pi
Rassberry piRassberry pi
Rassberry pi
 
LCA13: ARMv8 Status and Updates
LCA13: ARMv8 Status and UpdatesLCA13: ARMv8 Status and Updates
LCA13: ARMv8 Status and Updates
 
Raspberry pi technology
Raspberry pi technologyRaspberry pi technology
Raspberry pi technology
 
Home Automation Using RPI
Home Automation Using  RPIHome Automation Using  RPI
Home Automation Using RPI
 
Raspberry-PI introduction
Raspberry-PI introductionRaspberry-PI introduction
Raspberry-PI introduction
 
Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry Pi
 
Smart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PISmart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PI
 
Home automation & security system
Home automation & security systemHome automation & security system
Home automation & security system
 
ARM architcture
ARM architcture ARM architcture
ARM architcture
 
Presentation Smart Home With Home Automation
Presentation Smart Home With Home AutomationPresentation Smart Home With Home Automation
Presentation Smart Home With Home Automation
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobiles
 

Ähnlich wie Raspberry Pi presentation for Computer Architecture class

ODROID Magazine April 2014
ODROID Magazine April 2014ODROID Magazine April 2014
ODROID Magazine April 2014Nanik Tolaram
 
Glimworm 21 11-13 (1)
Glimworm 21 11-13 (1)Glimworm 21 11-13 (1)
Glimworm 21 11-13 (1)Paul Hopton
 
Glimworm 21-11-2013
Glimworm 21-11-2013Glimworm 21-11-2013
Glimworm 21-11-2013relayr
 
Software Developer's Journal - 02/2012
Software Developer's Journal - 02/2012Software Developer's Journal - 02/2012
Software Developer's Journal - 02/2012Ricardo Peres
 
Hacker's friendly Open Source Hardware DIY modular Laptop
Hacker's friendly Open Source Hardware DIY modular LaptopHacker's friendly Open Source Hardware DIY modular Laptop
Hacker's friendly Open Source Hardware DIY modular LaptopOlimex Bulgaria
 
Raspberry pi history, tips and use case
Raspberry pi history, tips and use caseRaspberry pi history, tips and use case
Raspberry pi history, tips and use caseMasafumi Ohta
 
Android design lecture #1
Android design   lecture #1Android design   lecture #1
Android design lecture #1Vitali Pekelis
 
ODROID Magazine June 2014
ODROID Magazine June 2014ODROID Magazine June 2014
ODROID Magazine June 2014Nanik Tolaram
 
ODROID Magazine September 2014
ODROID Magazine September 2014ODROID Magazine September 2014
ODROID Magazine September 2014Nanik Tolaram
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PICliff Samuels Jr.
 
ODROID Magazine December 2014
 ODROID Magazine December 2014 ODROID Magazine December 2014
ODROID Magazine December 2014Nanik Tolaram
 
IOT Experiment-2.pptx --- Hands on Approach & Easy to learn IOT Basics...
IOT Experiment-2.pptx --- Hands on Approach & Easy to learn IOT Basics...IOT Experiment-2.pptx --- Hands on Approach & Easy to learn IOT Basics...
IOT Experiment-2.pptx --- Hands on Approach & Easy to learn IOT Basics...Ravindranath67
 
Mind Grill
Mind GrillMind Grill
Mind Grillpritamkumar
 
Introduction of raspberry pi
Introduction of raspberry piIntroduction of raspberry pi
Introduction of raspberry pipankaj478
 
IRJET- Survey on Nodemcu and Raspberry Pi: IoT
IRJET- Survey on Nodemcu and Raspberry Pi: IoTIRJET- Survey on Nodemcu and Raspberry Pi: IoT
IRJET- Survey on Nodemcu and Raspberry Pi: IoTIRJET Journal
 
Maker Movement
Maker MovementMaker Movement
Maker MovementJingfeng Liu
 
ODROID Magazine May 2014
ODROID Magazine May 2014ODROID Magazine May 2014
ODROID Magazine May 2014Nanik Tolaram
 
Performance #5 cpu and battery
Performance #5  cpu and batteryPerformance #5  cpu and battery
Performance #5 cpu and batteryVitali Pekelis
 
IRJET- Voice Recognition(AI) : Voice Assistant Robot
IRJET-  	  Voice Recognition(AI) : Voice Assistant RobotIRJET-  	  Voice Recognition(AI) : Voice Assistant Robot
IRJET- Voice Recognition(AI) : Voice Assistant RobotIRJET Journal
 
FINAL SEMINAR REPORT OF RASPBERRY PI
FINAL SEMINAR REPORT OF RASPBERRY PIFINAL SEMINAR REPORT OF RASPBERRY PI
FINAL SEMINAR REPORT OF RASPBERRY PIGANESH GOVIND BHOR
 

Ähnlich wie Raspberry Pi presentation for Computer Architecture class (20)

ODROID Magazine April 2014
ODROID Magazine April 2014ODROID Magazine April 2014
ODROID Magazine April 2014
 
Glimworm 21 11-13 (1)
Glimworm 21 11-13 (1)Glimworm 21 11-13 (1)
Glimworm 21 11-13 (1)
 
Glimworm 21-11-2013
Glimworm 21-11-2013Glimworm 21-11-2013
Glimworm 21-11-2013
 
Software Developer's Journal - 02/2012
Software Developer's Journal - 02/2012Software Developer's Journal - 02/2012
Software Developer's Journal - 02/2012
 
Hacker's friendly Open Source Hardware DIY modular Laptop
Hacker's friendly Open Source Hardware DIY modular LaptopHacker's friendly Open Source Hardware DIY modular Laptop
Hacker's friendly Open Source Hardware DIY modular Laptop
 
Raspberry pi history, tips and use case
Raspberry pi history, tips and use caseRaspberry pi history, tips and use case
Raspberry pi history, tips and use case
 
Android design lecture #1
Android design   lecture #1Android design   lecture #1
Android design lecture #1
 
ODROID Magazine June 2014
ODROID Magazine June 2014ODROID Magazine June 2014
ODROID Magazine June 2014
 
ODROID Magazine September 2014
ODROID Magazine September 2014ODROID Magazine September 2014
ODROID Magazine September 2014
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PI
 
ODROID Magazine December 2014
 ODROID Magazine December 2014 ODROID Magazine December 2014
ODROID Magazine December 2014
 
IOT Experiment-2.pptx --- Hands on Approach & Easy to learn IOT Basics...
IOT Experiment-2.pptx --- Hands on Approach & Easy to learn IOT Basics...IOT Experiment-2.pptx --- Hands on Approach & Easy to learn IOT Basics...
IOT Experiment-2.pptx --- Hands on Approach & Easy to learn IOT Basics...
 
Mind Grill
Mind GrillMind Grill
Mind Grill
 
Introduction of raspberry pi
Introduction of raspberry piIntroduction of raspberry pi
Introduction of raspberry pi
 
IRJET- Survey on Nodemcu and Raspberry Pi: IoT
IRJET- Survey on Nodemcu and Raspberry Pi: IoTIRJET- Survey on Nodemcu and Raspberry Pi: IoT
IRJET- Survey on Nodemcu and Raspberry Pi: IoT
 
Maker Movement
Maker MovementMaker Movement
Maker Movement
 
ODROID Magazine May 2014
ODROID Magazine May 2014ODROID Magazine May 2014
ODROID Magazine May 2014
 
Performance #5 cpu and battery
Performance #5  cpu and batteryPerformance #5  cpu and battery
Performance #5 cpu and battery
 
IRJET- Voice Recognition(AI) : Voice Assistant Robot
IRJET-  	  Voice Recognition(AI) : Voice Assistant RobotIRJET-  	  Voice Recognition(AI) : Voice Assistant Robot
IRJET- Voice Recognition(AI) : Voice Assistant Robot
 
FINAL SEMINAR REPORT OF RASPBERRY PI
FINAL SEMINAR REPORT OF RASPBERRY PIFINAL SEMINAR REPORT OF RASPBERRY PI
FINAL SEMINAR REPORT OF RASPBERRY PI
 

Mehr von Michael Gordon

Mehr von Michael Gordon (18)

Strings2
Strings2Strings2
Strings2
 
Strings1
Strings1Strings1
Strings1
 
Introduction to Computer Science 111 Lab
Introduction to Computer Science 111 LabIntroduction to Computer Science 111 Lab
Introduction to Computer Science 111 Lab
 
Introduction to Linux, Pico, G++
Introduction to Linux, Pico, G++Introduction to Linux, Pico, G++
Introduction to Linux, Pico, G++
 
Strings
StringsStrings
Strings
 
Arrays, continued
Arrays, continuedArrays, continued
Arrays, continued
 
Arrays
ArraysArrays
Arrays
 
Scope of variables
Scope of variablesScope of variables
Scope of variables
 
Functions
FunctionsFunctions
Functions
 
Shape logic 1
Shape logic 1Shape logic 1
Shape logic 1
 
For loops
For loopsFor loops
For loops
 
While loops
While loopsWhile loops
While loops
 
If statements
If statementsIf statements
If statements
 
Arithmetic
ArithmeticArithmetic
Arithmetic
 
Variables
VariablesVariables
Variables
 
Output
OutputOutput
Output
 
Word cloud
Word cloudWord cloud
Word cloud
 
Millennial white paper
Millennial white paperMillennial white paper
Millennial white paper
 

KĂŒrzlich hochgeladen

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel AraĂșjo
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

KĂŒrzlich hochgeladen (20)

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Raspberry Pi presentation for Computer Architecture class

  • 1. Raspberry Pi Michael Gordon Justin Murray Queens College 65-30 Kissena Blvd. Flushing, NY 11367
  • 2. 2006 2009 2011 2012 20142013 What is Raspberry Pi? Eben Upton, Rob Mullins, Jack Lang and Alan Mycroft University of Cambridge’s Computer Laboratory Concern: with student’s shift from creators (1980s) to end-users (2000s) Idea: create low-cost computer that most families could afford Intention: promote the teaching of programming to children Software - Python, C, C++, Java, Ruby, (any language which will compile for ARMv6) - Scratch, an MIT developed program that helps children program their own interactive stories, games, and animations Hardware - GPIO pins, allow creators to create anything - camera module idea
  • 3. 2006 2009 2011 2012 20142013 The User/Computer Paradigm Operating System Usability Hardware Complexity & Cost Technical and Programming Skills RPi Foundation
  • 4. 2006 2009 2011 2012 20142013 Raspberry Pi Schematics SoC: Broadcom BCM2835 (700MHz ARMv6 CPU, VideoCore IV GPU) RAM: 256/512 MB Video: HDMI, RCA USB: 2.0 x2 Audio: 3.5mm Storage: SD card Misc.: 8x GPIO, Camera Port Power: 5v microUSB OS: Raspbian, RISC, Raspbmc, many Linux distros 100k sold day 1
  • 5. 2006 2009 2011 2012 20142013 ARM Architecture ★ Raspberry Pi uses ARM architecture developed by ARM Holdings ★ ARM architecture is also commonly used in smartphones and embedded systems ★ ARM architecture is RISC-based and supports 32-bit addressing and 32-bit arithmetic. (Some upgrades can support 64-bit and some can provide hardware for executing Java bytecode.) ★ Early implementations had a three-stage pipeline, while more advanced versions have up to 13 stages. The version in Raspberry Pi has 8 stages. 20k shipped
  • 6. 2006 2009 2011 2012 20142013 VideoCore IV ★ In addition to the CPU, the Raspberry Pi has the VideoCore IV GPU (or Graphical Processing Unit). ★ The VideoCore IV is a multimedia processor specially designed for low power use, such as in mobile devices. ★ The driver code for the VideoCore IV was recently made available for public use, making the Raspberry Pi chip the first ARM-based multimedia SoC with fully open-source vendor-provided drivers. ○ This is especially important as Raspberry Pi is a tool for learning and the more open-source code, the more users can learn. ★ VideoCore has a quad processor with architecture somewhat different from what we’ve seen in class, including: ○ 64-bit encoding ○ Two sets of registers ○ Independent “ADD” and “MUL” ALUs ○ No branch prediction (for the sake of simplicity)
  • 7. 2006 2009 2011 2012 20142013 VideoCore IV
  • 8. 2006 2009 2011 2012 20142013 63 62 61 60 59 58 57 56 55 54 53 52 51 50 4 9 4 8 4 7 4 6 4 5 4 4 4 3 4 2 4 1 4 0 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 p m sf ws 1 1 0 1 p m sf ws 1 1 1 1 re l re g ws 1 1 1 0 0 0 0 p m sf ws 1 1 1 0 0 0 1 p m sf ws 1 1 1 0 0 1 1 p m sf ws 1 1 1 0 1 0 0 p m sf ws sa m ul_a m ul_b d on't ca re alu sm all im m unp a ck p a ck cond _a d d cond _m ul wa d d r_a d d wa d d r_m ul op _m ul op _a d d ra d d r_a sm a ll_im m e d a d d _a a d d _b cond _a d d cond _m ul cond _a d d cond _m ul Pe r-e le m e nt MS (sig n) b it Pe r-e le m e nt LS b it m ul_a m ul_b wa d d r_m ul S e m a - pho re p a ck wa d d r_a d d wa d d r_m ul cond _a d d cond _m ul Pe r-e le m e nt MS b it Pe r-e le m e nt LS b it cond _a d d cond _m ul se m a p hore lo a d im m pe r-e lm t unsig ne d p a ck wa d d r_a d d wa d d r_m ul im m e d ia te lo a d im m pe r-e lm t sig ne d p a ck wa d d r_a d d wa d d r_m ul bra nc h cond _b r ra d d r_a wa d d r_a d d wa d d r_m ul lo a d im m 32 p a ck wa d d r_a d d wa d d r_m ul im m e d ia te sig unp a ck cond _m ulcond _a d d op _m ul op _a d d ra d d r_a a lu p a ck wa d d r_a d d ra d d r_b a d d _a a d d _b Instructions
  • 9. 2006 2009 2011 2012 20142013 Branch Instruction Field Bits Description cond_br 4 Branch condition rel 1 Branch relative. If set, branch target is relative to PC+4 (add PC+4 to target) reg 1 Add value of raddr_a (value read from SIMD element 0) to branch target raddr_a 5 Read address for register file waddr_add 6 Write address for ADD ALU (same as ALU instruction) waddr_mul 6 Write address for MUL ALU (same as ALU instruction) ws 1 Write swap bit (same as ALU instruction) immediate 32 Signed 32-bit immediate (always added to branch target - set to 0 if not used) 1 1 1 1 re l re g ws 63 62 61 60 59 58 57 56 55 54 53 52 51 50 4 9 4 8 4 7 4 6 4 5 4 4 4 3 4 2 4 1 4 0 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 bra nc h cond _b r ra d d r_a wa d d r_a d d wa d d r_m ul im m e d ia te 1M sold
  • 10. 2006 2009 2011 2012 20142013 What is Raspberry Pi?
  • 11. 2006 2009 2011 2012 20142013 0 5 10 15 20 25 MHz/$ MB/$ MHz and MB per Dollar Mac Mini RPi Mac Mini CPU: 2.6 GHz RAM: 4GB Price: $600 RPi (Model B) CPU: 700 MHz RAM: 512 MB Price: $35 MHz/$: 4.3 MB/$: 6.7 MHz/$: 20.0 MB/$: 14.6 RPi vs Mac Mini 40k/day MFD
  • 12. 2006 2009 2011 2012 20142013 ★ Won regionals at the University of Manchester ★ Won UK's National Robot Design prize ★ "You have a headset on your head, and it reads your brainwaves into the computer. We link the computer to the robot, and when you think a certain thought, we can train our brains to move the robots," twelve-year-old Claire Revans. ★ EEG headsets are linked to the Lego robots using Python Robots, Brains and Pi? 500k MFD in UK
  • 13. 2006 2009 2011 2012 20142013 ★ Home automation systems (for controlling lights, thermostat, etc.) can be costly and difficult to customize. ★ Instead, you can use a Raspberry Pi, Arduino, and a few other tools to achieve the same result. Home Automation System 1M MFD in UK
  • 14. 2006 2009 2011 2012 20142013 ★ In March, a Seattle news station reported of a bitcoin mine in eastern Washington running an estimated 1,500 Raspberry Pis (in conjunction with other hardware) to mine bitcoins. ★ The mine was reported to be generating $8 million in bitcoins per month. Bitcoin Mining (Not Recommended) 1.75M sold
  • 15. 2006 2009 2011 2012 20142013 Raspberry Pi Foundation (est. 2009) ★ "promote the study of computer science ..., especially at school level, and to put the fun back into learning computing.“ ★ September 2014 - UK school system is bringing coding into the curriculum Manchester CoderDojo (est. 2009) ★ 8 coders first month; all boys ★ April 2014 - over 150 coders, good mix of boys and girls ★ "Coding gets more attention now because it's cooler" Progress? 2M sold
  • 16. 2006 2009 2011 2012 20142013 As commercial and computers get more and more powerful, small-scale pieces like Raspberry Pi will likely stay in the realm of hobbyists and students. BUT
 As more students get hands-on learning opportunities and as more tinkerers get a chance to test out their new ideas, we will likely see greater innovation arising. New products, services, and ideas will not just be coming from big companies with Research & Development teams, but from programmers working out of their garages like they did in the 1970s and 80s. The Future 2.5M sold
  • 17. 2006 2009 2011 2012 20142013 ★ Hennessy, John L., and David A. Patterson. Computer Organization and Design: The Hardware. San Francisco, CA: Kaufmann, 2012. Print. ★ "Raspberry Pi." 2009. 11 May. 2014 <http://www.raspberrypi.org/> ★ "Raspberry Pi - Wikipedia, the free encyclopedia." 2011. 11 May. 2014 <http://en.wikipedia.org/wiki/Raspberry_Pi> ★ Hermitage, Herman H. "Hermanhermitage/videocoreiv-qpu." GitHub. Web. 11 May 2014. <https://github.com/hermanhermitage/videocoreiv-qpu>. ★ "BBC News - Teenage computer coders on the rise - BBC.com." 2014. 11 May. 2014 <http://www.bbc.com/news/25844295> ★ David Meyer. "Robots meet Raspberry Pi: How kids are using their brains ..." 2012. 11 May. 2014 <http://www.zdnet.com/robots-meet-raspberry-pi-how-kids-are-using-their-brains-3040155394/> ★ "VideoCoreÂź IV 3D Architecture Reference Guide - Broadcom." 2014. 11 May. 2014 <http://www.broadcom.com/docs/support/videocore/VideoCoreIV-AG100-R.pdf> ★ "BCM2835-ARM-Peripherals.pdf - Raspberry Pi." 2012. 11 May. 2014 <http://www.raspberrypi.org/wp- content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf> ★ "ARM1176JZF-S Technical Reference Manual." 2010. 11 May. 2014 <http://infocenter.arm.com/help/topic/com.arm.doc.ddi0301h/DDI0301H_arm1176jzfs_r0p7_trm.pdf> ★ "Raspberry Pi Foundation - Wikipedia, the free encyclopedia." 2011. 12 May. 2014 <http://en.wikipedia.org/wiki/Raspberry_Pi_Foundation> References 2.5M sold
  • 18. Raspberry Pi Michael Gordon Justin Murray Queens College 65-30 Kissena Blvd. Flushing, NY 11367 QUESTIONS?

Hinweis der Redaktion

  1. To reiterate, we’ve seen a great deal of progress as consumers. Our operating systems have become far easier to use “out of the box” and require no technical training. In addition, our hardware has become increasingly powerful, albeit complicated. But these have come with a cost. Enthusiastic potential computer scientists are: a) not being challenged by their computers. They don’t need to know programming, or even how to use the command line to use their systems. They just need to know how to use a mouse or a touch screen. And b) their computers are far too complex and, more importantly, EXPENSIVE to just tinker around with. Few students can afford to open up a machine that cost more than $500 and risk breaking it. And so with fewer avenues to train their budding skills, young programmers today are not getting the same early experiences as those of just 20 years ago.
  2. Here’s a look at the VideoCore IV datapath, including the two registers and the “add” and “multiply” ALU’s.
  3. Here are the instruction encodings for various QPU instructions, including ALU, ALU with small immediate, branch, three different loads, and a semaphore instruction. As you can see, with 64 bits instead of 32, there is room for a lot of additional information. SOme of these are rather complex, so we’re only going to look at the branch instruction.
  4. Here we have the branch instruction encoding, which includes a lot more information than the MIPS branch-equals instruction we’ve seen. First, it’s worth repeating that the VideoCore IV architecture does not implement branch prediction. This is done for the sake of simplicity and means that instructions never need to be canceled because the branch condition was found to be false. It does, however, require that three ‘delay slot’ instructions (like stalls or waits) are executed following any branch instruction. It’s a trade off. On to the instruction: The first part are the signaling bits. Four ones is the signal for branch and the other four signal bits aren’t used. Then there is a four-bit branch condition, which corresponds to a series of different condition codes. Then there is the rel flag, which if set indicates that the branch target is relative to PC+4. The reg flag determines if branch target also includes the value in register file A (raddr_a). If both flags are not set, then the branch target is computed using just the 32 bit immediate field. Next are the write addresses for the dedicated ADD ALU and MUL ALU and the ws flag. This flag is in most instructions and determines which register (A or B), the instruction writes too.
  5. <iframe width="1280" height="720" src="//www.youtube.com/embed/e0wkVVVLvR8?rel=0&vq=hd720" frameborder="0" allowfullscreen></iframe>
  6. It can be hard to compare the Raspberry Pi to more commonly purchased machines, because unlike a laptop, or tablet it doesn’t come with a keyboard or monitor, and it’s so much smaller than any desktop system. So I chose the Mac Mini as a point of comparison. As you can see , the Mac Mini cpu is nearly four times faster, at 2.6 GHz to the Raspberry Pi’s 700 MHz. And the Mac Mini has eight times as much RAM, 4GB for the most basic model, compared to 512 for the Pi Model B (which is already twice as much as the Model A). So it would seem that the RPi is the clear loser here. But if you look at those specs in comparison to price, they tell a VERY different story. Looking at MB of RAM per dollar, the ratio for the Mac Mini is 6.7 MB per dollar and for the RPi it’s 14.6. Even more striking is the CPU, which for Mac Mini is 4.3 MHz per dollar and for RPi it’s 20 MHz per dollar. Nearly FIVE TIMES BETTER.
  7. There’s a growing trend of people wanting to control everything in their lives from their smartphone or computer, from paying for groceries to household tasks. With a RPi,