Lecture 2
- Calculator example
- Hardware
- Was the calculator
- Was the calculator
- Software
- The user
- The user
- Virtual machine
- Virtual concept came to being in the 60's when machines started to get more complex
- Virtual concept came to being in the 60's when machines started to get more complex
- Translator
- Is written in L1
- The lower level language
- The lower level language
- And translates L2 into L1 so that it is understandable by the machine
- The difference between L2 and L1 should not be that big
- L2 should be easier for the users to write in
- L1 is typically called 'machine language'
- Layers
- Packages ( level 6 ) -> problem oriented languages -> assembly language -> OS -> conventional machine -> micro programming -> digital logic (level 0)
- Packages ( level 6 ) -> problem oriented languages -> assembly language -> OS -> conventional machine -> micro programming -> digital logic (level 0)
- Levels of representation
- High level language
- C programming language
- C programming language
- Assembly language
- MIPS
- MIPS
- Machine Language
- MIPS
- 0's and 1's
- MIPS
- Machine interpretation
- Hardware architecture description
- Hardware architecture description
- Architecture implementation
- Logic circuit description
- Logic circuit description
Layered Computer Design
- Series of layers built on the predecessor
- Allows
- Independence of design
- Reduced complexity
- Easier to understand
- Easier to design and analyze
- Reduced complexity
- Hierarchical nature of computer system
- Essential to design and description
- Only need to deal with one level at a time
- Each level has structure and function
Understanding architecture and organization
- Architecture
- Set of
- Data types
- Operations
- Features at each level
- Data types
- What is visible to the user
- As memory available
- We don't care about how the memory is constructed
- What we care about is that it's available
- What we care about is that it's available
- As memory available
- Implementation aspects
- Such as what kind of chip technology are not part of the architecture
- Such as what kind of chip technology are not part of the architecture
- Computer architecture
- The study of how to design parts of a computer that are visible to the programmers
- The study of how to design parts of a computer that are visible to the programmers
- Definition for Tanenbaum
- Computer architecture IS computer organization
- Computer architecture IS computer organization
- Definition for Stalling
- Computer architecture
- Attributes of a system visible to the programmer
- Instruction set
- Data types
- I/O mechanisms
- Memory addressing techniques
- Instruction set
- Computer organization
- Operational units and interconnections that realize that architecture
- Transparent to the user
- Control signals
- Interfaces
- Memory technology
- Control signals
- Operational units and interconnections that realize that architecture
- Families of computers
- Architecture remains the same organization differs
- Architecture remains the same organization differs
Instruction Set Architecture
- A very important abstraction
- Interface between hardware and low-level software
- ISA
- Acronym: Instruction set architecture
- Acronym: Instruction set architecture
- Standardizes instructions, machine language bit patterns, etc.
- Advantage: different implementations of the same architecture
- Disadvantage: sometimes prevents using new innovations
- Interface between hardware and low-level software
- Microsoft will do anything to get features and go around structural issues that might prevent new innovation. However there is a price to be paid: it prevents using new innovations and software breaks down regularly
- The Instruction Set
- Attributes of a computing system as seen by the programmer, the conceptual structure and functional behaviour, as distinct from the organization of the data flows and controls the logic design and the physical implementation
- Attributes of a computing system as seen by the programmer, the conceptual structure and functional behaviour, as distinct from the organization of the data flows and controls the logic design and the physical implementation
- Computer Function
- Data processing
- Something that actually changes and transforms the data
- Something that actually changes and transforms the data
- Data storage
- Places to store before after and during the data processing
- Places to store before after and during the data processing
- Data movement
- The movement of the data
- The movement of the data
- Control
- Control mechanism found in the center of all these functions
- Control mechanism found in the center of all these functions
- Functioning at the lowest level virtual machine
- No compiling
- Like interpreter
- Sequential
- No compiling
- Main memory
- Works as a loop
- Loop
- Fetch instruction
- Execute instruction
- Fetch instruction
- End loop
- Datapath
- Are cyclic
- Fetch
- From main memory
- Through the `datapath`
- From a set of instructions
- From main memory
- Sends to registers
- Which goes to the register memory
- And is passed off the ALU
- ALU –acronym: arithmetic logic unit
- ALU –acronym: arithmetic logic unit
- Which goes to the register memory
- Are cyclic
MIPS language
- Assembly language
- Higher level than machine language
- (one step higher than machine language)
- Higher level than machine language
- RISC
- Acronym: reduced instruction set computer
- A minimum set of machine or assembly language instruction
- Minimum set of isa instructions
- Make each run very fast
- Concentrate effort
- Acronym: reduced instruction set computer
- Instruction representation
- Add 4 variables
- Solution
- Add a,b,c
- # a ßb+c
- # a ßb+c
- Add a,a,d
- #aßa+d
- #aßa+d
- Add a,a,e
- #aßa+e
- #aßa+e
- Add 4 variables
s
No comments:
Post a Comment