Section III: Complex system design

Size: px
Start display at page:

Download "Section III: Complex system design"

Transcription

1 Section III: omplex system design EG 36/56; EE 45/65 igital System esign r. Travis oom, ssociate Professor epartment of omputer Science and Engineering Wright State University ealing with omplexity ata unit (atapath) design Registers RTL language atapath onstruction ontrol unit (ontroller) design SM harts Implementation issues PLs ROM VLSI esign Outline EG 36/56 - EE 45/65 Section III - 2 ealing with omplexity Practical synchronous sequential circuits are too complex to design at the flip-flop level. simple -bit PU capable of storing only four values (in four GPRs) has at least 4 x = 32 -bit state devices! If the PU had only inputs it would still require a 2 32 by 2 truth table to represent the device. Each of these billion or so entries would have to contain a 32-bit next state. Storing bit entries would require 4 T! K (kilo) 2 24 M (mega) G (giga) x 9 T (tera) 2 4. x 2 Simplification would require a 4-variable K-map! How do we manage complex design? EG 36/56 - EE 45/65 Section III - 3

2 EG 36/56 - EE 45/65 Section III - 4 omplex System esign Practical sequential designs, like combinational designs, require a hierarchical approach Use well defined building blocks omplex blocks made of simpler blocks (hierarchy) Examples: Registers, counters ssociate a high-level of behavior with those blocks (abstraction) esign methodologies based on abstractions can more easily encompass complexity ommon function blocks: registers and counters ORER a sequence of high-level behaviors that (when executed in the proper order) solves the overall problem Like computer programming! ecomposing a esign: ontrol and ata ontrol Signals ontrol Inputs ontrol Unit Status Signals atapath ata Outputs ontrol Outputs ata Inputs omplex designs are generally broken down into to high-level abstractions. The datapath is home to one or more datapath components that provide higher-level functionality (viewable at the register transfer level) The control unit controls the sequence in which the datapath functions are performed in order to perform the system task EG 36/56 - EE 45/65 Section III - 5 ealing with omplexity ata unit (atapath) design Registers RTL language atapath onstruction ontrol unit (ontroller) design SM harts Implementation issues PLs ROM VLSI esign Outline EG 36/56 - EE 45/65 Section III - 6

3 EG 36/56 - EE 45/65 Section III - 7 atapath components Gates and flip-flops are good building blocks for simple designs We need more sophisticated building blocks for complex systems Register-transfer level (RTL) components (aka atapath components) include medium scale devices such as: Registers ounters LUs Multiplexers omparators etc 2 MSI uad/hex Registers 74LS75 / 2 / LS /3 74LS74 4 / ll four flip-flops use the same clock! 4 / EG 36/56 - EE 45/65 Section III - Octal Register with Parallel Load Enable Load /Load b-mux Why don t we gate the clock? EG 36/56 - EE 45/65 Section III - 9

4 EG 36/56 - EE 45/65 Section III - Shift Registers Multi-bit register that moves data sideways left/right ( bit/clock ) Shift Left (or Shift own) is towards MS 3 2 LSI 3 2 LSI Shift Right (or Shift Up) is towards LS 3 2 RSI 3 2 RSI Often used to rearrange bits or Multiply/ivide by 2 Modes: Hold Load Shift Right Shift Left i-directional Universal Shift Registers 74x94 9 S S 7 LIN RIN uad i-directional Universal (4-bit) PIPO Mode Next state Function S S * * * * Hold Shift right/up RIN Shift left/down LIN Load R L (SI) (LS) (MS) lock symbol > SRG n S S LSI n n (SO) RSI EG 36/56 - EE 45/65 Section III - / () () Universal SR Schematic S S 74x94 RIGHT LEFT LIN (7) SL HO (6) L SR (2) S () S RIN (9) (3) (2) (5) EG 36/56 - EE 45/65 Section III - 2

5 EG 36/56 - EE 45/65 Section III - 3 /OE Octal Tri-state Register/Latch 74LS374 OE 74LS OE 74LS Shift Register pplications State Registers Shift registers are often used as the state register in a sequential device. Usually, the next state is determined by shifting right and inserting a primary input or output into the next position Very effective for finite memory machines Serial Interconnection of Systems keep interconnection cost low with serial interconnect it Serial Operations it serial operations can be performed quickly through device iteration Iteration (a purely combinational approach) is expensive (in terms of # of transistors, chip area, power, etc). sequential approach allows the reuse of combinational functional units throughout the multi-cycle operation EG 36/56 - EE 45/65 Section III - 4 Transmitter Shift Register pplications LOK Receiver ontrol ircuits /SYN ontrol ircuits Parallel ata from -to- converter Parallelto-serial converter ST Serial-toparallel converter Parallel ata to -to- converter IGITL TELEPHONY LOK - bit per clock tick = 2.4 MHz /SYN - synchronization of start of frame ST - serial data stream EG 36/56 - EE 45/65 Section III - 5

6 EG 36/56 - EE 45/65 Section III - 6 Shift Register pplications x7 x6 x5 x TL > Sequential Implementation of: Z[7..] = X[7..] + Y[7..] y7 y6 y5 y > LER_ V in F out S > z7 z6 z5... z ounters ounters are registers with extra functions locked sequential circuit with single-cycle state diagram Modulo-m counter = divide-by-m counter Sm S S3 S2 Most ommon: n-bit binary counter, where m = 2 n n flip-flops, counts 2 n - EG 36/56 - EE 45/65 Section III - 7 ounting ommon output codes for mod- and decimal counters State inary Gray Excess-3 Ring Twisted-tail EG 36/56 - EE 45/65 Section III -

7 EG 36/56 - EE 45/65 Section III - 9 synchronous/ripple ounter T bit divide-by-2 T T 2 2 bit divide-by-4 3 bit divide-by- Uses Minimal Logic! Tpd = n x Tpd,tff Setup = Tsetup,tff T 3 4 bit divide-by-6 Synchronous ounters ll clock inputs connected to common signal So all flip-flop outputs change simultaneously t after Synchronous ounters are/have Faster More omplex Logic (more expensive ) Most Frequently Used Type of ounter Two types of synchronous counters Serial Parallel Easy to combine iteratively to build bigger counters ombined counters have serial aspects. If the devices are parallel, then the overall device is mixed mode. EG 36/56 - EE 45/65 Section III - 2 Synchronous Serial ounter Flip-flops enabled when all lower flipflops =. Enable propagates serially limits speed Requires (n-) Δ t < T ll outputs change simultaneously t after NTEN Δ t Δ t EN >T EN >T EN >T 2 Tpd = Tpd,tff Tsetup = (n-)δt + Tsetup,tff Δ t EN 3 Equation? elay? >T EG 36/56 - EE 45/65 Section III - 2

8 EG 36/56 - EE 45/65 Section III - 22 Synchronous Parallel ounter NTEN EN >T Single-level enable logic per flip-flop Fastest and most complex type of counter Requires Δ t < T ll outputs change simultaneously t after Tpd = Tpd,tff Tsetup = Tpd,bigestN + Tsetup,Tff Equation? elay? EN >T EN >T 2 EN 3 >T bit 4 Synchronous Parallel ounter ommon lock Synchronous lear Synchronous Load ount Enable = ENP ENT Load ata Inputs (746 is the same, but with an asynchronous clear) 74X63 > L ENP ENT RO LS MS RO = Ripple arry Out, when ount = and ENT = EG 36/56 - EE 45/65 Section III State Table Inputs urrent State Next State / /L ENT ENP * * * * X X X X X X lear Load Hold Hold ount... X X X X X X X X X X X X X X X X EG 36/56 - EE 45/65 Section III - 24

9 EG 36/56 - EE 45/65 Section III Up/own ounter 74X69 UP/N = = up RO = 5 UP/N = = down RO = > UP/N L ENP ENT RO up down up Ex:,,2,,,5,4, 5,,,2 RO RO pplication - Free Running Modulo-6 ounter LOK +5 V R 74X63 > L ENP ENT RO 2 3 EG 36/56 - EE 45/65 Section III - 26 Modulo- ounter [5,6,,, 5, 5, 6,...] +5 V LOK > L ENP ENT 74X63 RO When ount=5 Load 5 () ny Modulus 2 6 possible 2 3 NT5 RO /NT5 EG 36/56 - EE 45/65 Section III - 27

10 EG 36/56 - EE 45/65 Section III - 2 Modulo- ounter [,,2,,,,,,...] +5 V LOK 74X63 > L ENP ENT RO When ount= lear ecode ount xx ( 5) ascaded 7463s for -bit ounter Up to Modulo-256 LOK /RESET /LO NTEN X63 > L ENP ENT > L ENP ENT RO 74X63 RO RO EG 36/56 - EE 45/65 Section III bit, -state Johnson ounter +5 V lso known as twisted-ringcounter Moebius counter 2n states with n flip-flops NOT self-correcting LOK /RESET R S S LIN 74X94 Wired as a shift-left shift register 2 3 RIN 74X4 EG 36/56 - EE 45/65 Section III - 3

11 EG 36/56 - EE 45/65 Section III - 3 esign ecomposition digital system is a sequential circuit with specified behavior. microprocessor is a digital system. Specifying large digital systems with state tables may be exceptionally difficult, due to the number of states involved. s in computer programming, most digital systems are designed using a modular, hierarchical approach. The system is partitioned into modular subsystems. Each subsystem performs a well defined function with specified interface. Interconnection the various subsystems though data and control signals results in a digital system. esign ecomposition Most digital systems are partitioned into two top-level modules: ata Unit (or atapath): performs data-processing operations. ontrol Unit: determines the sequence of these operations. atapaths are sequential systems. the system state is defined by the contents of the registers. the functionality is the set of defined operations that can be performed on the contents of the registers. Elementary operations are usually, but not always, performed in parallel on a string of bits in one clock tick. microoperation is an elementary operation performed on data stored in the datapath. They fall into four general categories: Transfer microoperations: transfer binary data from one register (or data input/memory) to another. rithmetic microoperations: perform arithmetic on data in registers. Logic microoperations: perform bit manipulations on data in registers. Shift microoperations: shift data in registers. EG 36/56 - EE 45/65 Section III - 32 Register-Transfer Level esign n approach to specify, analyze, and design systems too complex to use the state-table based approaches commonly utilized in simple designs. The Register-Transfer Level (RTL) approach is characterized by: digital system is viewed as divided into a data subsystem and a control subsystem. The state of the data subsystem consists of the contents of the registers. The function of the system is performed as a sequence of register transfers. register transfer is a transformation performed on the datum while the datum is transferred from one register to another. The sequence of register transfers is controlled by the control subsystem. The operation of the device can be designed as a sequence of register transfers can be designed using state diagrams, SM charts, etc. Each transfer must correspond to a sequence of microoperations. The control unit implements the RTL design through microoperations. EG 36/56 - EE 45/65 Section III - 33

12 EG 36/56 - EE 45/65 Section III - 34 RTL Languages () The notation for register transfers are sufficiently complete to describe any digital system at the register-transfer level. known as register-transfer languages. Registers are denoted by uppercase letters (sometimes followed by numbers) that indicate the function of the register e.g. R, R, R, P, MR, et al. The individual bits can be denoted using parenthesis and bit numbers or labels e.g. R(), R(7:), P(L), P(H) ata transfer is denoted in symbolic form by the means of the replacement operator. e.g. R2 R RTL Languages (2) Normally we want a given transfer to occur not for every clock pulse, but only for specific values of the control signals. RTL conditional statements: e.g. If (K = ) Then (R2 R) ontrol function notation (olon, :) e.g. K: R2 R ll RTL statements occur in response to a clock tick. comma is used to separate two or more register transfers that are executed at the same time. semi-colon is used for an instruction with different control e.g. rake: R2 R, R4 R3; not(rake): R R2 EG 36/56 - EE 45/65 Section III - 35 RTL Languages (3) Register to Memory Transfers are denoted using square brackets surrounding the memory address. e.g. R M[R] (Read operation) e.g. M[R] SR (Write operation) EG 36/56 - EE 45/65 Section III - 36

13 EG 36/56 - EE 45/65 Section III - 37 RTL Languages (4) Examples of rithmetic Microoperations Examples of Logic Microoperations esigning a datapath esign a device with two -bit inputs and, one -bit input STRT, one -bit output, and one -bit output ONE. The device begins idle (with output ONE = ). When STRT is asserted (for one clock tick) the unsigned binary inputs and are and held constant until the device asserts ONE. The device must calculate the approximate length of the hypotenuse of a right triangle with sides and. When the final answer is available on output, the device will assert ONE for one clock tick. If the answer cannot be computed, assert ERR. > STRT ONE ERR = sqrt ( ) EG 36/56 - EE 45/65 Section III - 3 esigning a datapath Euler formula for Square Root pproximation: Let x = max ( a, b ) Let y = min ( a, b ) Sqrt (a^2 + b^2) ~= max (x,(.75x+.5y)) What sort of functions do you need to process the data? EG 36/56 - EE 45/65 Section III - 39

14 EG 36/56 - EE 45/65 Section III - 4 esigning a datapath SR ircuit Model Let x = max (a, b) and y = min (a, b) Sqrt (a^2 + b^2) ~= max (x,(.75x+.5y)) ontrol unit Rx max (, ) Ry min (, ) Ry Ry >> # shift right ; *.5 Rt Rx >> 3 # shift right 3 (/ th ) Rt Rx Rt # x /x = x*.75 Rt Ry + Rt Rc max (Rx, Rt) Rc atapath Registers: c, x, y, t Functions: min, max, +, -, shift esigning a datapath ontrol unit Rx max (, ) Ry min (, ) Ry Ry >> Rt Rx >> 3 Rt Rx Rt Rt Ry + Rt Rc max (Rx, Rt) Rc RcIN RxIN RyIN RtIN RcL RG RxL RG RyL RG RtL RG > > > > Rc Rx Ry Rt MX Rx MUX Min MX2 Rt MUX Max MX Ry Rx MUX LU+- Overflow LU Rt SR,3 MXS Ry Rx MUX b-shifter MXF MUX RcIN, RxIN, RyIN, RtIN EG 36/56 - EE 45/65 Section III - 4 esigning a datapath ontrol unit Rx max (, ) Ry min (, ) Ry Ry >> Rt Rx >> 3 Rt Rx Rt Rt Ry + Rt Rc max (Rx, Rt) Rc ata Inputs ontrol Signals atapath LRx, LRy, LRt, LRc MX, MX2 MX, LU+- MXS, SR,3 Overflow ata Outputs Status Signals 2 MXF EG 36/56 - EE 45/65 Section III - 42

15 EG 36/56 - EE 45/65 Section III - 43 Outline ealing with omplexity ata unit (atapath) design Registers RTL language atapath onstruction ontrol unit (ontroller) design SM harts Implementation issues PLs ROM VLSI esign Interaction between ata and ontrol Units ontrol Signals ontrol Inputs ontrol Unit Status Signals atapath ata Outputs ontrol Outputs ata Inputs ontrol Signals - signals that activate data-processing functions. To activate a sequence of such operations, the control unit sends the proper sequence of control signals to the datapath. Status Signals - signals that describe aspects of the state of the datapath. The control unit uses these signals in determining the specific sequence of operations to be performed. Other Signals - allow the control unit and datapath to interact with other parts of the system, such as memory and input-output logic. EG 36/56 - EE 45/65 Section III - 44 The ontrol Unit The control unit generates the signals for sequencing the operations in the datapath sequential circuit with states that dictate the control signals for the system Using status conditions and control inputs, the sequential control unit determines the next state in which additional microoperations are activated. Hardwired ontrol The control unit is implemented to provide a particular digital function Microprogrammed ontrol LTER! EG 36/56 - EE 45/65 Section III - 45

16 EG 36/56 - EE 45/65 Section III - 46 ontrol Unit esign ontrol unit Next State StartOverflow = PS RTL ILE ILE ILE S S S S2 S2 S2 S2 Rx max (, ) S2 S3 S3 S3 S3 Ry min (, ) S3 S4 S4 S4 S4 Ry Ry >> S4 S5 S5 S5 S5 Rt Rx >> 3 S5 S6 S6 S6 S6 Rt Rx Rt S6 S7 ERR S7 ERR Rt Ry + Rt S7 S S S s Rc max (Rx, Rt) Start S ILE ILE ILE ILE Rc; one ERR ILE ILE ILE ILE ERR Overflow Lx one SM for ontrol ontrol unit Rx max (, ) Ry min (, ) Ry Ry >> Rt Rx >> 3 Rt Rx Rt Rt Ry + Rt Rc max (Rx, Rt) Rc; ONE Rx max (,) Ry max (,) Ry Ry >> Rt Rx >> 3... LRx, MX=, M2=, MXF= LRy, MX= M2=, MXF= LRy, MXS=, SR,3 = LRt, MXS=, SR,3 =... EG 36/56 - EE 45/65 Section III - 47 lgorithmic State Machines lgorithmic State Machine (SM) hart Special flowchart used to define digital hardware algorithms escribes a sequence of events etermines the actions which occur in the states in response to the clock pulse in response to changes in the inputs SM harts contain three basic elements: State boxes Rectangles, labeled with the state name and assignment, containing a register operation and/or the names of Moore outputs asserted in that state. ecision boxes iamonds containing a conditional input expression and exits and. onditional output boxes Ovals containing Mealy outputs asserted for the conditions leading to the box. EG 36/56 - EE 45/65 Section III - 4

17 EG 36/56 - EE 45/65 Section III - 49 SM elements State box state entry path state name state code Moore output list conditional output list state exit path onditional (Mealy) output box from decision-box exit path condition false exit path ecision box condition OR condition true exit path condition exit path SM Timing Each state box has a corresponding SM lock that includes all decision and conditional output boxes reached from that state Each SM lock has exactly one state box, all paths leaving the SM lock lead directly to a different state box. The current state box represents the current state. The current inputs decide a path through the decision boxes. Unlike state diagrams, ambiguity is easily avoided in SM charts. onditional outputs along the path occur immediately in response to changes in the inputs values. The next state box is not entered until a clock tick occurs. The Moore outputs in the state box and any conditional (Mealy) outputs in the new SM lock are asserted immediately. SM boxes may also include Register Transfer directives! ny changes (conditional or otherwise) to a sequential device wait until the next positive clock edge. EG 36/56 - EE 45/65 Section III - 5 SM Example: 4-bit binary counter STTE = STTE = Z= Z -or- Z= Z Z=2 Z,Z Z=3 EG 36/56 - EE 45/65 Section III - 5

18 EG 36/56 - EE 45/65 Section III - 52 SM Example: 4-bit counter with enable STTE = Z= Z=2 EN Z= EN Z=3 EN EN SM Example: Modulo-4 counter (Mealy) STTE = (one hot) EN EN MX Mealy output EG 36/56 - EE 45/65 Section III - 53 SM Example: s s ounter ount # of s on X & Y inputs output Z if count = multiple of 4 (, 4,... ) If ( X Y ) 2 s ( Inc by 2 ) Else if ( X+Y ) s ( Inc by ) Else s ( No Inc ) EG 36/56 - EE 45/65 Section III - 54

19 EG 36/56 - EE 45/65 Section III - 55 STTE = 2 SM chart for s s ounter S S S2 S3 Z X Y X Y X Y X Y X +Y X +Y X +Y X +Y onvert SM chart to Transition List Needs an extra step to find transition expressions Trace all possible paths, from any state to all destination states Transition expression to any given next state (= one line of the transition list) is product (N) of all conditions along path: ( condition) if branch taken (condition) if branch taken EG 36/56 - EE 45/65 Section III - 56 Example: s s ounter (XY) (X+Y) S Z X Y X +Y (XY) (XY) (X+Y) PS INPUT NS (XY) (XY) (X+Y) (XY) (X+Y) EG 36/56 - EE 45/65 Section III - 57

20 EG 36/56 - EE 45/65 Section III - 5 Example: s s ounter INPUT ** (XY) (XY) (X+Y) (XY) (X+Y) (XY) (XY) (X+Y) (XY) (X+Y) (XY) (XY) (X+Y) (XY) (X+Y) (XY) (XY) (X+Y) (XY) (X+Y) * = (XY) + (XY) + (XY) (X+Y) + (XY) (X+Y) + (XY) (X+Y) + (XY) (X+Y) 2* = (XY) (X+Y) + (XY) + (XY) (X+Y) + (XY) (X+Y) + (XY) + (XY) (X+Y) + ealing with omplexity ata unit (atapath) design Registers RTL language atapath onstruction ontrol unit (ontroller) design SM harts Implementation issues PLs ROM VLSI esign Outline EG 36/56 - EE 45/65 Section III - 59 Programmable Logic efinitions igital integrated circuit (MSI, LSI, VLSI) manufactured as a standard off-the-shelf component containing regular array of logic gates and flip-flops whose logic functions are determined by the application design engineer and implemented locally Many types of programmable logic sometimes generically called PLs (Programmable Logic evices) PL or PL PROM FPG ombinational output input PL EG 36/56 - EE 45/65 Section III - 6

21 EG 36/56 - EE 45/65 Section III - 6 Programmable Logic efinitions PL Programmable Logic rray first PLs simple programmable N/OR array programmed by blowing fuses by hand or by mask Programmable Logic PL Programmable rray Logic similar to a PL, but the ORarray is fixed most commonly used PL may include input/output flipflops GL Generic rray Logic can be configured to emulate the N/OR, flip-flop, and output structure of a variety of combinational and sequential PL devices EG 36/56 - EE 45/65 Section III - 62 Read-Only Memory (ROM) combinational circuit with n inputs and b outputs: ddress inputs (n-,..., ) n 2 n x b b ata ROM outputs (b-,..., ) Programmable values determined by user Nonvolatile contents retained without power Uniform (Random) ccess delay is uniform for all addresses EG 36/56 - EE 45/65 Section III - 63

22 EG 36/56 - EE 45/65 Section III - 64 Read-Only Memory (ROM) Two views: ROM stores 2 n words of b bits each, or ROM stores an n-input, b-output truth table n= 2 b= 4 Example: 3 2 Stores 4 4-bit words, or stores 4 functions of 2 input variables Using ROMs for ombinational Logic 3-input, 4-output combinational logic function: Inputs Outputs I I POL 4 ROM Y Y Y2 Y3 Function: 2-to-4 ecoder with Polarity ontrol 2 = Polarity ( = active Low, = active High), = I, I (2-bit input ) 3... = Y3...Y (4-bit decoded output) EG 36/56 - EE 45/65 Section III - 65 Internal Structure of 4 44 iode ROM +5 V R3 R2 R R 2 to 4 ecoder /w /w /w2 of n Word Lines /w3 iode No iode it Lines 2 3 Why use diodes? Why not replace them with wires? EG 36/56 - EE 45/65 Section III - 66

23 EG 36/56 - EE 45/65 Section III - 67 Types Of ROMs () Mask ROM onnections made by the semiconductor vendor Expensive setup cost Several weeks for delivery High volume only ipolar or MOS technology Word Line it Line PROM Programmable ROM onnections made by equipment manufacturer Vaporize (blow) fusible links with PROM programmer using high voltage/current pulses ipolar technology One-time programmable Internal Structure of Transistor ROM Replace diodes with MOS transistors hange decoder to active-high outputs +5 V w3 R3 R2 R R Transistor No transistor /3 /2 / / EG 36/56 - EE 45/65 Section III - 6 EPROM and EEPROM Structure V Floating gate Nonfloating gate ctive-high word lines ctive-low bit lines EG 36/56 - EE 45/65 Section III - 69

24 EG 36/56 - EE 45/65 Section III - 7 Types of ROMs (2) EPROM Erasable Programmable ROM harge trapped on extra floating gate of MOS transistors Exposure to UV light removes charge -2 minutes uartz Lid = expensive package Limited number of erasures (-) it Line Word Line EEPROM (E 2 ROM) Electrically Erasable ROM Floating gates charged/discharged electrically Not RM! (relatively slow charge/discharge) limited number of charge/discharge cycles (,) Types of ROMs (3) Flash Memory Electronically erasable in blocks, erase cycles Simpler and denser than EEPROM Often used for firmware EG 36/56 - EE 45/65 Section III - 7 ROM Type Summary Type Technology Read ycle Write ycle omments Mask ROM NMOS, MOS Mask ROM ipolar PROM ipolar EPROM NMOS, MOS EEPROM NMOS FLSH MOS 2-2 ns < ns < ns 25-2 ns 5-2 ns 25-2 ns 4 weeks Write once; low power 4 weeks Write once; high power; low density Write once; high power; no mask 5 minutes charge 5 minutes Reusable; low power; no mask charge μs/byte, writes/location limit μs/block, erase cycles EG 36/56 - EE 45/65 Section III - 72

25 EG 36/56 - EE 45/65 Section III - 73 This ecoder needs 64 6-input gates! onsider a 64 x ROM +5 V /w 5 6-to-64 ecoder /w /w63 64 x iode rray Very tall, narrow chip () Even worse for larger chips! How can we make it more square? 64 x ROM with 2-imensional 2 ecoding +5 V to ecoder /w /w /w7 x iode rray 2 7 to mux ecoder and mux = 3-input gates + 4-input gates lmost square chip! EG 36/56 - EE 45/65 Section III K x ROM with 2-2 ecoding 9 9 to 52 ecoder rray 7 2 to Mux 2 to Mux 2 to Mux 7 Is this a square chip? 2- ecoding / oincident selection 64k x = 2 6 * 2 3 = 2 9 square root (2 9 ) ~= 2 9 EG 36/56 - EE 45/65 Section III - 75

26 EG 36/56 - EE 45/65 Section III - 76 Internal 2 n x b ROM ontrol Structure m- Row decoder Power on Power on Storage array m m+ n- /S /OE Power on olumn multiplexer b- b-2 Programmable Logic dvantages esign flexibility etter design automation Higher density, fewer packages (compared to SSI-MSI) Less expensive Lower power Higher performance Programming Technologies Interconnections usually made by pass transistors controlled by memory bits of some type: ntifuse - permanent connections made electrically EPROM - charged floating gate, UV erasable EEPROM - charged floating gate, electrically erasable Flash Memory - charged floating gate, electrically erasable Programmed using - Hardware escription Languages EG 36/56 - EE 45/65 Section III - 77 Modern (VLSI) esign The VLSI chips that are used in most modern designs come in three varieties: ustom pproach: VLSI chips, or some of their parts, are designed by hand. Full ustom Vs. Standard ell - Using standard cell designs (same height, variable width) and routing channels simplifies the design process Highest ensity, Highest Manufacturing ost Semicustom pproach: The VLSI chips employ gate arrays and technology mapping. Gate array: a partially prefabricated I that incorporates a large number of identical gates (usually 3-input NN or NOR gates) that are laid out in a regular two-dimensional array. Technology mapping: The process of designing a logic function as a network of available devices. Lower ensity (-25% more gates than an equivalent custom design). Inexpensive: Requires only metal deposition (define interconnections), economy of scale. EG 36/56 - EE 45/65 Section III - 7

27 EG 36/56 - EE 45/65 Section III - 79 Modern (VLSI) esign The VLSI chips that are used in most modern designs come in three varieties: VLSI PLs Field Programmable Gate rrays (FPGs) VLSI modules that can be programmed to implement a digital system consisting of tens of thousands of gates. LSI PLs implement two-level combinational and sequential networks, FPGs allow the realization of multilevel networks and complex systems on a single chip! Highly reprogrammable! Low cost May produce slower network May require a larger silicon area

Agenda. EE 260: Introduction to Digital Design Counters and Registers. Asynchronous (Ripple) Counters. Asynchronous (Ripple) Counters

Agenda. EE 260: Introduction to Digital Design Counters and Registers. Asynchronous (Ripple) Counters. Asynchronous (Ripple) Counters EE26: igital esign, Spring 28 4/8/8 EE 26: Introduction to igital esign ounters and Registers Yao Zheng epartment of Electrical Engineering University of Hawaiʻi at Mānoa Agenda ounters Introduction: ounters

More information

Registers & Counters. Logic and Digital System Design - CS 303 Erkay Savaş Sabanci University

Registers & Counters. Logic and Digital System Design - CS 303 Erkay Savaş Sabanci University Registers & ounters Logic and igital System esign - S 33 Erkay Savaş Sabanci University Registers Registers like counters are clocked sequential circuits A register is a group of flip-flops Each flip-flop

More information

Registers, Register Transfers and Counters Dr. Fethullah Karabiber

Registers, Register Transfers and Counters Dr. Fethullah Karabiber 36 OMPUTER HARWARE Registers, Register Transfers and ounters r. Fethullah Karabiber Overview 2 Registers, Microoperations and Implementations Registers and load enable Register transfer operations Microoperations

More information

Synchronous Digital Logic Systems. Review of Digital Logic. Philosophy. Combinational Logic. A Full Adder. Combinational Logic

Synchronous Digital Logic Systems. Review of Digital Logic. Philosophy. Combinational Logic. A Full Adder. Combinational Logic Synchronous igital Logic Systems Review of igital Logic Prof. Stephen. Edwards Raw materials: MOS transistors and wires on Is Wires are excellent conveyors of voltage Little leakage Fast, but not instantaneous

More information

Sequential Circuits. Introduction to Digital Logic. Course Outline. Overview. Introduction to Digital Logic. Introduction to Sequential Circuits

Sequential Circuits. Introduction to Digital Logic. Course Outline. Overview. Introduction to Digital Logic. Introduction to Sequential Circuits Introduction to igital Logic Prof. Nizamettin IN naydin@yildiz.edu.tr naydin@ieee.org ourse Outline. igital omputers, Number ystems, rithmetic Operations, ecimal, lphanumeric, and Gray odes 2. inary Logic,

More information

UNIT 1 NUMBER SYSTEMS AND DIGITAL LOGIC FAMILIES 1. Briefly explain the stream lined method of converting binary to decimal number with example. 2. Give the Gray code for the binary number (111) 2. 3.

More information

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University `OEN 32 IGITL SYSTEMS ESIGN - LETURE NOTES oncordia University hapter 5: Synchronous Sequential Logic NOTE: For more eamples and detailed description of the material in the lecture notes, please refer

More information

Modeling Digital Systems with Verilog

Modeling Digital Systems with Verilog Modeling Digital Systems with Verilog Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: jimmy@ee.ncu.edu.tw 6-1 Composition of Digital Systems Most digital systems can be partitioned into two types

More information

Momentary Changes in Outputs. State Machine Signaling. Oscillatory Behavior. Hazards/Glitches. Types of Hazards. Static Hazards

Momentary Changes in Outputs. State Machine Signaling. Oscillatory Behavior. Hazards/Glitches. Types of Hazards. Static Hazards State Machine Signaling Momentary hanges in Outputs Timing ehavior Glitches/hazards and how to avoid them SM Partitioning What to do when the state machine doesn t fit! State Machine Signaling State Machine

More information

Chapter 5 Sequential Circuits

Chapter 5 Sequential Circuits Logic and omputer Design Fundamentals hapter 5 Sequential ircuits Part 1 Storage Elements and Sequential ircuit Analysis harles Kime & Thomas Kaminski 2008 Pearson Education, Inc. (Hyperlinks are active

More information

A.R. ENGINEERING COLLEGE, VILLUPURAM ECE DEPARTMENT

A.R. ENGINEERING COLLEGE, VILLUPURAM ECE DEPARTMENT .R. ENGINEERING COLLEGE, VILLUPURM ECE EPRTMENT QUESTION BNK SUB. NME: IGITL ELECTRONICS SUB. COE: EC223 SEM: III BRNCH/YER: ECE/II UNIT-I MINIMIZTION TECHNIQUESN LOGIC GTES PRT- ) efine Minterm & Maxterm.

More information

Chapter 4. Logic Design

Chapter 4. Logic Design Chapter 4 Logic Design 4.1 Introduction. In previous Chapter we studied gates and combinational circuits, which made by gates (AND, OR, NOT etc.). That can be represented by circuit diagram, truth table

More information

ASYNCHRONOUS SEQUENTIAL CIRCUIT CONCEPTS

ASYNCHRONOUS SEQUENTIAL CIRCUIT CONCEPTS ASYNHRONOUS SEQUENTIAL IRUIT ONEPTS Synchronous ircuit Asynchronous ircuit (a) Synchronous to Asynchronous Asynchronous ircuit Asynchronous Signals Synchronous ircuit (b) Asynchronous to Synchronous Synchronous

More information

Registers & Counters. BME208 Logic Circuits Yalçın İŞLER

Registers & Counters. BME208 Logic Circuits Yalçın İŞLER Registers & ounters BME28 Logic ircuits Yalçın İŞLER islerya@yahoo.com http://me.islerya.com Registers Registers are clocked sequential circuits A register is a group of flip-flops 2 Each flip-flop capable

More information

Chapter 7 Memory and Programmable Logic

Chapter 7 Memory and Programmable Logic EEA091 - Digital Logic 數位邏輯 Chapter 7 Memory and Programmable Logic 吳俊興國立高雄大學資訊工程學系 2006 Chapter 7 Memory and Programmable Logic 7-1 Introduction 7-2 Random-Access Memory 7-3 Memory Decoding 7-4 Error

More information

ECE 25 Introduction to Digital Design. Chapter 5 Sequential Circuits ( ) Part 1 Storage Elements and Sequential Circuit Analysis

ECE 25 Introduction to Digital Design. Chapter 5 Sequential Circuits ( ) Part 1 Storage Elements and Sequential Circuit Analysis EE 25 Introduction to igital esign hapter 5 Sequential ircuits (5.1-5.4) Part 1 Storage Elements and Sequential ircuit Analysis Logic and omputer esign Fundamentals harles Kime & Thomas Kaminski 2008 Pearson

More information

Why FPGAs? FPGA Overview. Why FPGAs?

Why FPGAs? FPGA Overview. Why FPGAs? Transistor-level Logic Circuits Positive Level-sensitive EECS150 - Digital Design Lecture 3 - Field Programmable Gate Arrays (FPGAs) January 28, 2003 John Wawrzynek Transistor Level clk clk clk Positive

More information

Sequential Circuit Design: Part 1

Sequential Circuit Design: Part 1 Sequential ircuit esign: Part 1 esign of memory elements Static latches Pseudo-static latches ynamic latches Timing parameters Two-phase clocking locked inverters Krish hakrabarty 1 Sequential Logic FFs

More information

Outline. CPE/EE 422/522 Advanced Logic Design L04. Review: 8421 BCD to Excess3 BCD Code Converter. Review: Mealy Sequential Networks

Outline. CPE/EE 422/522 Advanced Logic Design L04. Review: 8421 BCD to Excess3 BCD Code Converter. Review: Mealy Sequential Networks Outline PE/EE 422/522 Advanced Logic Design L4 Electrical and omputer Engineering University of Alabama in Huntsville What we know ombinational Networks Analysis, Synthesis, Simplification, Hazards, Building

More information

Review of digital electronics. Storage units Sequential circuits Counters Shifters

Review of digital electronics. Storage units Sequential circuits Counters Shifters Review of digital electronics Storage units Sequential circuits ounters Shifters ounting in Binary A counter can form the same pattern of 0 s and 1 s with logic levels. The first stage in the counter represents

More information

1. Convert the decimal number to binary, octal, and hexadecimal.

1. Convert the decimal number to binary, octal, and hexadecimal. 1. Convert the decimal number 435.64 to binary, octal, and hexadecimal. 2. Part A. Convert the circuit below into NAND gates. Insert or remove inverters as necessary. Part B. What is the propagation delay

More information

Page 1. Some Definitions. Chapter 3: Sequential Logic. Sequential Logic. The Combinational Logic Unit. A NOR Gate with a Lumped Delay

Page 1. Some Definitions. Chapter 3: Sequential Logic. Sequential Logic. The Combinational Logic Unit. A NOR Gate with a Lumped Delay 3- hapter 3 equential Logic hapter 3: equential Logic 3-2 hapter 3 equential Logic ome efinitions r. Tim McGuire am Houston tate University ased on notes by Miles Murdocca ombinational logic: a digital

More information

Chapter 3 Unit Combinational

Chapter 3 Unit Combinational EE 2: igital Logic ircuit esign r Radwan E Abdel-Aal, OE Logic and omputer esign Fundamentals hapter 3 Unit ombinational 4 Sequential Logic esign ircuits Part Implementation Technology and Logic esign

More information

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

Chapter 6. Flip-Flops and Simple Flip-Flop Applications Chapter 6 Flip-Flops and Simple Flip-Flop Applications Basic bistable element It is a circuit having two stable conditions (states). It can be used to store binary symbols. J. C. Huang, 2004 Digital Logic

More information

Combinational vs Sequential

Combinational vs Sequential Combinational vs Sequential inputs X Combinational Circuits outputs Z A combinational circuit: At any time, outputs depends only on inputs Changing inputs changes outputs No regard for previous inputs

More information

EE 447/547 VLSI Design. Lecture 9: Sequential Circuits. VLSI Design EE 447/547 Sequential circuits 1

EE 447/547 VLSI Design. Lecture 9: Sequential Circuits. VLSI Design EE 447/547 Sequential circuits 1 EE 447/547 VLSI esign Lecture 9: Sequential Circuits Sequential circuits 1 Outline Floorplanning Sequencing Sequencing Element esign Max and Min-elay Clock Skew Time Borrowing Two-Phase Clocking Sequential

More information

TYPICAL QUESTIONS & ANSWERS

TYPICAL QUESTIONS & ANSWERS DIGITALS ELECTRONICS TYPICAL QUESTIONS & ANSWERS OBJECTIVE TYPE QUESTIONS Each Question carries 2 marks. Choose correct or the best alternative in the following: Q.1 The NAND gate output will be low if

More information

Supplement 3 Asynchronous Sequential Circuit Concepts

Supplement 3 Asynchronous Sequential Circuit Concepts January 999 Supplement 3 Asynchronous Sequential ircuit oncepts EE/omp. Sci. 352 igital System Fundamentals harles R. Kime epartment of Electrical and omputer Engineering University of Wisconsin Madison

More information

Computer Architecture and Organization

Computer Architecture and Organization A-1 Appendix A - Digital Logic Computer Architecture and Organization Miles Murdocca and Vincent Heuring Appendix A Digital Logic A-2 Appendix A - Digital Logic Chapter Contents A.1 Introduction A.2 Combinational

More information

Outline. CPE/EE 422/522 Advanced Logic Design L03. Review: Clocked D Flip-Flop with Rising-edge Trigger. Sequential Networks

Outline. CPE/EE 422/522 Advanced Logic Design L03. Review: Clocked D Flip-Flop with Rising-edge Trigger. Sequential Networks Outline PE/EE 422/522 Advanced Logic Design L3 Electrical and omputer Engineering University of Alabama in Huntsville What we know ombinational Networks Analysis, Synthesis, Simplification, Buiing Blocks,

More information

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic COURSE TITLE : DIGITAL INSTRUMENTS PRINCIPLE COURSE CODE : 3075 COURSE CATEGORY : B PERIODS/WEEK : 4 PERIODS/SEMESTER : 72 CREDITS : 4 TIME SCHEDULE MODULE TOPICS PERIODS 1 Number system & Boolean algebra

More information

CSE140L: Components and Design Techniques for Digital Systems Lab. FSMs. Tajana Simunic Rosing. Source: Vahid, Katz

CSE140L: Components and Design Techniques for Digital Systems Lab. FSMs. Tajana Simunic Rosing. Source: Vahid, Katz CSE140L: Components and Design Techniques for Digital Systems Lab FSMs Tajana Simunic Rosing Source: Vahid, Katz 1 Flip-flops Hardware Description Languages and Sequential Logic representation of clocks

More information

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath Objectives Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath In the previous chapters we have studied how to develop a specification from a given application, and

More information

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences EECS150 J. Wawrzynek Spring 2002 4/5/02 Midterm Exam II Name: Solutions ID number:

More information

Lecture 10: Sequential Circuits

Lecture 10: Sequential Circuits Introduction to CMOS VLSI esign Lecture 10: Sequential Circuits avid Harris Harvey Mudd College Spring 2004 1 Outline Floorplanning Sequencing Sequencing Element esign Max and Min-elay Clock Skew Time

More information

Contents Circuits... 1

Contents Circuits... 1 Contents Circuits... 1 Categories of Circuits... 1 Description of the operations of circuits... 2 Classification of Combinational Logic... 2 1. Adder... 3 2. Decoder:... 3 Memory Address Decoder... 5 Encoder...

More information

9 Programmable Logic Devices

9 Programmable Logic Devices Introduction to Programmable Logic Devices A programmable logic device is an IC that is user configurable and is capable of implementing logic functions. It is an LSI chip that contains a 'regular' structure

More information

Experiment 8 Introduction to Latches and Flip-Flops and registers

Experiment 8 Introduction to Latches and Flip-Flops and registers Experiment 8 Introduction to Latches and Flip-Flops and registers Introduction: The logic circuits that have been used until now were combinational logic circuits since the output of the device depends

More information

Chapter 5 Sequential Circuits

Chapter 5 Sequential Circuits Logic and omputer esign Fundamentals hapter 5 Sequential ircuits Part - Storage Elements Part Storage Elements and Sequential ircuit Analysis harles Kime & Thomas Kaminski 28 Pearson Education, Inc. (Hyperlinks

More information

VU Mobile Powered by S NO Group

VU Mobile Powered by S NO Group Question No: 1 ( Marks: 1 ) - Please choose one A 8-bit serial in / parallel out shift register contains the value 8, clock signal(s) will be required to shift the value completely out of the register.

More information

Counter dan Register

Counter dan Register Counter dan Register Introduction Circuits for counting events are frequently used in computers and other digital systems. Since a counter circuit must remember its past states, it has to possess memory.

More information

Digital Phase Adjustment Scheme 0 6/3/98, Chaney. A Digital Phase Adjustment Circuit for ATM and ATM- like Data Formats. by Thomas J.

Digital Phase Adjustment Scheme 0 6/3/98, Chaney. A Digital Phase Adjustment Circuit for ATM and ATM- like Data Formats. by Thomas J. igital Phase Adjustment Scheme 6/3/98, haney A igital Phase Adjustment ircuit for ATM and ATM- like ata Formats by Thomas J. haney epartment of omputer Science University St. Louis, Missouri 633 tom@arl.wustl.edu

More information

Part 4: Introduction to Sequential Logic. Basic Sequential structure. Positive-edge-triggered D flip-flop. Flip-flops classified by inputs

Part 4: Introduction to Sequential Logic. Basic Sequential structure. Positive-edge-triggered D flip-flop. Flip-flops classified by inputs Part 4: Introduction to Sequential Logic Basic Sequential structure There are two kinds of components in a sequential circuit: () combinational blocks (2) storage elements Combinational blocks provide

More information

Problems with D-Latch

Problems with D-Latch Problems with -Latch If changes while is true, the new value of will appear at the output. The latch is transparent. If the stored value can change state more than once during a single clock pulse, the

More information

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

Section 6.8 Synthesis of Sequential Logic Page 1 of 8 Section 6.8 Synthesis of Sequential Logic Page of 8 6.8 Synthesis of Sequential Logic Steps:. Given a description (usually in words), develop the state diagram. 2. Convert the state diagram to a next-state

More information

Sequencing and Control

Sequencing and Control Sequencing and Control Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Spring, 2016 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Source:

More information

CSC Computer Architecture and Organization

CSC Computer Architecture and Organization S 37 - omputer Architecture and Organization Lecture 6: Registers and ounters Registers A register is a group of flip-flops. Each flip-flop stores one bit of data; n flip-flops are required to store n

More information

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS NH 67, Karur Trichy Highways, Puliyur C.F, 639 114 Karur District DEPARTMENT OF ELETRONICS AND COMMUNICATION ENGINEERING COURSE NOTES SUBJECT: DIGITAL ELECTRONICS CLASS: II YEAR ECE SUBJECT CODE: EC2203

More information

Chapter 5 Flip-Flops and Related Devices

Chapter 5 Flip-Flops and Related Devices Chapter 5 Flip-Flops and Related Devices Chapter 5 Objectives Selected areas covered in this chapter: Constructing/analyzing operation of latch flip-flops made from NAND or NOR gates. Differences of synchronous/asynchronous

More information

S.K.P. Engineering College, Tiruvannamalai UNIT I

S.K.P. Engineering College, Tiruvannamalai UNIT I UNIT I NUMBER SYSTEMS AND DIGITAL LOGIC FAMILIES Part - A Questions 1. Convert the hexadecimal number E3FA to binary.( Nov 2007) E3FA 16 Hexadecimal E 3 F A 11102 00112 11112 10102 So the equivalent binary

More information

Chapter 5 Sequential Systems. Introduction

Chapter 5 Sequential Systems. Introduction hapter 5 Seuential Systems Latches and Flip-flops Synchronous ounter synchronous ounter 7822 igital Logic esign @epartment of omputer Engineering U. Introduction Up to now everything has been combinational

More information

PEEL 18CV8-5/-7/-10/-15/-25 CMOS Programmable Electrically Erasable Logic Device

PEEL 18CV8-5/-7/-10/-15/-25 CMOS Programmable Electrically Erasable Logic Device PEEL 18V8-5/-7/-10/-15/-25 MOS Programmable Electrically Erasable Logic Device Multiple Speed, Power, Temperature Options Speeds ranging from 5ns to 25ns Power as low as 37mA at 25MHz ommercial and ndustrial

More information

ELEN Electronique numérique

ELEN Electronique numérique ELEN0040 - Electronique numérique Patricia ROUSSEAUX Année académique 2014-2015 CHAPITRE 5 Sequential circuits design - Timing issues ELEN0040 5-228 1 Sequential circuits design 1.1 General procedure 1.2

More information

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it, Solution to Digital Logic -2067 Solution to digital logic 2067 1.)What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it, A Magnitude comparator is a combinational

More information

IT T35 Digital system desigm y - ii /s - iii

IT T35 Digital system desigm y - ii /s - iii UNIT - III Sequential Logic I Sequential circuits: latches flip flops analysis of clocked sequential circuits state reduction and assignments Registers and Counters: Registers shift registers ripple counters

More information

WINTER 14 EXAMINATION

WINTER 14 EXAMINATION Subject Code: 17320 WINTER 14 EXAMINATION Model Answer Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2)

More information

Registers and Counters

Registers and Counters Registers and Counters Clocked sequential circuit = F/Fs and combinational gates Register Group of flip-flops (share a common clock and capable of storing one bit of information) Consist of a group of

More information

Learning Outcomes. Unit 13. Sequential Logic BISTABLES, LATCHES, AND FLIP- FLOPS. I understand the difference between levelsensitive

Learning Outcomes. Unit 13. Sequential Logic BISTABLES, LATCHES, AND FLIP- FLOPS. I understand the difference between levelsensitive 1.1 1. Learning Outcomes Unit 1 I understand the difference between levelsensitive and edge-sensitive I understand how to create an edge-triggered FF from latches Sequential Logic onstructs 1. 1.4 Sequential

More information

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters Logic and Computer Design Fundamentals Chapter 7 Registers and Counters Registers Register a collection of binary storage elements In theory, a register is sequential logic which can be defined by a state

More information

Chapter Contents. Appendix A: Digital Logic. Some Definitions

Chapter Contents. Appendix A: Digital Logic. Some Definitions A- Appendix A - Digital Logic A-2 Appendix A - Digital Logic Chapter Contents Principles of Computer Architecture Miles Murdocca and Vincent Heuring Appendix A: Digital Logic A. Introduction A.2 Combinational

More information

Previous Lecture Sequential Circuits. Slide Summary of contents covered in this lecture. (Refer Slide Time: 01:55)

Previous Lecture Sequential Circuits. Slide Summary of contents covered in this lecture. (Refer Slide Time: 01:55) Previous Lecture Sequential Circuits Digital VLSI System Design Prof. S. Srinivasan Department of Electrical Engineering Indian Institute of Technology, Madras Lecture No 7 Sequential Circuit Design Slide

More information

Sequential Logic Circuit

Sequential Logic Circuit Prof.Manoj avedia ( 98674297 ) (urallalone@yahoo.com) ` 4 Sequential Logic ircuit hapter-4(hours : Marks: )(269 Principle of Digital Electronics) SEUENTIL LOGI IRUIT 4. Introduction to Sequential Logic

More information

Sequencing. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall,

Sequencing. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, Sequencing ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, 2013 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Outlines Introduction Sequencing

More information

Saturated Non Saturated PMOS NMOS CMOS RTL Schottky TTL ECL DTL I I L TTL

Saturated Non Saturated PMOS NMOS CMOS RTL Schottky TTL ECL DTL I I L TTL EC6302-DIGITAL ELECTRONICS UNIT I MINIMIZATION TECHNIQUES AND LOGIC GATES 1. Define binary logic? Binary logic consists of binary variables and logical operations. The variables are designated by the alphabets

More information

Logic Design ( Part 3) Sequential Logic- Finite State Machines (Chapter 3)

Logic Design ( Part 3) Sequential Logic- Finite State Machines (Chapter 3) Logic esign ( Part ) Sequential Logic- Finite State Machines (Chapter ) Based on slides McGraw-Hill Additional material 00/00/006 Lewis/Martin Additional material 008 Roth Additional material 00 Taylor

More information

Chapter 3. Boolean Algebra and Digital Logic

Chapter 3. Boolean Algebra and Digital Logic Chapter 3 Boolean Algebra and Digital Logic Chapter 3 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple logic circuits. Understand how

More information

Chapter 6 Sequential Circuits

Chapter 6 Sequential Circuits Overview Logic and omputer esign Fundamentals hapter 6 equential ircuits Part torage Elements and equential ircuit nalysis pring 4 Part - torage Elements and nalysis Introduction to sequential circuits

More information

COMP2611: Computer Organization. Introduction to Digital Logic

COMP2611: Computer Organization. Introduction to Digital Logic 1 COMP2611: Computer Organization Sequential Logic Time 2 Till now, we have essentially ignored the issue of time. We assume digital circuits: Perform their computations instantaneously Stateless: once

More information

Chapter 9: Shift Registers

Chapter 9: Shift Registers 樹德科技大學資訊工程系 hapter 9: Shift Registers Shi-Huang hen Fall 2010 1 Outline Basic Shift Register Functions Serial In/Serial Out Shift Registers Serial In/Parallel Out Shift Registers Parallel In/Serial Out

More information

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS One common requirement in digital circuits is counting, both forward and backward. Digital clocks and

More information

Logic Design II (17.342) Spring Lecture Outline

Logic Design II (17.342) Spring Lecture Outline Logic Design II (17.342) Spring 2012 Lecture Outline Class # 03 February 09, 2012 Dohn Bowden 1 Today s Lecture Registers and Counters Chapter 12 2 Course Admin 3 Administrative Admin for tonight Syllabus

More information

Sequential Logic. Analysis and Synthesis. Joseph Cavahagh Santa Clara University. r & Francis. TaylonSi Francis Group. , Boca.Raton London New York \

Sequential Logic. Analysis and Synthesis. Joseph Cavahagh Santa Clara University. r & Francis. TaylonSi Francis Group. , Boca.Raton London New York \ Sequential Logic Analysis and Synthesis Joseph Cavahagh Santa Clara University r & Francis TaylonSi Francis Group, Boca.Raton London New York \ CRC is an imprint of the Taylor & Francis Group, an informa

More information

Principles of Computer Architecture. Appendix A: Digital Logic

Principles of Computer Architecture. Appendix A: Digital Logic A-1 Appendix A - Digital Logic Principles of Computer Architecture Miles Murdocca and Vincent Heuring Appendix A: Digital Logic A-2 Appendix A - Digital Logic Chapter Contents A.1 Introduction A.2 Combinational

More information

CHAPTER 4: Logic Circuits

CHAPTER 4: Logic Circuits CHAPTER 4: Logic Circuits II. Sequential Circuits Combinational circuits o The outputs depend only on the current input values o It uses only logic gates, decoders, multiplexers, ALUs Sequential circuits

More information

St. MARTIN S ENGINEERING COLLEGE

St. MARTIN S ENGINEERING COLLEGE St. MARTIN S ENGINEERING COLLEGE Dhulapally, Kompally, Secunderabad-500014. Branch Year&Sem Subject Name : Electronics and Communication Engineering : II B. Tech I Semester : SWITCHING THEORY AND LOGIC

More information

Analysis of Sequential Circuits

Analysis of Sequential Circuits NOTE: Explanation Refer lass Notes Digital ircuits(15ee23) Analysis of Sequential ircuits by Nagaraj Vannal, Asst.Professor, School of Electronics Engineering,.L.E. Technological University, Hubballi.

More information

Lecture 11: Sequential Circuit Design

Lecture 11: Sequential Circuit Design Lecture 11: Sequential Circuit esign Outline q Sequencing q Sequencing Element esign q Max and Min-elay q Clock Skew q Time Borrowing q Two-Phase Clocking 2 Sequencing q Combinational logic output depends

More information

Sequential Logic Counters and Registers

Sequential Logic Counters and Registers Sequential Logic ounters and Registers ounters Introduction: ounters Asynchronous (Ripple) ounters Asynchronous ounters with MOD number < 2 n Asynchronous Down ounters ascading Asynchronous ounters svbitec.wordpress.com

More information

The reduction in the number of flip-flops in a sequential circuit is referred to as the state-reduction problem.

The reduction in the number of flip-flops in a sequential circuit is referred to as the state-reduction problem. State Reduction The reduction in the number of flip-flops in a sequential circuit is referred to as the state-reduction problem. State-reduction algorithms are concerned with procedures for reducing the

More information

MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL

MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL 1. A stage in a shift register consists of (a) a latch (b) a flip-flop (c) a byte of storage (d) from bits of storage 2. To serially shift a byte of data into a shift register, there must be (a) one click

More information

COE328 Course Outline. Fall 2007

COE328 Course Outline. Fall 2007 COE28 Course Outline Fall 2007 1 Objectives This course covers the basics of digital logic circuits and design. Through the basic understanding of Boolean algebra and number systems it introduces the student

More information

Digital Principles and Design

Digital Principles and Design Digital Principles and Design Donald D. Givone University at Buffalo The State University of New York Grauu Boston Burr Ridge, IL Dubuque, IA Madison, Wl New York San Francisco St. Louis Bangkok Bogota

More information

MC9211 Computer Organization

MC9211 Computer Organization MC9211 Computer Organization Unit 2 : Combinational and Sequential Circuits Lesson2 : Sequential Circuits (KSB) (MCA) (2009-12/ODD) (2009-10/1 A&B) Coverage Lesson2 Outlines the formal procedures for the

More information

Asynchronous (Ripple) Counters

Asynchronous (Ripple) Counters Circuits for counting events are frequently used in computers and other digital systems. Since a counter circuit must remember its past states, it has to possess memory. The chapter about flip-flops introduced

More information

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20 Advanced Devices Using a combination of gates and flip-flops, we can construct more sophisticated logical devices. These devices, while more complex, are still considered fundamental to basic logic design.

More information

MODULE 3. Combinational & Sequential logic

MODULE 3. Combinational & Sequential logic MODULE 3 Combinational & Sequential logic Combinational Logic Introduction Logic circuit may be classified into two categories. Combinational logic circuits 2. Sequential logic circuits A combinational

More information

The word digital implies information in computers is represented by variables that take a limited number of discrete values.

The word digital implies information in computers is represented by variables that take a limited number of discrete values. Class Overview Cover hardware operation of digital computers. First, consider the various digital components used in the organization and design. Second, go through the necessary steps to design a basic

More information

Chapter 5: Synchronous Sequential Logic

Chapter 5: Synchronous Sequential Logic Chapter 5: Synchronous Sequential Logic NCNU_2016_DD_5_1 Digital systems may contain memory for storing information. Combinational circuits contains no memory elements the outputs depends only on the inputs

More information

Glitches/hazards and how to avoid them. What to do when the state machine doesn t fit!

Glitches/hazards and how to avoid them. What to do when the state machine doesn t fit! State Machine Signaling Timing Behavior Glitches/hazards and how to avoid them SM Partitioning What to do when the state machine doesn t fit! State Machine Signaling Introducing Idle States (synchronous

More information

Find the equivalent decimal value for the given value Other number system to decimal ( Sample)

Find the equivalent decimal value for the given value Other number system to decimal ( Sample) VELAMMAL COLLEGE OF ENGINEERING AND TECHNOLOGY, MADURAI 65 009 Department of Information Technology Model Exam-II-Question bank PART A (Answer for all Questions) (8 X = 6) K CO Marks Find the equivalent

More information

Lecture 23 Design for Testability (DFT): Full-Scan

Lecture 23 Design for Testability (DFT): Full-Scan Lecture 23 Design for Testability (DFT): Full-Scan (Lecture 19alt in the Alternative Sequence) Definition Ad-hoc methods Scan design Design rules Scan register Scan flip-flops Scan test sequences Overheads

More information

Spring 2017 EE 3613: Computer Organization Chapter 5: The Processor: Datapath & Control - 1

Spring 2017 EE 3613: Computer Organization Chapter 5: The Processor: Datapath & Control - 1 Spring 27 EE 363: Computer Organization Chapter 5: The Processor: atapath & Control - Avinash Kodi epartment of Electrical Engineering & Computer Science Ohio University, Athens, Ohio 457 E-mail: kodi@ohio.edu

More information

CPE/EE 427, CPE 527 VLSI Design I Sequential Circuits. Sequencing

CPE/EE 427, CPE 527 VLSI Design I Sequential Circuits. Sequencing CPE/EE 427, CPE 527 VLSI esign I Sequential Circuits epartment of Electrical and Computer Engineering University of Alabama in Huntsville Aleksandar Milenkovic ( www.ece.uah.edu/~milenka ) Combinational

More information

Testability: Lecture 23 Design for Testability (DFT) Slide 1 of 43

Testability: Lecture 23 Design for Testability (DFT) Slide 1 of 43 Testability: Lecture 23 Design for Testability (DFT) Shaahin hi Hessabi Department of Computer Engineering Sharif University of Technology Adapted, with modifications, from lecture notes prepared p by

More information

Sequential Circuit Design: Part 1

Sequential Circuit Design: Part 1 Sequential Circuit esign: Part 1 esign of memory elements Static latches Pseudo-static latches ynamic latches Timing parameters Two-phase clocking Clocked inverters James Morizio 1 Sequential Logic FFs

More information

2.6 Reset Design Strategy

2.6 Reset Design Strategy 2.6 Reset esign Strategy Many design issues must be considered before choosing a reset strategy for an ASIC design, such as whether to use synchronous or asynchronous resets, will every flipflop receive

More information

Quiz #4 Thursday, April 25, 2002, 5:30-6:45 PM

Quiz #4 Thursday, April 25, 2002, 5:30-6:45 PM Last (family) name: First (given) name: Student I.D. #: Circle section: Hu Saluja Department of Electrical and Computer Engineering University of Wisconsin - Madison ECE/CS 352 Digital System Fundamentals

More information

Chapter 3 Unit Combinational

Chapter 3 Unit Combinational EE 200: Digital Logic Circuit Design Dr Radwan E Abdel-Aal, COE Logic and Computer Design Fundamentals Chapter 3 Unit Combinational 5 Registers Logic and Design Counters Part Implementation Technology

More information

EE6301 DIGITAL LOGIC CIRCUITS UNIT-I NUMBERING SYSTEMS AND DIGITAL LOGIC FAMILIES 1) What are basic properties of Boolean algebra? The basic properties of Boolean algebra are commutative property, associative

More information

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited April 2, 2013 John Wawrzynek Spring 2013 EECS150 - Lec19-fsm Page 1 Finite State Machines (FSMs) FSM circuits are a type of sequential

More information