Computer Architectures

Subject provides overview of basic building blocks of computer systems. Explanation starts from hardware side where it extends knowledge presented in the previous lectures of Structures of computer systems.
Topics cover building blocks description, CPU structure, multiple processors interconnections, input/output subsystem and basic overview of network and buses topologies. Emphasis is placed on clarification of interconnection of hardware components with software support, mainly lower levels of operating systems, device drivers and virtualization techniques. General principles are more elaborated during presentation of examples of multiple standard CPU architectures. Exercises are more focused on the software view to the contrary. Students are lead from basic programming on CPU level to the interaction with raw hardware. \\Výsledek studentské ankety předmětu je zde:

Počet kreditů
zápočet a zkouška
Jazyk výuky
Computer architectures For combined form attendees: 14p+6l\\Course materials at: .\\
Obsah přednášek

1. Architecture, structure and organization of computers and its subsystems.
Data and numbers representation and storage in computer systems (signed integer numbers, IEEE-754).
2. Central Processing Unit (CPU) - arithmetic logic unit (ALU), von Neumann architecture, instruction set and encoding, single cycle processor, control unit (CU)
3. Memory - Hierarchical concept, storage technologies, memory management, MMU, data caching, data consistency
4. Pipelined instruction execution, hazards, stages balancing, super-scalar systems
5. Input output subsystem of the computer, shared bus, point-to-point connections, networks, PCI and PCI express, burst mode
6. Industrial computers buses (VME), MULTIBUS, PCIe protocol, reasons to replace parallel buses by multi-lane serial buses, disc storage, data protection and RAID
7. External events processing (interrupts), exceptions, real time clocks, direct memory access, bus master peripherals
8. Processors and computers networks - Topologies, communication, categories LAN, MAN, WAN, networks of control computers
9. Parameters passing to subroutines and operating system implemented virtual instructions. Stack frames, register windows, privilege modes switching and system calls implementation.
10. Classic register memory-oriented CISC architecture.
Principles demonstrated on FreeScale M68xxx/ColdFire architecture. MMU implementation, cache, busses etc.
11. INTEL x86 processor family from 8086 to EMT64, main focus on 32-bit and 64-bit operating modes supplemented with compatibility dictated 16-bit 8086 mode and 80286 segmented approach and why it is used minimally by todays OSes. SIMD instruction examples (MMX, SSE).
12. Short overview of CPU architectures and concepts development (RISC/CISC) - CPU examples ARM, ColdFire, SPARC, PowerPC and CPUs optimized for embedded applications
13. Multi-level computer organization, virtual machines.
Conventional (ISA) architecture and implementation dependent microarchitecture. Portable bytecode and virtual programming environments (Java, C#/.Net). Virtualization techniques (i.e. XEN, VMWARE) and paravirtualization.
14. Analog and digital I/O interfacing, data acquisition and processing

Náplň cvičení

1. Introduction to the labs, computer number formats, numeral systems, entrance test
2. Integer and floating point number representation and operations
3. Basic processor structure and instruction set
4. Hierarchical memory concept, cache
5. Pipeline and hazards
6. Branch prediction and code optimization
7. Memory mapped I/O regions
8. I/O buses and peripherals implementation
9. Mid-term test. Introduction to low level C programming
10. Semester project assignment
11. Independent solving of main task
12. Independent solving of main task
13. Main task hand in and presentation
14. Assessment