16 Pages

cs281_lec03a

Course: CS 281, Fall 2000
School: Drexel
Rating:
 
 
 
 
 

Word Count: 812

Document Preview

Architecture Systems I Lecture 3a: Review of Digital Circuits and Logic Design Jeremy R. Johnson Anatole D. Ruslanov Lec 3a Systems Architecture I 1 Introduction Objective: To understand how the simple model computer from the previous lecture could be implemented using logic gates. Review of Boolean functions and expressions Review of logic gates Decoders, Encoders, and Multiplexors Reading: Appendix B...

Register Now

Unformatted Document Excerpt

Coursehero >> Pennsylvania >> Drexel >> CS 281

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Architecture Systems I Lecture 3a: Review of Digital Circuits and Logic Design Jeremy R. Johnson Anatole D. Ruslanov Lec 3a Systems Architecture I 1 Introduction Objective: To understand how the simple model computer from the previous lecture could be implemented using logic gates. Review of Boolean functions and expressions Review of logic gates Decoders, Encoders, and Multiplexors Reading: Appendix B Sections 2 and 3 the COD3 textbook. References: Dewdney, The New Turing Omnibus (Ch. 3, 13, and 28). Lec 3a Systems Architecture I 2 Boolean Functions A Boolean variable has two possible values (true/false) (1/0). A Boolean function has a number of Boolean input variables and has a Boolean valued output. A Boolean function can be described using a truth table. There are 22n Boolean functions of n variables. Lec 3a s x0 x1 f 0 0 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 0 1 1 0 1 0 1 x0 f x1 0 0 1 1 1 s 1 Multiplexor function 3 Systems Architecture I Boolean Expressions An expression built up from variables, and, or, and not. y xy 0 1 0 1 0 0 0 1 x 0 0 1 1 x 0 0 1 1 y x+y 0 1 0 1 0 1 1 1 x 0 1 x 1 0 and or not Lec 3a Systems Architecture I 4 Boolean Expressions A Boolean expression is a Boolean function. Any Boolean function can be written as a Boolean expression s x0 0 0 1 1 0 0 1 1 x1 0 1 0 1 0 1 0 1 f 0 0 1 1 0 1 0 1 5 Disjunctive normal form (sums of products) For each row in the truth table where the output is true, write a product such that the corresponding input is the only input combination that is true Not unique 0 0 0 0 1 E.G. (multiplexor function) s x0 x1 + s x0 x1 + s x0 x1 + s x0 x1 1 1 1 Lec 3a Systems Architecture I Boolean Logic Boolean expressions can be simplified using rules of Boolean logic Identity law: A + 0 = A and A 1 = A. Zero and One laws: A + 1 = 1 and A 0 = 0. Inverse laws: A + A = 1 and A A = 0. Commutative laws: A + B = B + A and A B = B A. Associative laws: A + (B + C) = (A + B) + C and A (B C) = (A B) C. Distributive laws: A (B + C) = (A B) + (A C) and A + (B C) = (A + B) (A + C) DeMorgan's laws: A + B = A B and A B = A + B The reason for simplifying is to obtain shorter expressions, which leads to simpler logic circuits. Systems Architecture I 6 Lec 3a Simplification of Boolean Expressions Simplifying multiplexor expression using Boolean algebra s x0 x1 + s x0 x1 + s x0 x1 + s x0 x1 = s x0 x1 + s x0 x1 + s x0 x1 + s x1 x0 (commutative law) = s x0 (x1 + x1) + s x1 (x0 + x0) = s x0 1 + s x1 1 = s x0 + s x1 (distributive law) (inverse law) (identity law) Verify that the Boolean function corresponding to this expression has the same truth table as the original function. Systems Architecture I 7 Lec 3a Logic Circuits A single line labeled x is a logic circuit. One end is the input and the other is the output. If A and B are logic circuits so are: and gate A B A B or gate inverter (not) Lec 3a A Systems Architecture I 8 Logic Circuits Given a Boolean expression it is easy to write down the corresponding logic circuit Here is the circuit for the original multiplexor expression x0 x1 s Lec 3a Systems Architecture I 9 Logic Circuits Here is the circuit for the simplified multiplexor expression x0 x1 s Lec 3a Systems Architecture I 10 Nand Gates A nand gate is an inverted and gate x 0 0 1 1 y x|y 0 1 0 1 1 1 1 0 nand All Boolean functions can be implemented using nand gates (and, or, and not can be implemented using nand) x = x x Lec 3a Systems Architecture I 11 Decoder A decoder is a logic circuit that has n inputs (think of this as a binary number) and 2n outputs. The output corresponding to the binary input is set to 1 and all other outputs are set to 0. d0 b0 b1 d1 d2 d3 Lec 3a Systems Architecture I 12 Encoder An encoder is the opposite of a decoder. It is a logic circuit that has 2n inputs and n outputs. The outp...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Drexel - CS - 281
Systems Architecture ILecture 11: Arithmetic for Computers*Jeremy R. Johnson Anatole D. Ruslanov*This lecture was derived from material in the text (Sec. 3.1-3.3). Some or all figures from Computer Organization and Design: The Hardware/Software A
Drexel - CS - 281
Systems Architecture ILecture 6: Branching and Procedures in MIPS*Jeremy R. Johnson Anatole D. Ruslanov*This lecture was derived from material in the COD3 text (sec. 2.6-2.7). Some or all figures from Computer Organization and Design: The Hardwar
Drexel - MRKT - 650
Drexel University Bennett S. LeBow College of Business Marketing 650Course TitleMarketing Management Cases and ProblemsInstructorDr. Bert RosenbloomProfessor of Marketing and Rauth Chair in Electronic Commerce ManagementSummer Term 2003Sy
Drexel - TAX - 341
Introduction History 1861: First federal tax to raise $ for Civil War - after war tax was repealed 1894: Individual income tax enacted but held unconstitutional in Pollock case 1909: First corp. tax corporations were legal entities, not people so no
Drexel - ACCT - 601
17McGrawHill/Irwin171Chapter SeventeenAbsorption, Variable, and Throughput Costing172Absorption CostingA system of accounting for costs in which both fixed and variable production costs are considered product costs.Fixed Costs Product Va
Drexel - ACCT - 116
Ch. 6: Cost Volume Profit Relationships (CVP) CVP analyzes 1) prices of products 2) volume or level of activity 3) unit variable costs 4) total fixed costs 5) mix of products sold 6) predict impact of changes in above on profits (Review CM + Format)
Wisconsin - PSY - 804
Frontal Cortical Responses and Anger in the Experimental Conditions of Goal ObstructionSnezana Urosevi University of Wisconsin-MadisonBehavioral Approach System (BAS) Activated by environmental reward and punishmentavoidance cues and related to
Wisconsin - PSY - 710
Causal Models Moderation Mediation Path Analysis with observed variables*1Moderation vs. MediationBaron & Kenny (1986). The Moderator-Mediator variable distinction in social psychological research: Conceptual, strategic, and statistical consi
Wisconsin - PSY - 710
Psych 710 Discussion Section 1. Review ways to conceptualize correlation and Pearson's r. What exactly is a z-score again? What do we mean when we say two variables are correlated?2/4/092. Point biserial r a "special case" for correlating a di
Wisconsin - PSY - 710
Psych 710 Introduction to SPSS I.5/1/09II.III.IV. V. VI.Setting up an SPSS data file a. Columns vs. Rows b. Types of variables (string vs. numeric, etc.) c. Thinking about variable names d. Thinking about variable labels e. Specifying varia
Wisconsin - PSY - 710
Assumptions Fischer z Bias Check excel spreadsheets for tests of r's Confidence Limits for the Correlation Naturally, you're expected to give the confidence limits of the correlation coefficient you end up with. If your stats program doesn't generate
Wisconsin - PSY - 710
Psych 710 Correlation II I.5/1/09What factors affect the correlation between 2 variables? a. Shape of the distributions i. Skew ii. Kurtosis iii. Transforms (log, sqrt) b. Reliability of variables i. Types ii. Conceptual c. Restriction of range i
Wisconsin - PSY - 710
XY4221345315
Wisconsin - PSY - 16
SEXANTISOCSMATERSCONVENSANTISOCOMATEROCONVENOAGE01.44444441795349341.333333373069763410.044977188110401.222222208976752.666666746139533.599999904632572.8888888359069842.7999999523162812.719862937927211.111111164093022.666666
Wisconsin - PSY - 710
SEXANTISOCSMATERSCONVENSANTISOCOMATEROCONVENOAGE01.44444441795349341.333333373069763410.044977188110401.222222208976752.666666746139533.599999904632572.8888888359069842.7999999523162812.719862937927211.111111164093022.666666
Wisconsin - PSY - 15
IDTIMEGROUPYAYB1107.5099182640654310.00991826406541208.041850085872889.541850085872881309.509918264065439.8536512207892114010.867380875026410.367380875026415011.51886788693410.0188678869342107.6170249884279910.117024
Wisconsin - PSY - 710
IDTIMEGROUPYAYB1107.5099182640654310.00991826406541208.041850085872889.541850085872881309.509918264065439.8536512207892114010.867380875026410.367380875026415011.51886788693410.0188678869342107.6170249884279910.117024
Wisconsin - PSY - 225
Stress Response Dampening Modelo o Alcohol intoxication produces a direct, pharmacological suppression of activity in the defensive (fear/anxiety) system. Therefore, alcohol consumption is reinforcing - particularly when consumed in stressful contex
Wisconsin - PSY - 225
Inferential StatisticsDescriptive Statistics: Are used to describe, summarize and simplify data. Provides a single (typically) numeric value to summarize some aspect of the overall data set.Inferential Statistics: Are used to infer the status of a
Wisconsin - PSY - 225
Required theory paperMogg, K., McNamara, J., Powys, M., Rawlinson, H., Seiffer, A., & Bradley, B. P. (2000). Selective attention to threat: A test of two cognitive models of anxiety. Cognition & Emotion, 14(3), 375-399. Evaluated differential predic
Wisconsin - PSY - 225
EXPERIMENTAL PSYCHOLOGY 225 Fall 2004, Lecture 1Instructor: Office Room: Office Phone: Office Hours: EMail*: Course Website: John Curtin 326 Psychology 262-0387 Tuesdays,10:30am-12:30pm and by appointment jjcurtin@wisc.edu http:/dionysus.psych.wisc.
Wisconsin - CS - 540
Introduction to Simulated AnnealingStudy Guide for ES205 YuChi Ho Xiaocang Lin Aug. 22, 2000 Difficulty in Searching Global Optimabarrier to local search starting point descend direction local minima global minimaN Intuition of Simu
Wisconsin - CS - 540
Solution for Written Part of Homework 5, CS540, Fall 2008Question 1 (a) P(Y|X)=(0.70+0.015)/(0.70+0.015+0.10+0.02)=0.856 (b) P(Y|X,Z)=0.70/(0.70+0.10)=0.875 (c) P(Y)=(0.70+0.015+0.08+0.01)/(0.805+0.195)=0.805 (d) P(X,Z)=(0.70+0.10)/(0.70+0.10+0.015
Wisconsin - CS - 540
CS 540Fall 2008CS 540: Introduction to Artificial Intelligence Homework Assignment #3: CSP and Logic Assigned: Friday, October 10 Due: Monday, October 20 Late Policy: Homework must be handed in by noon on the due date and electronically turned in
Wisconsin - CS - 540
CS540: Introduction to Artificial Intelligence Homework assignment #1: Decision TreesAssigned: September 10, 2008 Due: September 24, 2008 Hand in your homework:This homework assignment includes written problems and programming in Java. Hand in hard
Wisconsin - CS - 540
-| || LECTURE 19: Neural Networks || | | November 10, 1994 || ||
Wisconsin - CS - 540
- | | | Lecture 4: Common Lisp (Chap 2) | | | | Feb
Wisconsin - CS - 540
****CS 540****Lecture 4: September 15, 1994**** Prepared by: Ada Sung****More Lisp=Another Example of Iteration in Lisp-(defun iter-reverse(l) (let (result nil) (loop (if (end
Wisconsin - CS - 736
SCALABILITY OF EXT2Yancan Huang, Guoliang Jin May 13, 2008MOTIVATIONGraph for createMOTIVATIONGraph for openMOTIVATIONSame method, different graphs: Code for create:asmlinkage long sys_creat(const char _user * pathname, int mode)
Wisconsin - CS - 736
Pachyderm: The Web Proxy that Never Forgets.Alison Krautkramer sisko1@cs.wisc.edu Jing Li jing@cs.wisc.edu Remzi Arpaci-Dusseau remzi@cs.wisc.eduComputer Sciences Department University of Wisconsin 1210 West Dayton Street Madison, WI 53705 Decembe
Wisconsin - CS - 537
UNIVERSITY of WISCONSIN-MADISON Computer Sciences DepartmentCS 537 Introduction to Operating Systems Andrea C. Arpaci-Dusseau Remzi H. Arpaci-DusseauJournaling File SystemsQuestions answered in this lecture:Why is it hard to maintain on-disk con
Wisconsin - CS - 537
UNIVERSITY of WISCONSIN-MADISON Computer Sciences DepartmentCS 537 Introduction to Operating Systems Andrea C. Arpaci-Dusseau Remzi H. Arpaci-DusseauDynamic Memory AllocationQuestions answered in this lecture:When is a stack appropriate? When is
Wisconsin - CS - 537
* Address Spaces *In the early days, building computer systems was easy. Why, you ask? Becauseusers didn't expect too much. It is those darned users with their expectationsof "ease of use", "high performance", "reliability", and so forth that re
Wisconsin - CS - 537
[SMALLER PAGE TABLES: OR HOW TO STOP FILLING MEMORY WITH THOSE DARN THINGS]We now tackle the second problem that paging introduces: page tables are toobig. We start with out a linear page table. As you might recall (or mightnot, this is getting p
Wisconsin - CS - 537
* Log-structured File Systems *In the early 90's, a group at Berkeley led by Professor John Ousterhout andgraduate student Mendel Rosenblum developed a new file system known as thelog-structured file system [1]. Their motivation to do so was bas
Wisconsin - CS - 537
* The Fast File System *When UNIX was first introduced, the UNIX wizard himself Ken Thompson wrote thefirst file system. We will call that the "old UNIX file system", and it wasreally simple. Basically, it looked like this on the disk:Super bl
Wisconsin - CS - 537
* Locks *From the last note, we saw that we had a fundamental problem in concurrentprogramming: we would like to execute a series of instructions atomically, butdue to the presence of interrupts, we couldn't. In this note, we thus attackthe pro
Wisconsin - CS - 252
Introduction to Computer EngineeringCS/ECE 252, Fall 2007 Prof. Mark D. Hill Computer Sciences Department University of Wisconsin MadisonChapter 1 Welcome AboardSlides based on set prepared by Gregory T. Byrd, North Carolina State UniversityC
Wisconsin - CS - 252
Introduction to Computer EngineeringCS/ECE 252, Spring 2007 Prof. Mark D. Hill Computer Sciences Department University of Wisconsin MadisonPlace On Desk IPod Laptop Treo Etc. All Computers Software/Hardware separation keyComputers! Engi
Wisconsin - CS - 701
Compiling for the Intel ItaniumTM ArchitectureCompiler TricksSteve Skedzielewski Intel CorporationRAgendaArchitecturePrinciples Compiler Bag of Tricks Speculation Predication Branching Loop GenerationRTraditional Architectures: L
Wisconsin - CS - 701
qpt_stats(1) UNIX Programmer's Manual qpt_stats(1)NAME qpt2_stats - Produce Program Profiles for qpt2SYNTAX qpt2_stats [-c file -f file -i file -Rd -Rh# -Rp# -Rs -v -Wd file -Wfb file] a.outDESCRIPTION qp
Wisconsin - ECE - 539
-1.5880643e-001 7.6568794e-001 2.2590349e-002 9.9988994e-001 -2.2855274e-001 5.7218924e-001 4.7974690e-001 -1.3737110e-001 3.4079018e-002 9.9959462e-001 2.3730599e-001 7.0055420e-001 -1.2958644e-001 8.3175797e-001 -5.5
Wisconsin - ECE - 539
2.1340624e-001 7.5672327e-001 -5.2103639e-001 -6.0533025e-001 -1.3913797e-001 2.0693860e-001 -1.1231593e-001 4.0004556e-001 2.5331727e-001 5.0603659e-001 1.9155456e-001 1.1482365e+000 -5.2876239e-001 -1.2066207e+000 2.2735487e-001 4
Wisconsin - ECE - 539
Matlab Tutorial Supplemental Notes (c) copyright 1997 by Yu Hen Hu0. Prompt: > Comment: % Help: help Separation: , or ; (not display) Quit: quit Interrupt:
Wisconsin - ECE - 539
Integration of Advanced Automotive Engine Simulation Methods Using Neural NetworkYongsheng HeABSTRACTDynamic powertrain models using Simulink include modular models to simulateautomotive engine, transmissions, driveline, and vehicle dynamics.
Wisconsin - ECE - 539
Title: Long Term Pavement Performance (LTPP) Data Analysis forQuantifying contribution of M&C variables on Pavement Performance UsingNeural Network Approach. Choi, Jae-hoOne of the most difficult tasks in any management system is establishingt
Wisconsin - ME - 363
Homework #14 Due December 12, 2007ME 363 - Fluid MechanicsFall Semester 20071] A delivery vehicle carries a long sign on top. The sign is very thin in and out of the page. If the sign is very thin and the vehicle moves at 65 mi/hr, (a) estimate
Wisconsin - ME - 363
Final Exam May 15, 2008ME 363 - Fluid MechanicsSpring Semester 2008Problem 1a (5 points) A 6-mm diameter hole is punched near the bottom of a 32-oz drinking cup full of cold water ( = 1000 kg/m3, = 0.0018 kg/m-s). Estimate the velocity of the s
Wisconsin - ME - 363
Name _ME363 Exam 3/Fall 2006Honor Statement:Signed:_1Name _Concept Questions: Problem 1: Problem 2: Problem 3: Problem 4:/40 _/10 /15 _/19 /16Total:/1002Name _For the Concept Questions, pleasethe correct answer.a. b. c. d.
Wisconsin - ME - 363
<?xml version="1.0" encoding="UTF-8"?> <Error><Code>InternalError</Code><Message>We encountered an internal error. Please try again.</Message><RequestId>E1780E161C15D7E7</RequestId><HostId>G+Zuc2bMt/UxaH3+DVX3 QoAIw2vvEkl2QQktkcypnV/2OhVeenRNPa6A8rwt
Wisconsin - ME - 363
ees code:TA = 20 [C] PA = 101325 [Pa] PL = PA rho = DENSITY(Water,T=TA,P=PA) mu = VISCOSITY(Water,T=TA,P=PA) zA = 174 [m] zB = 152 [m] zC = zB zD = zC zE = zD zF = zE zG = 91 [m] zH = zG zI = zH zJ = zI zK = zJ zL = 104 [m] L = 760 [m] L_CD = 152 [m
Wisconsin - ME - 361
Homework #3 traditional part Due Wednesday September 17, 2008ME 361 - ThermodynamicsFall Semester 20081] {work this problem in EES} Ethanol can be consumed by humans as well as used as a fuel in engines. As a beverage, ethanol has 200 calories
Wisconsin - ME - 361
5-58 Helium is compressed by a compressor. For a mass flow rate of 90 kg/min, the power input required is to be determined. Assumptions 1 This is a steady-flow process since there is no change with time. 2 Kinetic and potential energy changes are neg
Wisconsin - ME - 361
exam 1 could look roughly like this: exam 1 could look roughly like this: "exam 1 practice set 2" 3-51 4-29 solutions 3-51 A rigid tank that is filled with saturated liquid-vapor mixture is heated. The temperature at which the liquid in the tank is c
Wisconsin - ME - 361
9-23 A Carnot cycle with the specified temperature limits is considered. The net work output per cycle is to be determined. Assumptions Air is an ideal gas with constant specific heats. Properties The properties of air at room temperature are cp = 1.
Wisconsin - ME - 361
Exam 3 problems & data this sheet NOT GRADED Nov 25, 2008ME 361 - ThermodynamicsFall Semester 20081] {60 points} Consider the ideal cycle shown on the P-v diagram below. This cycle is to be executed on air in a closed system in a free-piston/c
Wisconsin - ME - 361
Homework #11 Due Wednesday, October 29, 2008ME 361 - ThermodynamicsFall Semester 20081] A steady process generates entropy at a rate of 1 W/K. A thermodynamics student, having learned that entropy generation is in general a bad thing, wonders ho
Wisconsin - ME - 363
Class # 3ME363 Spring 200805/01/091Outline Newtonian and non-Newtonian fluids Surface tension Superhydrophobic surfaces Classification of fluids motions05/01/092couette flowViscositydu ~ dy du = dyviscosity - Newtonian apparen
Wisconsin - ME - 363
Class # 15ME363 Spring 200805/01/091Outline Bernoulli equation Momentum equation with accelerating control volumes05/01/092Momentum EquationBasic Law, and Transport Theorem05/01/093Momentum Equation for Inertial Control Volume
Wisconsin - ME - 363
Class # 19ME363 Spring 200805/01/091OutlineFirst law of thermodynamics05/01/092Reynolds Transport TheoremChange of N Flux in Flux outV e=u + + gz 22First law of thermodynamicsBasic Law, and Transport TheoremV e=u + + gz 2
Wisconsin - ME - 363
Class # 37ME363 Spring 200805/01/091OutlineBoundary layer05/01/092Boundary layerBoundary layerBoundary layerBoundary layerBoundary layerBoundary layerBoundary layerBoundary layerBoundary layerBoundary layerBoundar