9/8/15 1
WELLESLEY CS
CS 240, Fall 2014Digital ¡Logic
Gateway ¡to ¡computer ¡science
WELLESLEY CS
CS 240, Fall 2014Devices ¡(transistors, ¡etc.) Solid-‑State ¡ Physics
Hardware
Digital ¡Logic
Microarchitecture Instruction ¡ Set ¡Architecture Operating ¡ System Programming ¡ Language Compiler/Interpreter Program, ¡ Application
Software
WELLESLEY CS
CS 240, Fall 2014Digital ¡logic ¡values
A ¡digital ¡circuit ¡has ¡only ¡two ¡logical ¡values ¡present.
*Exact ¡voltage ¡levels ¡and ¡their ¡ interpretation ¡ varies ¡ with ¡technology.
0.0V 0.5V 2.8V 3.3V 1
1, ¡true, ¡asserted
0, ¡false, ¡ unasserted
WELLESLEY CS
CS 240, Fall 2014Transistors
Very ¡fast ¡binary ¡switches.
Base Collector +Vcc (Supply ¡Voltage) Emitter (Circuit ¡ Ground)