Definitions Flashcards
(90 cards)
Real-time system
- Must meet a timing deadline
- Must be able to validate that their timing is corrrect
When is a system safety critical
If a failure can cause loss of goods, money or life
Give 2 benefits of smaller sampling period
- Better approximation of analogue signal
- Reduces oscillation
Disadvantage of smaller sampling period
Demanding of processor time
Multi-rate control systems
Have aspects (sensors, actuators etc.) that depend on different timing rates
Give 3 difficulties associated with RT systems
- Requires concurrent control of separate system components
- Reactive behaviour is unpredictable
- If the system guarantees a certain response time, the worst case response times must be predicted
- Haha here’s a 4th fuck you James
Fast RT system
System must act in a short amount of time in response to an input
Slow RT system
The system doesn’t need to act quickly in response to an input
Hard RT system
Must meet a hard deadline
Soft RT system
The moment in time that an action must occur isn’t that important
Embedded system
Performs one type of job
What converts assembly to machine code
Assembler
Give 4 benefits of C over assembly language
- Easier and quicker
- Easier to modify and update
- Can use function libraries
- Code is portable
Register
Storage location that can read/write to ALL bits at the same time
Which is quicker, a register or RAM?
Register
Do values from RAM go straight into processing?
No, they are stored in a register first
Accumulator
Accumulates the RESULT of arithmetic. Is the most versatile
R Registers
General purpose
B Registers
Like an accumulator but only for * and /
Data pointer
Points to data
Program Counter (PC)
Points to next instruction in memory
Stack pointer
Points to the next value to be removed from the stack
Signed integer data type
16 bit signed integer
Bit data type
1 bit, used for RAM