Microcontrollers Flashcards
What is a CPU?
A single integrated circuit that takes an input, stores it in memory and gives an output.
What does a single integrated circuit mean?
All components on a single piece of silicon
What is the CPU responsible for?
Receiving inputs
Storing info in memory
Manipulating info
Outputting their results
What is VLSI?
Very Large Scale Integration, putting many different boolean gates on a single chip
What is contained in a CPU?
ALU (Arithmetic Logic Unit)
Registers
Memory Arrays
Counters
What does the ALU do?
The 4 basic mathematical operations
Comparisons > ,< ,=
Shifters (exactly what it sounds like)
Rotators
What is the role of the register (v basic)?
A place to store data close to the CPU
What are the memory arrays composed of?
RAM and ROM
What is non-volatile memory?
It remains even after the device is powered off. ROM
What is the instruction set?
Commands like programming languages, such as “add” or “subtract”.
What information does a programmer need about the processor?
The instruction set and the location of the memory.
What is the difference between a CPU and a microcontroller?
A CPU is useless by itself, requiring RAM a system bus etc…
A microcontroller has everything it needs to function on a single piece of silicon.
How does a CPU work?
It controls the voltage supplied to other components through the system bus.
What is the system bus?
A group of parallel wires.
What is CISC?
Complex Instruction Set Computer
A RISC that has had a bunch of additional instructions added onto it over time for convenience
What is a RISC?
Reduced Instruction Set Computer
It has a small amount of simple instructions
What are the +ves and -ves of a CISC?
+ Compatibility
- Slower
- Requires more complex hardware
What are the +ves and -ves of a RISC?
+ Faster
+ Easier to design hardware
+More efficient hardware
- Becomes a CISC
- Limited Instruction set
What is the register?
The fastest memory that the CPU can directly access.
What is the cache?
Memory that is faster to access than the RAM/ROM but slower than the register.
What does the programme counter do?
It marks the address of the current instruction being carried out and then consecutively stores the next.
What is timing?
The speed at which the CPU executes instructions. It synchronises all the logic components.
What are the characteristics of the Von Neuman Architecture?
The CPU is connected to memory by a single bus
The program and Data memory are stored in one place.
What are the +ves and -ves of the Von Neuman Architecture?
+ A single address
+Can compile it’s own software
- Single Bus