








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This document, from cs 211: computer architecture taught by prof. Bhagi narahari at george washington university, discusses the trends in technology, applications, and architectures in computer science. The focus is on emerging trends in semiconductor technology and the availability of instruction-level parallelism. The document also introduces the concept of reconfigurable computing and its applications in embedded systems.
Typology: Study notes
1 / 14
This page cannot be seen from the preview
Don't miss anything!









Dept. of Computer Science Course URL: www.seas.gwu.edu/~narahari/cs211/
CS 211: Computer Architecture, Bhagi Narahari
¾ Semiconductor ¾ Compiler technology ¾ Computational models
¾ Compiler plays a key role ¾ what is the interplay between architecture features and application program properties ¾ Bottom line is performance of application
CS 211: Computer Architecture, Bhagi Narahari
Trends In Technology, Applications,Architectures
CS 211: Computer Architecture, Bhagi Narahari
Emerging trends in Semiconductor Technology: Recall from Week 1!
¾ some aspects to consider: ¾ Delay: switching time of transistor – impacts clock cycle ¾ Feature size: size of transistor – impacts amount of logic in processor ¾ Interconnect delay: clock cycle/delay in sending signal across the interconnect lines on a chip
CS 211: Computer Architecture, Bhagi Narahari
[Wall’93, DECWRL]
0
10
20
30
40
50
60
70
80
90
100
egreseddyaccecogrrmetalvicompdoduesprfpppgcc1hydrli mdljoraswmtomc
Application
ILP
Perfect Model Superb Model Good Model
CS 211: Computer Architecture, Bhagi Narahari
However,
CS 211: Computer Architecture, Bhagi Narahari
CS 211: Computer Architecture, Bhagi Narahari
¾ Workstations, no power limitation, no size limitation…sometimes cost not an issue to begin with
CS 211: Computer Architecture, Bhagi Narahari
Microprocessor-based Systems
Data Storage (Register File)
CS 211: Computer Architecture, Bhagi Narahari
Reconfigurable Computing
Functional Unit
If (A > B) { H = A; L = B; } Else { H = B; L = A; }
CS 211: Computer Architecture, Bhagi Narahari
Reconfigurable Hardware
¾ Each logic element operates on four one-bit inputs. ¾ Output is one data bit. ¾ Can perform any boolean function of four inputs
2 (2^4)^ = 64K functions!
Logic Element A B C D
Out
A B C D = out
CS 211: Computer Architecture, Bhagi Narahari
Field-Programmable Gate Array (FPGA)
LE LE
LE LE
LE LE LE LE
LE LE
LE LE
Logic Element Tracks
CS 211: Computer Architecture, Bhagi Narahari
Two Bit Adder
C (^) o C (^) i
S
Made of Full Adders A+B = D
Logic synthesis tool reduces circuit to SOP form
C (^) o = ABC (^) i + ABC (^) i + ABC (^) i + ABC (^) i
S = ABC (^) i + ABC (^) i + ABC (^) i + ABC (^) i
C^ LUT^ C^ o i
i
CS 211: Computer Architecture, Bhagi Narahari
FPGA Architecture Issues
Logic Element
CS 211: Computer Architecture, Bhagi Narahari
Translating a Design to an FPGA
¾ CAD to translate circuit from text description to physical implementation well understood. ¾ CAD to translate from C program to circuit not well understood. ¾ Very difficult for application designers to successfully write high-performance applications
C program
Circuit
A B
Array
Need for design automation!
CS 211: Computer Architecture, Bhagi Narahari
High-level Compilers
¾ Difficult to estimate hardware resources. ¾ Some parts of program more appropriate for processor (hardware/software codesign). ¾ Compiler must parallelize computation across many resources. ¾ Engineers like to write in C rather than pushing little blocks around.
for (i = 0; i<n, i++) { . . }
CS 211: Computer Architecture, Bhagi Narahari
CS 211: Computer Architecture, Bhagi Narahari
•not possible to put everything into hardware due to resource limitations •Some things done better in hardware if we can get hardware configured to the application
CS 211: Computer Architecture, Bhagi Narahari
¾ Result of compilation is synthesizable HDL and assembly code for the processor
¾ Compiler profiler determines dependence and rough performance estimates
CS 211: Computer Architecture, Bhagi Narahari
Definition: Embedded System
¾ don’t need all the general-purpose bells and whistles. ¾ Constrained system resources ¾ Minimized human-machine interface (if at all) ¾ Singly-focused application that runs when power is applied and terminates when power source is turned off or depleted.
CS 211: Computer Architecture, Bhagi Narahari
Modern Embedded Systems
CS 211: Computer Architecture, Bhagi Narahari
Embedding a computer
mem
input
output (^) analog
analog
embedded computer
CS 211: Computer Architecture, Bhagi Narahari
Recognize This System?
CS 211: Computer Architecture, Bhagi Narahari
BMW 850i brake and stability control system
¾ Note need to integrate sensors into your system!
CS 211: Computer Architecture, Bhagi Narahari
BMW 850i, cont’d.
brake
sensor
brake
sensor
brake
sensor
brake
sensor
hydraulic pump
CS 211: Computer Architecture, Bhagi Narahari
Characteristics of embedded systems
¾ Simple processors; small memory, microcontrollers, DSPs
CS 211: Computer Architecture, Bhagi Narahari
Challenges in embedded system design
CS 211: Computer Architecture, Bhagi Narahari
Program design and analysis for Embedded Systems
CS 211: Computer Architecture, Bhagi Narahari
Energy/power optimization
CS 211: Computer Architecture, Bhagi Narahari
Power Equation
gates
2 2
1 PAVG = NGfclkCLV DD
CS 211: Computer Architecture, Bhagi Narahari
Considerations
CS 211: Computer Architecture, Bhagi Narahari
Data size minimization
¾ Requires careful verification of correctness.
CS 211: Computer Architecture, Bhagi Narahari
Reducing code size
CS 211: Computer Architecture, Bhagi Narahari
Adding logic to a board
CS 211: Computer Architecture, Bhagi Narahari
What is an SoC?
CS 211: Computer Architecture, Bhagi Narahari
Summary
CS 211: Computer Architecture, Bhagi Narahari
CS 211: Computer Architecture, Bhagi Narahari