Figure 7.7. A digital system like the one in Figure 7.2.
|
|
- Peregrine Rafe Miles
- 6 years ago
- Views:
Transcription
1 Figure 7.7. A digital ytem like the oe i Figure 7.2.
2 Figure 7.8. Uig multiplexer to implemet a bu.
3 Figure 7.3. Code for the proceor (Part a).
4 Figure 7.3. Code for the proceor (Part b).
5 module proc(data, Reet, w, Clock, F, Rx, Ry, Doe, BuWire); iput [7:] Data; iput Reet, w, Clock; iput [:] F, Rx, Ry; output reg [7:] BuWire; output reg Doe; reg [7:] Sum; reg [:3] Ri, Rout; reg Exter, Ai, Gi, Gout, AddSub; wire [:] Cout, I; wire [:3] Xreg, Y; wire [7:] R, R, R2, R3, A, G; wire [:6] Fuc, FucReg, Sel; wire Clear = Reet Doe (~w & ~Cout[] & ~Cout[]); upcout couter (Clear, Clock, Cout); aig Fuc = {F, Rx, Ry}; wire FRi = w & ~Cout[] & ~Cout[]; reg fuctioreg (Fuc, FRi, Clock, FucReg); defparam fuctioreg. = 6; aig I = FucReg[:2]; dec2to4 decx (FucReg[3:4], b, Xreg); dec2to4 decy (FucReg[5:6], b, Y);! cotiued i Part b. Figure 7.4. Alterative code for the proceor. (Part a).
6 I, Xreg, Y) begi Exter = 'b; Doe = 'b; Ai = 'b; Gi = 'b; Gout = 'b; AddSub = 'b; Ri = 4'b; Rout = 4'b; cae (Cout) 2'b: ; //o igal aerted i time tep T 2'b: //defie igal i time tep T cae (I) 2'b: begi //Load Exter = 'b; Ri = Xreg; Doe = 'b; 2'b: begi //Move Rout = Y; Ri = Xreg; Doe = 'b; default: begi //Add, Sub Rout = Xreg; Ai = 'b; cae 2'b: //defie igal i time tep T2 cae (I) 2'b: begi //Add Rout = Y; Gi = 'b; 2'b: begi //Sub Rout = Y; AddSub = 'b; Gi = 'b; default: ; //Add, Sub cae 2'b: cae (I) 2'b, 2'b: begi Gout = 'b; Ri = Xreg; Doe = 'b; default: ; //Add, Sub cae cae cotiued i Part c. Figure 7.4. Alterative code for the proceor (Part b).
7 ! reg reg_ (BuWire, Ri[], Clock, R); reg reg_ (BuWire, Ri[], Clock, R); reg reg_2 (BuWire, Ri[2], Clock, R2); reg reg_3 (BuWire, Ri[3], Clock, R3); reg reg_a (BuWire, Ai, Clock, A); //alu A, BuWire) begi if (!AddSub) Sum = A + BuWire; ele Sum = A - BuWire; reg reg_g (Sum, Gi, Clock, G); aig Sel = {Rout, Gout, Exter}; R, R, R2, R3, G, Data) begi if (Sel == 6'b) BuWire = R; ele if (Sel == 6'b) BuWire = R; ele if (Sel == 6'b) BuWire = R2; ele if (Sel == 6'b) BuWire = R3; ele if (Sel == 6'b) BuWire = G; ele BuWire = Data; module Figure 7.4. Alterative code for the proceor (Part c).
8 Reet S Load A B S2 S3 Shift right A Doe B B + A =? a Figure 7.7. ASM chart for the peudo-code i Figure 7.6.
9 module bitcout (Clock, Reet, LA,, Data, B, Doe); iput Clock, Reet, LA, ; iput [7:] Data; output reg [3:] B; output reg Doe; wire [7:] A; wire z; reg [:] Y, y; reg EA, EB, LB; // cotrol circuit parameter S = 2'b, S2 = 2'b, S3 = 2'b; y, z) begi: State_table cae (y) S: if (!) Y = S; ele Y = S2; S2: if (z == ) Y = S2; ele Y = S3; S3: if () Y = S3; ele Y = S; default: Y = 2'bxx; cae Clock, egedge Reet) begi: State_flipflop if (Reet = = ) y <= S; ele y <= Y;! cotiued i Partr b. Figure 7.2. Verilog code for the bit-coutig circuit (Part a).
10 A[]) begi: FSM_output // default EA = ; LB = ; EB = ; Doe = ; cae (y) S: LB = ; S2: begi EA = ; if (A[]) EB = ; ele EB = ; S3: Doe = ; cae // datapath circuit // couter B Reet, poedge Clock) if (!Reet) B <= ; ele if (LB) B <= ; ele if (EB) B <= B + ; hiftre ShiftA (Data, LA, EA,, Clock, A); aig z = ~ A; module Figure 7.2. Verilog code for the bit-coutig circuit (Part b).
11 LA DataA LB DataB EA L E Shift-left regiter EB L E Shift-right regiter Clock A 2 B + Sum 2 2 z b Pel DataP 2 EP E Regiter 2 P Figure Datapath circuit for the multiplier.
12 Reet S Pel =, EP S2 S3 Pel =, EA, EB Doe EP z b Figure ASM chart for the multiplier cotrol circuit.
13 module multiply (Clock, Reet, LA, LB,, DataA, DataB, P, Doe); parameter = 8; iput Clock, Reet, LA, LB, ; iput [-:] DataA, DataB; output [+-:] P; output reg Doe; wire z; reg [+-:] A, DataP; wire [+-:] Sum; reg [:] y, Y; reg [-:] B; reg EA, EB, EP, Pel; iteger k; // cotrol circuit parameter S = 2'b, S2 = 2'b, S3 = 2'b; y, z) begi: State_table cae (y) S: if ( == ) Y = S; ele Y = S2; S2: if (z == ) Y = S2; ele Y = S3; S3: if ( == ) Y = S3; ele Y = S; default: Y = 2'bxx; cae Clock, egedge Reet) begi: State_flipflop if (Reet = = ) y <= S; ele y <= Y;! cotiued i Part b. Figure Verilog code for the multiplier circuit (Part a).
14 y, B[]) begi: FSM_output // default EA = ; EB = ; EP = ; Doe = ; Pel = ; cae (y) S: EP = ; S2: begi EA = ; EB = ; Pel = ; if (B[]) EP = ; ele EP = ; S3: Doe = ; cae //datapath circuit hiftre ShiftB (DataB, LB, EB,, Clock, B); defparam ShiftB. = 8; hiftle ShiftA ({{{'b}}, DataA}, LA, EA, b, Clock, A); defparam ShiftA. = 6; aig z = (B = = ); aig Sum = A + P; // defie the 2 2-to- multiplexer Sum) for (k = ; k < +; k = k+) DataP[k] = Pel? Sum[k] : b; rege RegP (DataP, Clock, Reet, EP, P); defparam RegP. = 6; module Figure Verilog code for the multiplier circuit (Part b).
15 Reet Load A Load B S R, C S2 Shift left R A S4 Doe S3 C C R B? Shift ito Q Shift ito Q R R B C =? Figure ASM chart for the divider.
16 Reet S Rel =, LR, LC S2 ER, EA S3 EQ, Rel =, EC c out S4 Doe LR z Figure 7.3. ASM chart for the divider cotrol circuit.
17 Reet S LR Rel =, LC, ER EA, ER S2 ER, ER, EA, Rel = c out S3 Doe LR EC z Figure ASM chart for the ehaced divider cotrol circuit.
18 LA DataA EB DataB Clock EA L E Left-hift regiter w E Regiter B c out + c i Rel ER LR ER L E Left-hift regiter w rr Q Q D q r 2 r R Q Figure Datapath circuit for the ehaced divider.
19 module divider (Clock, Reet,, LA, EB, DataA, DataB, R, Q, Doe); parameter = 8, log = 3; iput Clock, Reet,, LA, EB; iput [-:] DataA, DataB; output [-:] R, Q; output reg Doe; wire Cout, z; wire [-:] DataR; wire [:] Sum; reg [:] y, Y; reg [-:] A, B; reg [log-:] Cout; reg EA, Rel, LR, ER, ER, LC, EC, R; iteger k; // cotrol circuit! parameter S = 2'b, S2 = 2'b, S3 = 2'b; y, z) begi: State_table cae (y) S: if ( == ) Y = S; ele Y = S2; S2: if (z == ) Y = S2; ele Y = S3; S3: if ( == ) Y = S3; ele Y = S; default: Y = 2'bxx; cae Clock, egedge Reet) begi: State_flipflop if (Reet == ) y <= S; ele y <= Y; cotiued i Part b. Figure Verilog code for the divider circuit (Part a).
20 Cout, z) begi: FSM_output // default LR = ; ER = ; ER = ; LC = ; EC = ; EA = ; Rel = ; Doe = ; cae (y) S: begi LC = ; ER = ; if ( == ) begi LR = ; ER = ; ele begi LR = ; EA = ; ER = ; S2: begi Rel = ; ER = ; ER = ; EA = ; if (Cout) LR = ; ele LR = ; if (z == ) EC = ; ele EC = ; S3: Doe = ; cae Figure Verilog code for the divider circuit (Part b).
21 //datapath circuit rege RegB (DataB, Clock, Reet, EB, B); defparam RegB. = ; hiftle ShiftR (DataR, LR, ER, R, Clock, R); defparam ShiftR. = ; muxdff FF_R ( b, A[-], ER, Clock, R); hiftle ShiftA (DataA, LA, EA, Cout, Clock, A); defparam ShiftA. = ; aig Q = A; dowcout Couter (Clock, EC, LC, Cout); defparam Couter. = log; aig z = (Cout = = ); aig Sum = { b, R[-2:], R} + { b, ~B} + ; aig Cout = Sum[]; // defie the 2-to- multiplexer aig DataR = Rel? Sum : ; module Figure Verilog code for the divider circuit (Part c).
22 Sum = ; for i = k dow to do Sum = Sum +R i ; for; M = Sum k ; (a) Peudo-code Reet S Load regiter Sum, C k S2 Sum Sum + R i C C C =? S3 S4 M Sum k Doe (b) ASM chart Figure A algorithm for fidig the mea of k umber.
23 RAdd ER w y w 2-to-4 y y 2 y 3 E Data E Regiter E Regiter E Regiter E Regiter Clock Sel ES E Regiter EC LC E L Dow-couter z + k EB Sum LA k B EB A LA Div Divider R Q Doe M zz Figure Datapath circuit for the mea operatio.
24 Reet S LC, Sel =, ES S2 EC Sel =, ES z S3 LA, EB S4 Div S5 Div, Doe zz Figure ASM chart for the mea operatio cotrol circuit.
25 Reet Load regiter S C i S2 A R, i C j C i C i C i + S3 C j C j + S4 B R j S5 C j C j + B < A? S6 R j A S8 A R i S7 R i B C j = K? S9 Doe C i = k 2? Figure 7.4. ASM chart for the ort operatio.
26 Reet S LI, It = S2 It =, Cel =, Ai, LJ EI S3 EJ S4 Bi, Cel =, It = S5 EJ BltA S6 Cel =, It =, Wr, Aout S8 Cel =, It =, Ai S7 Cel =, It =, Wr, Bout z j S9 Doe z i Figure ASM chart for the cotrol circuit.
27 module ort (Clock, Reet,, WrIit, Rd, DataI, RAdd, DataOut, Doe); parameter = 4; iput Clock, Reet,, WrIit, Rd; iput [-:] DataI; iput [:] RAdd; output [-:] DataOut; output reg Doe; wire [:] Ci, Cj, CMux, IMux; wire [-:] R, R, R2, R3, A, B, RData, ABMux; wire BltA, zi, zj; reg It, Cel, Wr, Ai, Bi, Aout, Bout; reg LI, LJ, EI, EJ, Ri, Ri, Ri2, Ri3; reg [3:] y, Y; reg [-:] ABData; // cotrol circuit parameter S = 4'b, S2 = 4'b, S3 = 4'b, S4 = 4'b; parameter S5 = 4'b, S6 = 4'b, S7 = 4'b, S8 = 4'b, S9 = 4'b;! BltA, zj, zi) begi: State_table cae (y) S: if ( == ) Y = S; ele Y = S2; S2: Y = S3; S3: Y = S4; S4: Y = S5; S5: if (BltA) Y = S6; ele Y = S8; S6: Y = S7; S7: Y = S8; S8: if (!zj) Y = S4; ele if (!zi) Y = S2; ele Y = S9; S9: if () Y = S9; ele Y = S; default: Y = 4'bx; cae cotiued i Part b. Figure Verilog code for the ortig circuit (Part a).
28 Clock, egedge Reet) begi: State_flipflop if (Reet = = ) y <= S; ele y <= Y; zj, zi) begi: FSM_output // default It = ; Doe = ; LI = ; LJ = ; EI = ; EJ = ; Cel = ; Wr = ; Ai = ; Bi = ; Aout = ; Bout = ; cae (y) S: begi LI = ; It = ; S2: begi Ai = ; LJ = ; S3: EJ = ; S4: begi Bi = ; Cel = ; S5: ; // o output aerted i thi tate S6: begi Cel = ; Wr = ; Aout = ; S7: begi Wr = ; Bout = ; S8: begi Ai = ; if (!zj) EJ = ; ele begi EJ = ; if (!zi) EI = ; ele EI = ; S9: Doe = ; cae cotiued i Part c. Figure Verilog code for the ortig circuit (Part b).
29 //datapath circuit rege Reg (RData, Clock, Reet, Ri, R); defparam Reg. = ; rege Reg (RData, Clock, Reet, Ri, R); defparam Reg. = ; rege Reg2 (RData, Clock, Reet, Ri2, R2); defparam Reg2. = ; rege Reg3 (RData, Clock, Reet, Ri3, R3); defparam Reg3. = ; rege RegA (ABData, Clock, Reet, Ai, A); defparam RegA. = ; rege RegB (ABData, Clock, Reet, Bi, B); defparam RegB. = ; aig BltA = (B < A)? : ; aig ABMux = (Bout == )? A : B; aig RData = (WrIit == )? ABMux : DataI; upcout OuterLoop (2 b, Reet, Clock, EI, LI, Ci); upcout IerLoop (Ci, Reet, Clock, EJ, LJ, Cj); aig CMux = (Cel == )? Ci : Cj; aig IMux = (It == )? CMux : RAdd;! cotiued i Part d. Figure Verilog code for the ortig circuit (Part c).
30 Wr, IMux) begi cae (IMux) : ABData = R; : ABData = R; 2: ABData = R2; 3: ABData = R3; cae if (WrIit Wr) cae (IMux) : {Ri3, Ri2, Ri, Ri} = 4'b; : {Ri3, Ri2, Ri, Ri} = 4'b; 2: {Ri3, Ri2, Ri, Ri} = 4'b; 3: {Ri3, Ri2, Ri, Ri} = 4'b; cae ele {Ri3, Ri2, Ri, Ri} = 4'b; aig zi = (Ci == 2); aig zj = (Cj == 3); aig DataOut = (Rd == )? 'bz : ABData; module Figure Verilog code for the ortig circuit (Part d).
31 (a) Loadig the regiter ad tartig the ort operatio (b) Completig the ort operatio ad readig the regiter Figure Simulatio reult for the ort operatio.
Digital System Design
July, 22 9:55 vra235_ch Sheet umber Page umber 65 black chapter Digital System Desig a b c d e f g h 8 7 6 5 4 3 2. Bd3 g6+, Ke8 d8 65 July, 22 9:55 vra235_ch Sheet umber 2 Page umber 66 black 66 CHAPTER
More informationLecture 8. RTL Design Methodology. Transition from Pseudocode & Interface to a Corresponding Block Diagram
Lecture 8 RTL Design Methodology Transition from Pseudocode & Interface to a Corresponding Block Diagram Structure of a Typical Digital Data Inputs Datapath (Execution Unit) Data Outputs System Control
More informationECE 545 Lecture 12. Datapath vs. Controller. Structure of a Typical Digital System Data Inputs. Required reading. Design of Controllers
ECE 545 Lecture 12 Design of Controllers Finite State Machines and Algorithmic State Machine (ASM) Charts Required reading P. Chu, using VHDL Chapter 1, Finite State Machine: Principle & Practice Chapter
More informationLecture 2. RTL Design Methodology. Transition from Pseudocode & Interface to a Corresponding Block Diagram
Lecture 2 RTL Desig Methodology Trasitio from Pseudocode & Iterface to a Correspodig Block Diagram Structure of a Typical Digital Data Iputs Datapath (Executio Uit) Data Outputs System Cotrol Sigals Status
More informationChapter 4 The Datapath
The Ageda Chapter 4 The Datapath Based o slides McGraw-Hill Additioal material 24/25/26 Lewis/Marti Additioal material 28 Roth Additioal material 2 Taylor Additioal material 2 Farmer Tae the elemets that
More informationLaboratory Exercise 9
Laboratory Exercise 9 Figure 1 shows a digital system that contains a number of -bit registers, a multiplexer, an adder/subtracter unit, a counter, and a control unit. Data is input to this system via
More informationSynthesis of Language Constructs. 5/10/04 & 5/13/04 Hardware Description Languages and Synthesis
Synthesis of Language Constructs 1 Nets Nets declared to be input or output ports are retained Internal nets may be eliminated due to logic optimization User may force a net to exist trireg, tri0, tri1
More informationLecture 3. RTL Design Methodology. Transition from Pseudocode & Interface to a Corresponding Block Diagram
Lecture 3 RTL Desig Methodology Trasitio from Pseudocode & Iterface to a Correspodig Block Diagram Structure of a Typical Digital Data Iputs Datapath (Executio Uit) Data Outputs System Cotrol Sigals Status
More informationCSC / EE Digital Systems Design. Summer Sample Project Proposal 01
THE CATHOLIC UNIVERSITY OF AMERICA SCHOOL OF ENGINEERING DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE CSC / EE 519-01 Digital Systems Design Summer 2013 Sample Project Proposal 01 Thursday
More informationComputer Organization
Computer Organization! Computer design as an application of digital logic design procedures! Computer = processing unit + memory system! Processing unit = control + datapath! Control = finite state machine
More informationBehavioral Modeling in Verilog
Behavioral Modelig i Verilog COE 202 Digital Logic Desig Dr. Muhamed Mudawar Kig Fahd Uiversity of Petroleum ad Mierals Presetatio Outlie Itroductio to Dataflow ad Behavioral Modelig Verilog Operators
More informationComputer Organization. Structure of a Computer. Registers. Register Transfer. Register Files. Memories
Computer Organization Structure of a Computer Computer design as an application of digital logic design procedures Computer = processing unit + memory system Processing unit = control + Control = finite
More informationBlock diagram view. Datapath = functional units + registers
Computer design an application of digital logic design procedures Computer = processing unit + memory system Processing unit = control + datapath Control = finite state machine inputs = machine instruction,
More informationMicroprogrammed Control
Calcolatori Elettroici e Sistemi Operativi Microprogrammed Microprogrammed Iputs (state) Status sigals (from datapath) NS = δ(s,i) = ((S),I) O = λ(s) Next state Outputs sigals (to datapath) Microprogrammed
More informationLaboratory Exercise 6
Laboratory Exercie 6 Adder, Subtractor, and Multiplier The purpoe of thi exercie i to examine arithmetic circuit that add, ubtract, and multiply number. Each circuit will be decribed in Verilog and implemented
More informationEECS Components and Design Techniques for Digital Systems. Lec 20 RTL Design Optimization 11/6/2007
EECS 5 - Components and Design Techniques for Digital Systems Lec 2 RTL Design Optimization /6/27 Shauki Elassaad Electrical Engineering and Computer Sciences University of California, Berkeley Slides
More informationMidterms Exam Fall 2011 Solu6ons
Midterms Exam Fall 2011 olu6ons olu6on to Task 1 m 0 1 sel0 a0_in a0 0 1 sel 2.5 points Datapath main iterate loop 0 1 sel 10 points 0 1 sel 0 1 sel 0 1 sel y=a0_out a0 en en0 en en a1 7.5 points a2 en
More informationEE 459/500 HDL Based Digital Design with Programmable Logic. Lecture 13 Control and Sequencing: Hardwired and Microprogrammed Control
EE 459/500 HDL Based Digital Desig with Programmable Logic Lecture 13 Cotrol ad Sequecig: Hardwired ad Microprogrammed Cotrol Refereces: Chapter s 4,5 from textbook Chapter 7 of M.M. Mao ad C.R. Kime,
More informationProblem Set # 6 (Assigned 27 February, Due 9 March)
University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science EECS 150 Spring 2007 R. H. Katz Problem Set # 6 (Assigned 27 February, Due 9 March)
More informationComputer Architecture. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff
Computer rchitecture Microcomputer rchitecture ad Iterfacig Colorado School of Mies Professor William Hoff Computer Hardware Orgaizatio Processor Performs all computatios; coordiates data trasfer Iput
More informationChapter 15: Design Examples. CPU Design Example. Prof. Soo-Ik Chae 15-1
CPU Design Example Prof. Soo-Ik Chae 5- Partitioned Sequential Machine Datapaths Datapath Unit External Control Inputs Control Unit Finite State Machine Control signals Datapath Logic Clock Datapath Registers
More informationOutline and Reading. Analysis of Algorithms. Running Time. Experimental Studies. Limitations of Experiments. Theoretical Analysis
Outlie ad Readig Aalysis of Algorithms Iput Algorithm Output Ruig time ( 3.) Pseudo-code ( 3.2) Coutig primitive operatios ( 3.3-3.) Asymptotic otatio ( 3.6) Asymptotic aalysis ( 3.7) Case study Aalysis
More informationCSC 220: Computer Organization Unit 11 Basic Computer Organization and Design
College of Computer ad Iformatio Scieces Departmet of Computer Sciece CSC 220: Computer Orgaizatio Uit 11 Basic Computer Orgaizatio ad Desig 1 For the rest of the semester, we ll focus o computer architecture:
More informationVLSI Design 13. Introduction to Verilog
Last module: Sequential circuit design Design styles This module Synthesis Brief introduction to Verilog Synthesis in the Design Flow Designer Tasks Tools Architect Logic Designer Circuit Designer Define
More informationEECE 353: Digital Systems Design Lecture 10: Datapath Circuits
EECE 353: Digital Systems Design Lecture 10: Datapath Circuits Cristian Grecu grecuc@ece.ubc.ca Course web site: http://courses.ece.ubc.ca/353 Introduction to lecture 10 Large digital systems are more
More informationMICROPROCESSOR B.Tech. th ECE
MICROPROCESSOR B.Tech. th ECE Submitted by: Er. Amita Sharma Dept. of ECE 11/24/2014 2 Microprocessor Architecture The microprocessor can be programmed to perform functions on given data by writing specific
More informationExp#8: Designing a Programmable Sequence Detector
Exp#8: Designing a Programmable Sequence Detector Objectives Learning how to partition a system into data-path and control unit. Integrating Schematics and Verilog code together Overview In this lab you
More informationNote: Closed book no notes or other material allowed, no calculators or other electronic devices.
ECE 574: Modeling and Synthesis of Digital Systems using Verilog and VHDL Fall 2017 Exam Review Note: Closed book no notes or other material allowed, no calculators or other electronic devices. One page
More informationCOMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. Chapter 4. The Processor. Part A Datapath Design
COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Iterface 5 th Editio Chapter The Processor Part A path Desig Itroductio CPU performace factors Istructio cout Determied by ISA ad compiler. CPI ad
More informationWhat are we going to learn? CSC Data Structures Analysis of Algorithms. Overview. Algorithm, and Inputs
What are we goig to lear? CSC316-003 Data Structures Aalysis of Algorithms Computer Sciece North Carolia State Uiversity Need to say that some algorithms are better tha others Criteria for evaluatio Structure
More informationModule Instantiation. Finite State Machines. Two Types of FSMs. Finite State Machines. Given submodule mux32two: Instantiation of mux32two
Give submodule mux32two: 2-to- MUX module mux32two (iput [3:] i,i, iput sel, output [3:] out); Module Istatiatio Fiite Machies esig methodology for sequetial logic -- idetify distict s -- create trasitio
More information3 Designing Digital Systems with Algorithmic State Machine Charts
3 Designing with Algorithmic State Machine Charts An ASM chart is a method of describing the sequential operations of a digital system which has to implement an algorithm. An algorithm is a well defined
More informationAdvanced Digital Design with the Verilog HDL
Copyright 2001, 2003 MD Ciletti 1 Advanced Digital Design with the Verilog HDL M. D. Ciletti Department of Electrical and Computer Engineering University of Colorado Colorado Springs, Colorado ciletti@vlsic.uccs.edu
More informationMULTIPLICATION TECHNIQUES
Learning Objectives EE 357 Unit 2a Multiplication Techniques Perform by hand the different methods for unsigned and signed multiplication Understand the various digital implementations of a multiplier
More informationLecture 1: Introduction and Strassen s Algorithm
5-750: Graduate Algorithms Jauary 7, 08 Lecture : Itroductio ad Strasse s Algorithm Lecturer: Gary Miller Scribe: Robert Parker Itroductio Machie models I this class, we will primarily use the Radom Access
More informationECE 313 Computer Organization EXAM 2 November 11, 2000
This exam is open book and open notes. You have 50 minutes. Credit for problems requiring calculation will be given only if you show your work. 1. ALU Design / Logic Operations 20 Points The subset of
More informationUniversity of California, Berkeley College of Engineering Department of Electrical Engineering and Computer Science
University of California, Berkeley College of Engineering Department of Electrical Engineering and Computer Science Spring 2000 Prof. Bob Brodersen Midterm 1 March 15, 2000 CS152: Computer Architecture
More informationAppendix D. Controller Implementation
COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Iterface 5 th Editio Appedix D Cotroller Implemetatio Cotroller Implemetatios Combiatioal logic (sigle-cycle); Fiite state machie (multi-cycle, pipelied);
More informationElementary Educational Computer
Chapter 5 Elemetary Educatioal Computer. Geeral structure of the Elemetary Educatioal Computer (EEC) The EEC coforms to the 5 uits structure defied by vo Neuma's model (.) All uits are preseted i a simplified
More information14. Introducton to Verilog
14. Introducton to Verilog 1 14. Introducton to Verilog Jacob Abraham Department of Electrical and Computer Engineering The University of Texas at Austin VLSI Design Fall 2017 October 23, 2017 ECE Department,
More informationLaboratory Exercise 6
Laboratory Exercie 6 Adder, Subtractor, and Multiplier a a The purpoe of thi exercie i to examine arithmetic circuit that add, ubtract, and multiply number. Each b c circuit will be decribed in Verilog
More informationDescription of Single Cycle Computer (SCC)
Descriptio of Sigle Cycle Computer (SCC) Refereces: Chapter 9 of M. Morris Mao ad Charles Kime, Logic ad Computer Desig Fudametals, Pearso Pretice Hall, 4 th Editio, 28. Overview Part Datapaths Itroductio
More informationExamples and Applications of Binary Search
Toy Gog ITEE Uiersity of Queeslad I the secod lecture last week we studied the biary search algorithm that soles the problem of determiig if a particular alue appears i a sorted list of iteger or ot. We
More informationProgrammable Logic Devices Verilog VII CMPE 415
Synthesis of Combinational Logic In theory, synthesis tools automatically create an optimal gate-level realization of a design from a high level HDL description. In reality, the results depend on the skill
More information14. Introducton to Verilog
14. Introducton to Verilog Jacob Abraham Department of Electrical and Computer Engineering The University of Texas at Austin VLSI Design Fall 2017 October 23, 2017 ECE Department, University of Texas at
More informationRunning Time. Analysis of Algorithms. Experimental Studies. Limitations of Experiments
Ruig Time Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Most algorithms trasform iput objects ito output objects. The
More informationUsing Library Modules in Verilog Designs
Using Library Modules in Verilog Designs This tutorial explains how Altera s library modules can be included in Verilog-based designs, which are implemented by using the Quartus R II software. Contents:
More informationDigital Design Laboratory Lecture 2
ECE 280 / CSE 280 Digital Design Laboratory Lecture 2 Adder Design Basic building block is a full adder Chained together as a ripple carry adder Carry lookahead adder is an other option Propagate and generate
More informationRunning Time ( 3.1) Analysis of Algorithms. Experimental Studies. Limitations of Experiments
Ruig Time ( 3.1) Aalysis of Algorithms Iput Algorithm Output A algorithm is a step- by- step procedure for solvig a problem i a fiite amout of time. Most algorithms trasform iput objects ito output objects.
More informationAnalysis of Algorithms
Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Ruig Time Most algorithms trasform iput objects ito output objects. The
More informationFall 2010 EE457 Instructor: Gandhi Puvvada Date: 10/1/2010, Friday in SGM123 Name:
Fall 2010 EE457 Intructor: Gandhi Puvvada Quiz (~ 10%) Date: 10/1/2010, Friday in SGM123 Name: Calculator and Cadence Verilog guide are allowed; Cloed-book, Cloed-note, Time: 12:00-2:15PM Total point:
More informationThe operations executed on data stored in registers(shift, clear, load, count)
4-4- Register Transfer Language Microoperation The operations executed on data stored in registers(shift, clear, load, count) Internal H/W Organization(best defined by specifying). The set of registers(register
More informationDESiGN OF A FOUR BiT MICROPROCESSOR A.L.U. USING PMOS 10-urn METAL GATE TECHNOLOGY
DESiGN OF A FOUR BiT MICROPROCESSOR A.L.U. USING PMOS 10-urn METAL GATE TECHNOLOGY John F. Bonaker 5th Year Microelectronic Engineering Student Rochester Institute of Technology ABSTRACT A four-bit ALU
More informationUsing Library Modules in Verilog Designs. 1 Introduction. For Quartus II 13.0
Using Library Modules in Verilog Designs For Quartus II 13.0 1 Introduction This tutorial explains how Altera s library modules can be included in Verilog-based designs, which are implemented by using
More informationWhy Should I Learn This Language? VLSI HDL. Verilog-2
Verilog Why Should I Learn This Language? VLSI HDL Verilog-2 Different Levels of Abstraction Algorithmic the function of the system RTL the data flow the control signals the storage element and clock Gate
More informationAPPLICATION NOTE PACE1750AE BUILT-IN FUNCTIONS
APPLICATION NOTE PACE175AE BUILT-IN UNCTIONS About This Note This applicatio brief is iteded to explai ad demostrate the use of the special fuctios that are built ito the PACE175AE processor. These powerful
More informationParallel Processing SIMD, Vector and GPU s
Parallel Processing SIMD, ector and GPU s EECS4201 Comp. Architecture Fall 2017 York University 1 Introduction ector and array processors Chaining GPU 2 Flynn s taxonomy SISD: Single instruction operating
More informationCMSC Computer Architecture Lecture 5: Pipelining. Prof. Yanjing Li University of Chicago
CMSC 22200 Computer Architecture Lecture 5: Pipeliig Prof. Yajig Li Uiversity of Chicago Admiistrative Stuff Lab1 Due toight Lab2: out later today; due 2 weeks from ow Review sessio this Friday Turig award
More informationProblem Set 3 Solutions
Problem Set 3 Solutions ECE 551: Digital System Design and Synthesis Fall 2001 Final Version 1) For each of the following always behaviors: a) Does the given always behavior need a default statement as
More informationLaboratory Exercise 6
Laboratory Exercie 6 Adder, Subtractor, and Multiplier The purpoe of thi exercie i to examine arithmetic circuit that add, ubtract, and multiply number. Each circuit will be decribed in VHL and implemented
More informationCISC Processor Design
CISC Processor Hardware Flowchart Virendra Singh Indian Institute of Science Bangalore virendra@computer.orgorg Lecture 4 SE-273: Processor Processor - Block Diagram Clock-Phase Reset & Power-On Logic
More informationData Structures and Algorithms. Analysis of Algorithms
Data Structures ad Algorithms Aalysis of Algorithms Outlie Ruig time Pseudo-code Big-oh otatio Big-theta otatio Big-omega otatio Asymptotic algorithm aalysis Aalysis of Algorithms Iput Algorithm Output
More informationDigital Circuit Design and Language. Datapath Design. Chang, Ik Joon Kyunghee University
Digital Circuit Design and Language Datapath Design Chang, Ik Joon Kyunghee University Typical Synchronous Design + Control Section : Finite State Machine + Data Section: Adder, Multiplier, Shift Register
More informationREGISTER TRANSFER LANGUAGE
REGISTER TRANSFER LANGUAGE The operations executed on the data stored in the registers are called micro operations. Classifications of micro operations Register transfer micro operations Arithmetic micro
More informationChapter-5. EE 335 : Advanced Microprocessor. Logic Design with Behavioral Models of Combinational and Sequential Logic
EE 335 : Advanced Microprocessor Chapter-5 Logic Design with Behavioral Models of Combinational and Sequential Logic Ajay Kumar Yadav (Instructor) Electrical & Computer Engineering Temple University Data
More informationECE 574: Modeling and Synthesis of Digital Systems using Verilog and VHDL. Fall 2017 Final Exam (6.00 to 8.30pm) Verilog SOLUTIONS
ECE 574: Modeling and Synthesis of Digital Systems using Verilog and VHDL Fall 2017 Final Exam (6.00 to 8.30pm) Verilog SOLUTIONS Note: Closed book no notes or other material allowed apart from the one
More informationAlgorithm. Counting Sort Analysis of Algorithms
Algorithm Coutig Sort Aalysis of Algorithms Assumptios: records Coutig sort Each record cotais keys ad data All keys are i the rage of 1 to k Space The usorted list is stored i A, the sorted list will
More informationChapter 3 Part 2 Combinational Logic Design
University of Wisconsin - Madison ECE/Comp Sci 352 Digital Systems Fundamentals Kewal K. Saluja and Yu Hen Hu Spring 2002 Chapter 3 Part 2 Combinational Logic Design Originals by: Charles R. Kime and Tom
More informationMidterm Exam ECE 448 Spring 2014 Monday, March 3 (15 points)
ECE8 Midterm Midterm Exam ECE 8 Spring 2 Monday, March 3 (5 points) Instructions: Zip all your delierables into an archie .zip and submit it through lackboard no later than Monday, March 3,
More informationIn this lecture, we will go beyond the basic Verilog syntax and examine how flipflops and other clocked circuits are specified.
1 In this lecture, we will go beyond the basic Verilog syntax and examine how flipflops and other clocked circuits are specified. I will also introduce the idea of a testbench as part of a design specification.
More informationECE2020 Test 3 Summer 2013 GTL
ECE22 Te 3 Summer 213 GTL July 17,213 Name: Calculators not allowed. Show your work for any possible partial credit or in some cases for any credit at all (5 pages plus a diagram page, 1 possible points).
More informationLecture 11: PI/T parallel I/O, part I
Lecture 11: PI/T parallel I/O, part I Geeral descriptio of the parallel I/O fuctio Bufferi Hadshaki Iput ad Output trasfers Timi Diarams Reister model of the 68230 Port Geeral Cotrol Reister (PGCR) Port
More informationFall 2010 EE457 Instructor: Gandhi Puvvada Date: 10/1/2010, Friday in SGM123 Name:
Fall 2010 EE457 Intructor: Gandhi Puvvada Quiz (~ 10%) Date: 10/1/2010, Friday in SGM123 Name: Calculator and Cadence Verilog guide are allowed; Cloed-book, Cloed-note, Time: 12:00-2:15PM Total point:
More informationSpring 2012 EE457 Instructor: Gandhi Puvvada
Spring 2012 EE457 Intructor: Gandhi Puvvada Quiz (~ 10%) Date: 2/17/2012, Friday in SLH200 Calculator and Cadence Verilog Guide are allowed; Time: 10:00AM-12:45PM Cloed-book/Cloed-note Exam Total point:
More informationName: ID# UNIVERSITY OF CALIFORNIA Department of Electrical Engineering and Computer Sciences EECS150 Fall 2001 Prof. Subramanian Midterm III
UNIVERSITY OF CALIFORNIA Department of Electrical Engineering and Computer Sciences EECS150 Fall 2001 Prof. Subramanian Midterm III 1) Recalculate the various propogation delays in a 4-bit carry lookahead
More informationECE 2300 Digital Logic & Computer Organization. More Single Cycle Microprocessor
ECE 23 Digital Logic & Computer Organization Spring 28 More Single Cycle Microprocessor Lecture 6: HW6 due tomorrow Announcements Prelim 2: Tues April 7, 7:3pm, Phillips Hall Coverage: Lectures 8~6 Inform
More informationVerilog for Synthesis Ing. Pullini Antonio
Verilog for Synthesis Ing. Pullini Antonio antonio.pullini@epfl.ch Outline Introduction to Verilog HDL Describing combinational logic Inference of basic combinational blocks Describing sequential circuits
More informationREGISTER TRANSFER AND MICROOPERATIONS
1 REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register Transfer Bus and Memory Transfers Arithmetic Microoperations Logic Microoperations Shift Microoperations Arithmetic Logic Shift
More informationCOMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. Chapter 4. The Processor. Single-Cycle Disadvantages & Advantages
COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Iterface 5 th Editio Chapter 4 The Processor Pipeliig Sigle-Cycle Disadvatages & Advatages Clk Uses the clock cycle iefficietly the clock cycle must
More informationChapter 3 Part 2 Combinational Logic Design
University of Wisconsin - Madison EE/omp ci 352 Digital ystems Fundamentals Kewal K. aluja and u Hen Hu pring 2002 hapter 3 Part 2 ombinational Logic Design Originals by: harles R. Kime and Tom Kamisnski
More informationChapter 3: Dataflow Modeling
Chapter 3: Dataflow Modeling Prof. Soo-Ik Chae Digital System Designs and Practices Using Verilog HDL and FPGAs @ 2008, John Wiley 3-1 Objectives After completing this chapter, you will be able to: Describe
More informationAdvanced Verilog Coding
Advanced Verilog Coding 1 Part 1 Behavioral Modeling Structured Procedures 2 structured procedure always basic statements in behavioral modeling Verilog is a concurrent programming language Activity flows
More informationIntroduction to Digital Design with Verilog HDL
Introduction to Digital Design with Verilog HDL Modeling Styles 1 Levels of Abstraction n Behavioral The highest level of abstraction provided by Verilog HDL. A module is implemented in terms of the desired
More informationTable of Contents. Verilog. Verilog
PLS Table of Contents 1. Introduction 1 2. How to declare a circuit in 2 2.1. General declaration 2 2.1.1. Module declaration 2 2.1.2. Accepted types 2 2.2. Hierarchical description 2 3.Data flow descriptions
More informationLaboratory Exercise 6
Laboratory Exercie 6 Adder, Subtractor, and Multiplier The purpoe of thi exercie i to examine arithmetic circuit that add, ubtract, and multiply number. Each type of circuit will be implemented in two
More informationVerilog Dataflow Modeling
Verilog Dataflow Modeling Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Spring, 2017 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Source:
More informationL6: FSMs and Synchronization
L6: FSMs ad Sychroizatio Ackowledgemets: Materials i this lecture are courtesy of the followig sources ad are used with permissio. Rex Mi J. Rabaey, A. Chadrakasa, B. Nikolic. igital Itegrated Circuits:
More informationUsing ModelSim to Simulate Logic Circuits for Altera FPGA Devices
Using ModelSim to Simulate Logic Circuits for Altera FPGA Devices This tutorial is a basic introduction to ModelSim, a Mentor Graphics simulation tool for logic circuits. We show how to perform functional
More informationHanbat National University Prof. Lee Jaeheung
Sun, HH yy ee -Se ung Hanbat National University Prof. Lee Jaeheung 5.1.1 always, a l w a y s, i n i t i a l, t a s k, f u n c t i o n always always [@(sensitivity_list)] begin blocking_or_nonblocking
More informationArithmetic Circuits. Nurul Hazlina Adder 2. Multiplier 3. Arithmetic Logic Unit (ALU) 4. HDL for Arithmetic Circuit
Nurul Hazlina 1 1. Adder 2. Multiplier 3. Arithmetic Logic Unit (ALU) 4. HDL for Arithmetic Circuit Nurul Hazlina 2 Introduction 1. Digital circuits are frequently used for arithmetic operations 2. Fundamental
More informationIntroduction to Verilog and ModelSim. (Part 5 Sequential Logic)
Introduction to Verilog and ModelSim (Part 5 Sequential Logic) Sequential Logic It implements storage capabilities of the system Data latch structure Requires clock/gate/latch signal input Latch (level
More informationCMSC Computer Architecture Lecture 3: ISA and Introduction to Microarchitecture. Prof. Yanjing Li University of Chicago
CMSC 22200 Computer Architecture Lecture 3: ISA ad Itroductio to Microarchitecture Prof. Yajig Li Uiversity of Chicago Lecture Outlie ISA uarch (hardware implemetatio of a ISA) Logic desig basics Sigle-cycle
More informationOutline. EEL-4713 Computer Architecture Multipliers and shifters. Deriving requirements of ALU. MIPS arithmetic instructions
Outline EEL-4713 Computer Architecture Multipliers and shifters Multiplication and shift registers Chapter 3, section 3.4 Next lecture Division, floating-point 3.5 3.6 EEL-4713 Ann Gordon-Ross.1 EEL-4713
More informationTwo hours - online EXAM PAPER MUST NOT BE REMOVED FROM THE EXAM ROOM UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE
COMP 12111 Two hours - online This paper version is made available as a backup In this event, only MCQ answers written in the boxes on the exam paper will be marked. EXAM PAPER MUST NOT BE REMOVED FROM
More informationENGR 100 Midterm (CSE Part) Winter 2014
ENGR 100 Midterm (CSE Part) Winter 2014 There are two parts in this midterm. This part focuses on the CSE aspects of the course. You will have 80 minutes to work on the exam. We recommend you spend about
More information361 div.1. Computer Architecture EECS 361 Lecture 7: ALU Design : Division
361 div.1 Computer Architecture EECS 361 Lecture 7: ALU Design : Division Outline of Today s Lecture Introduction to Today s Lecture Divide Questions and Administrative Matters Introduction to Single cycle
More informationGeneral Purpose Processors
Calcolatori Elettronici e Sistemi Operativi Specifications Device that executes a program General Purpose Processors Program list of instructions Instructions are stored in an external memory Stored program
More informationGood Evening! Welcome!
University of Florida EEL 3701 Fall 2011 Dr Eric M Schwartz Page 1/11 Exam 2 Instructions: Turn off all cell phones, beepers and other noise making devices Show all work on the front of the test papers
More informationUnder-Graduate Project Logic Design with Behavioral Models
97-1 1 Under-Graduate Project Logic Design with Behavioral Models Speaker: 吳佳謙 Adviser: Prof. An-Yeu Wu Date: 2008/10/20 ACCESS IC LAB Operation Assignment Outline Blocking and non-blocking Appendix pp.
More informationCombinational Circuit Design
Modeling Combinational Circuits with Verilog Prof. Chien-Nan Liu TEL: 3-42275 ext:34534 Email: jimmy@ee.ncu.edu.tw 3- Combinational Circuit Design Outputs are functions of inputs inputs Combinational Circuit
More information