CSE 320: Spartan3 I/O Peripheral Testing

Size: px
Start display at page:

Download "CSE 320: Spartan3 I/O Peripheral Testing"

Transcription

1 CSE 320: Spartan3 I/O Peripheral Testing Ujjwal Gupta, Kyle Gilsdorf Arizona State University Version 1.1 October 2, 2012 Contents 1 Introduction 2 2 Test code description and procedure Modes Mode Mode Mode Mode Test Procedure Step Step Step Step Step A Appendix-1: Top level module 4 B Appendix-2: Clock divider module 7 C Appendix-3: UCF File 9 D References 10 E Modification history 10 1

2 1 Introduction This document serves as a guide to understand and use the code for testing the input and output peripherals of Spartan 3 FPGA starter board in the CSE-320 Lab. The code has been written using Verilog HDL. 2 Test code description and procedure Following Peripherals are to be tested: 4 Push buttons 8 Slide switches 8 LEDs 4 Seven segment displays 2.1 Modes Each Push button is associated with a mode. In total we are using 4 modes in this design out of which 3 are of primary importance. Although there can be number of modes due to 4 push buttons, one of the push buttons is reset (active high), so effectively we have number of modes to choose from. Presently our code uses only 3 test modes and one reset mode (which is implied) Mode1 On a reset mode, all LEDs are ON and Seven segment will be OFF Mode2 The 8 LEDs will display one to one mapped value on the 8 DIP switches Mode3 A shift register from left to right on the 8 LEDs and the seven segment will blink ON and OFF (all 4 together). The previous value of LEDs and seven segment will be retained and used for first few clock cycles depending on the previous state and value. 2

3 2.1.4 Mode4 A piecewise blink chain of scan return on the seven segments from left to right will be seen. 2.2 Test Procedure Follow the procedure to test the board s IO peripheral functionality Step 1 Write the spartan3 board test.bit file to the FPGA using appropriate tool (refer to lab0 on how to do this) Step 2 Press BTN2 (L13) on the board, you will come into mode1. In this mode, the value on the DIP switches will be displayed. Play around by changing the DIP switch values Step 3 Press BTN1 (M14), you will see that seven segment displays start blinking all at once. The LEDs will also appear to blink in a line fashion Step 4 Press BTN0 (M13), you will see that seven segment displays go in a scan chain fashion. The LED will retain the previous state value Step 5 Press BTN1 again, what do you observe? Is this a good design? Also see what is the counter value used in clk divider.v file, is such a large comparison good in practice? The answer to this is that practically this is not a very good design, since the LEDs or seven segments may be in any random state when we switch between mode 3 and mode 4. We should be deterministic in our designing approach. Such a code can be used to test a primitive board like this one, but certainly not in a real application. The counter value in clock divider is 24 bits, this is a lot of combinational logic (with comparators) and will constraint the clock speed. Also all the logic might not be in same region in FPGA, which may reduce reliability. To solve this we can divide the counters into smaller counters. 3

4 A Appendix-1: Top level module spartan3 board test.v 1 // 2 // Copyright ( c ) 2012, ARIZONA STATE UNIVERSITY 3 // 4 // P r o j e c t : Spartan 3 Board t e s t 5 // 6 // Course : CSE 320 by Kyle G i l s d o r f, F a l l // F i l e : s p a r t a n 3 b o a r d t e s t. v 8 // Author : Ujjwal Gupta ( u j j w a l. gupta@asu. edu ) 9 // Last modified : Oct, // 11 // D e s c r i p t i o n : Top l e v e l RTL module f o r checking the f u n c t i o n a l i t y 12 // o f FPGA boards p e r i p h e r a l s 13 // 14 // M o d i f i c a t i o n h i s t o r y : 15 // 16 // Date Version Modified By D e s c r i p t i o n 17 // 18 // Aug, Ujjwal Created 19 // module s p a r t a n 3 b o a r d t e s t ( / AUTOARG / 22 // Outputs 23 o l e d, o s e v s e g s e l, o s e v s e g d r v, 24 // Inputs 25 i r s t, i s y s c l k, i p u s h b t n, i s l i d e s w i t c h 26 //, o t e s t c l k 27 ) ; // BTN3, u s e r r e s e t 30 input wire i r s t ; 31 // 50MHz c l o c k 32 input wire i s y s c l k ; 33 // 3 Push Buttons 34 input wire [ 2 : 0 ] i p u s h b t n ; 35 // 8 DIP s w i t c h e s 36 input wire [ 7 : 0 ] i s l i d e s w i t c h ; 37 // 8 output LEDs 38 output reg [ 7 : 0 ] o l e d ; 39 // Chosing one or more o f 4 seven seg LEDs 40 output reg [ 3 : 0 ] o s e v s e g s e l ; 41 // 7 seg l e d d r i v e r value 42 output reg [ 7 : 0 ] o s e v s e g d r v ; // Slow c l o c k 46 wire b l i n k c l k i ; // Double r e g i s t e r i n g the e x t e r n a l i n p u t s 49 reg [ 2 : 0 ] p u s h b t n s t a t e i ; 50 reg [ 2 : 0 ] p u s h b t n r e g 1 i ; 51 reg [ 2 : 0 ] p u s h b t n r e g 2 i ; 52 reg [ 7 : 0 ] s l i d e s w i t c h r e g 1 i ; 53 reg [ 7 : 0 ] s l i d e s w i t c h r e g 2 i ; // Parameterized modes 56 parameter [ 2 : 0 ] MODE2 = 3 b100, MODE3 = 3 b010, MODE4 = 3 b001 ; 57 4

5 58 // I n s t a n t i a t i n g the c l o c k d i v i d e r module 59 c l k d i v i d e r c l k d i v i d e r u 1 ( 60 // Outputs 61. o b l i n k c l k ( b l i n k c l k i ), 62 // Inputs 63. i r s t n (! i r s t ), 64. i s y s c l k ( i s y s c l k ) ) ; // Double R e g i s t e r i n g the push button input and s l i d e switch 67 ( posedge b l i n k c l k i or posedge i r s t ) begin 68 i f ( i r s t == 1 b1 ) begin 69 p u s h b t n r e g 1 i <= 3 d0 ; 70 p u s h b t n r e g 2 i <= 3 d0 ; 71 end 72 e l s e begin 73 p u s h b t n r e g 1 i <= i p u s h b t n ; 74 p u s h b t n r e g 2 i <= p u s h b t n r e g 1 i ; 75 end 76 end 77 ( posedge b l i n k c l k i or posedge i r s t ) begin 78 i f ( i r s t == 1 b1 ) begin 79 s l i d e s w i t c h r e g 1 i <= 8 d0 ; 80 s l i d e s w i t c h r e g 2 i <= 8 d0 ; 81 end 82 e l s e begin 83 s l i d e s w i t c h r e g 1 i <= i s l i d e s w i t c h ; 84 s l i d e s w i t c h r e g 2 i <= s l i d e s w i t c h r e g 1 i ; 85 end 86 end // Making Push buttons l a t c h f o r use as s t a t e modes 89 ( posedge b l i n k c l k i or posedge i r s t ) begin 90 i f ( i r s t == 1 b1 ) begin 91 p u s h b t n s t a t e i <= 3 b000 ; 92 end 93 e l s e i f ( p u s h b t n r e g 2 i == 3 d0 ) 94 p u s h b t n s t a t e i <= p u s h b t n s t a t e i ; 95 e l s e 96 p u s h b t n s t a t e i <= p u s h b t n r e g 2 i ; 97 end // Main p r o c e s s f o r d r i v i n g LEDs and Seven Segment LEDs 100 ( posedge b l i n k c l k i or posedge i r s t ) begin 101 i f ( i r s t == 1 b1 ) begin 102 o l e d <= 8 hff ; // A l l LEDs ON 103 o s e v s e g d r v <= 8 hff ; // A l l seven segment d i s p l a y s OFF 104 o s e v s e g s e l <= 4 hf ; // A l l seven segment d i s p l a y s s e l e c t e d 105 end 106 e l s e begin 107 c a s e ( p u s h b t n s t a t e i ) 108 MODE2 : begin 109 // LED d i s p l a y s s l i d e switch value 110 o l e d <= s l i d e s w i t c h r e g 2 i ; 111 o s e v s e g s e l <= 4 hf ; 112 o s e v s e g d r v <= 8 h00 ; 113 end 114 MODE3 : begin 115 i f ( o l e d <= 8 d0 ) begin 116 o l e d <= 8 hff ; 117 o s e v s e g s e l <= 4 hf ; 118 o s e v s e g d r v <= 8 h00 ; 119 end 5

6 120 e l s e begin 121 // Right s h i f t 122 o l e d <= {1 b0, o l e d [ 7 : 1 ] } ; 123 // A l l 7 seg are ON and OFF at each c l o c k c y c l e 124 o s e v s e g s e l [ 3 : 0 ] <= o s e v s e g s e l [ 3 : 0 ] ; 125 end 126 end 127 MODE4: begin 128 // Scan chain the seven seg LEDs b i t by b i t 129 i f ( o s e v s e g s e l == 4 hf) 130 o s e v s e g s e l <= 4 h0 ; 131 e l s e i f ( o s e v s e g d r v == 8 d0 ) begin 132 o s e v s e g d r v <= 8 hff ; 133 o s e v s e g s e l <= {1 b1, o s e v s e g s e l [ 3 : 1 ] } ; 134 end 135 e l s e 136 o s e v s e g d r v <= {1 b0, o s e v s e g d r v [ 7 : 1 ] } ; 137 end 138 d e f a u l t : begin 139 o l e d <= 8 hff ; 140 o s e v s e g d r v <= 8 h00 ; 141 o s e v s e g s e l <= 4 hf ; 142 end 143 endcase 144 end 145 end 146 // Test p o i n t s 147 // output wire o t e s t c l k ; 148 // a s s i g n o t e s t c l k = b l i n k c l k i ; endmodule // s p a r t a n 3 b o a r d t e s t 6

7 B Appendix-2: Clock divider module clk divider.v 1 // 2 // Copyright ( c ) 2012, ARIZONA STATE UNIVERSITY 3 // 4 // P r o j e c t : Spartan 3 Board t e s t 5 // 6 // Course : CSE 320 by Kyle G i l s d o r f, F a l l // F i l e : c l k d i v i d e r. v 8 // Author : Ujjwal Gupta ( u j j w a l. gupta@asu. edu ) 9 // Last modified : Oct, // 11 // D e s c r i p t i o n : Slow c l o c k g e n e r a t i o n to view the b l i n k i n g o f LEDs 12 // + Blink Freq r e q u i r e d i s around 50Hz, more than 13 // 100Hz i s not d i f f e r e n t i a b l e by human eye! 14 // + Current d e s i g n i s not a good way to compare 15 // counter value What do you think w i l l be a b e t t e r 16 // approach? 17 // ( Hint : Can we d i v i d e a big counter i n t o s m a l l 18 // ones?) 19 // 20 // M o d i f i c a t i o n h i s t o r y : 21 // 22 // Date Version Modified By D e s c r i p t i o n 23 // 24 // Aug, Ujjwal Created 25 // module c l k d i v i d e r ( / AUTOARG / 28 // Outputs 29 o b l i n k c l k, 30 // Inputs 31 i r s t n, i s y s c l k 32 ) ; input i r s t n ; // Active low r e s e t 35 input i s y s c l k ; // System c l o c k 36 output reg o b l i n k c l k ; // output b l i n k c l o c k // Parameterized Counter : Change t h e s e 3 l i n e s 39 // o f code to make changes to c l k d i v i s i o n. 40 parameter [ 2 3 : 0 ] CLK DIV VALUE = 24 h9fffe0 ; 41 parameter [ 2 3 : 0 ] COUNTER RST = 24 d0 ; 42 reg [ 2 3 : 0 ] c o u n t e r d i v i ; ( posedge i s y s c l k or negedge i r s t n ) begin 46 i f ( i r s t n == 1 b0 ) begin 47 o b l i n k c l k <= 1 b0 ; 48 end 49 e l s e begin 50 i f ( c o u n t e r d i v i <= (CLK DIV VALUE/2) 1) 51 begin 52 o b l i n k c l k <= 1 b1 ; 53 end 54 e l s e i f ( c o u n t e r d i v i < CLK DIV VALUE 1) 55 begin 56 o b l i n k c l k <= 1 b0 ; 57 end 7

8 58 end 59 end // Making counter zero, a f t e r i t has counted to the 62 // r e q u i r e d value. 63 ( posedge i s y s c l k or negedge i r s t n ) begin 64 i f ( i r s t n == 1 b0 ) begin 65 c o u n t e r d i v i <= COUNTER RST; 66 end 67 e l s e begin 68 i f ( c o u n t e r d i v i >= CLK DIV VALUE 1) begin 69 c o u n t e r d i v i <= COUNTER RST; 70 end 71 e l s e 72 c o u n t e r d i v i <= c o u n t e r d i v i + 1 ; 73 end 74 end endmodule // c l k d i v i d e r 8

9 C Appendix-3: UCF File spartan3 board test.ucf 1 NET i s y s c l k TNM NET = CLK; 2 TIMESPEC TS CLK = PERIOD CLK 20 ns HIGH 50%; 3 4 # PlanAhead Generated p h y s i c a l c o n s t r a i n t s 5 NET i s y s c l k LOC = T9 ; 6 NET i r s t LOC = L14 ; 7 # 8 NET i p u s h b t n [ 2 ] LOC = L13 ; 9 NET i p u s h b t n [ 1 ] LOC = M14 ; 10 NET i p u s h b t n [ 0 ] LOC = M13 ; 11 # 12 NET i s l i d e s w i t c h [ 0 ] LOC = F12 ; 13 NET i s l i d e s w i t c h [ 1 ] LOC = G12 ; 14 NET i s l i d e s w i t c h [ 2 ] LOC = H14 ; 15 NET i s l i d e s w i t c h [ 3 ] LOC = H13 ; 16 NET i s l i d e s w i t c h [ 4 ] LOC = J14 ; 17 NET i s l i d e s w i t c h [ 5 ] LOC = J13 ; 18 NET i s l i d e s w i t c h [ 7 ] LOC = K14 ; 19 NET i s l i d e s w i t c h [ 6 ] LOC = K13 ; 20 # 21 NET o l e d [ 0 ] LOC = K12 ; 22 NET o l e d [ 1 ] LOC = P14 ; 23 NET o l e d [ 2 ] LOC = L12 ; 24 NET o l e d [ 3 ] LOC = N14 ; 25 NET o l e d [ 4 ] LOC = P13 ; 26 NET o l e d [ 5 ] LOC = N12 ; 27 NET o l e d [ 6 ] LOC = P12 ; 28 NET o l e d [ 7 ] LOC = P11 ; 29 # 30 NET o s e v s e g d r v [ 0 ] LOC = P16 ; 31 NET o s e v s e g d r v [ 1 ] LOC = N15 ; 32 NET o s e v s e g d r v [ 2 ] LOC = G13 ; 33 NET o s e v s e g d r v [ 3 ] LOC = E14 ; 34 NET o s e v s e g d r v [ 4 ] LOC = F13 ; 35 NET o s e v s e g d r v [ 5 ] LOC = R16 ; 36 NET o s e v s e g d r v [ 6 ] LOC = P15 ; 37 NET o s e v s e g d r v [ 7 ] LOC = N16 ; 38 # 39 NET o s e v s e g s e l [ 3 ] LOC = E13 ; 40 NET o s e v s e g s e l [ 2 ] LOC = F14 ; 41 NET o s e v s e g s e l [ 1 ] LOC = G14 ; 42 NET o s e v s e g s e l [ 0 ] LOC = D14 ; 9

10 D References Spartan 3 Starter Kit Board User Guide, UG130 (v1.1) May 13, 2005 E Modification history Date Version Description Oct, v1.0 Created, posted on CSE320 website Oct,02,2012 v1.1 Made 1.2 heading name change, removal of redundant counter process from top level module,minor typo. 10

Laboratory Exercise #11 A Simple Digital Combination Lock

Laboratory Exercise #11 A Simple Digital Combination Lock Laboratory Exercise #11 A Simple Digital Combination Lock ECEN 248: Introduction to Digital Design Department of Electrical and Computer Engineering Texas A&M University 2 Laboratory Exercise #11 1 Introduction

More information

Models for representing sequential circuits

Models for representing sequential circuits Sequential Circuits Models for representing sequential circuits Finite-state machines (Moore and Mealy) Representation of memory (states) Changes in state (transitions) Design procedure State diagrams

More information

Chapter 6. Synchronous Sequential Circuits

Chapter 6. Synchronous Sequential Circuits Chapter 6 Synchronous Sequential Circuits In a combinational circuit, the values of the outputs are determined solely by the present values of its inputs. In a sequential circuit, the values of the outputs

More information

Review Problem 1. should be on. door state, false if light should be on when a door is open. v Describe when the dome/interior light of the car

Review Problem 1. should be on. door state, false if light should be on when a door is open. v Describe when the dome/interior light of the car Review Problem 1 v Describe when the dome/interior light of the car should be on. v DriverDoorOpen = true if lefthand door open v PassDoorOpen = true if righthand door open v LightSwitch = true if light

More information

Appendix B. Review of Digital Logic. Baback Izadi Division of Engineering Programs

Appendix B. Review of Digital Logic. Baback Izadi Division of Engineering Programs Appendix B Review of Digital Logic Baback Izadi Division of Engineering Programs bai@engr.newpaltz.edu Elect. & Comp. Eng. 2 DeMorgan Symbols NAND (A.B) = A +B NOR (A+B) = A.B AND A.B = A.B = (A +B ) OR

More information

EXPERIMENT Bit Binary Sequential Multiplier

EXPERIMENT Bit Binary Sequential Multiplier 12.1 Objectives EXPERIMENT 12 12. -Bit Binary Sequential Multiplier Introduction of large digital system design, i.e. data path and control path. To apply the above concepts to the design of a sequential

More information

FSM Examples. Young Won Lim 11/6/15

FSM Examples. Young Won Lim 11/6/15 /6/5 Copyright (c) 2 25 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version.2 or any later version published

More information

EECS Components and Design Techniques for Digital Systems. FSMs 9/11/2007

EECS Components and Design Techniques for Digital Systems. FSMs 9/11/2007 EECS 150 - Components and Design Techniques for Digital Systems FSMs 9/11/2007 Sarah Bird Electrical Engineering and Computer Sciences University of California, Berkeley Slides borrowed from David Culler

More information

Present Next state Output state w = 0 w = 1 z A A B 0 B A C 0 C A C 1

Present Next state Output state w = 0 w = 1 z A A B 0 B A C 0 C A C 1 W Combinational circuit Flip-flops Combinational circuit Z cycle: t t t 2 t 3 t 4 t 5 t 6 t 7 t 8 t 9 t : : Figure 8.. The general form of a sequential circuit. Figure 8.2. Sequences of input and output

More information

Example: vending machine

Example: vending machine Example: vending machine Release item after 15 cents are deposited Single coin slot for dimes, nickels o change Reset Coin Sensor Vending Machine FSM Open Release Mechanism Clock Spring 2005 CSE370 - guest

More information

Laboratory Exercise #8 Introduction to Sequential Logic

Laboratory Exercise #8 Introduction to Sequential Logic Laboratory Exercise #8 Introduction to Sequential Logic ECEN 248: Introduction to Digital Design Department of Electrical and Computer Engineering Texas A&M University 2 Laboratory Exercise #8 1 Introduction

More information

Parity Checker Example. EECS150 - Digital Design Lecture 9 - Finite State Machines 1. Formal Design Process. Formal Design Process

Parity Checker Example. EECS150 - Digital Design Lecture 9 - Finite State Machines 1. Formal Design Process. Formal Design Process Parity Checker Example A string of bits has even parity if the number of 1 s in the string is even. Design a circuit that accepts a bit-serial stream of bits and outputs a 0 if the parity thus far is even

More information

CITS2016, July6-8,Kunming,China

CITS2016, July6-8,Kunming,China CITS2016, July6-8,Kunming,China http://cis.k.hosei.ac.jp/ yamin/ HoseiUniversity CITS2016 1/28 Cube Root AlgorithmsandImplementations Algorithms Digit-by-digit integer restoring Digit-by-digit integer

More information

Register Transfer Level

Register Transfer Level Register Transfer Level CSE3201 RTL A digital system is represented at the register transfer level by these three components 1. The set of registers in the system 2. The operation that are performed on

More information

CSE140L: Components and Design Techniques for Digital Systems Lab. FSMs. Instructor: Mohsen Imani. Slides from Tajana Simunic Rosing

CSE140L: Components and Design Techniques for Digital Systems Lab. FSMs. Instructor: Mohsen Imani. Slides from Tajana Simunic Rosing CSE140L: Components and Design Techniques for Digital Systems Lab FSMs Instructor: Mohsen Imani Slides from Tajana Simunic Rosing Source: Vahid, Katz 1 FSM design example Moore vs. Mealy Remove one 1 from

More information

Review: Designing with FSM. EECS Components and Design Techniques for Digital Systems. Lec09 Counters Outline.

Review: Designing with FSM. EECS Components and Design Techniques for Digital Systems. Lec09 Counters Outline. Review: Designing with FSM EECS 150 - Components and Design Techniques for Digital Systems Lec09 Counters 9-28-04 David Culler Electrical Engineering and Computer Sciences University of California, Berkeley

More information

Design of Datapath Controllers

Design of Datapath Controllers Design of Datapath Controllers Speaker: 俞子豪 Adviser: Prof. An-Yeu Wu ACCESS IC LAB Outline vsequential Circuit Model vfinite State Machines vuseful Modeling Techniques P. 2 Model of Sequential Circuits

More information

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences EECS151/251A V. Stojanovic, J. Wawrzynek Fall 2015 10/13/15 Midterm Exam Name: ID

More information

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering Final Examination ECE 241F - Digital Systems Examiners: S. Brown,

More information

MSL RAD EVIL L2 trigger FPGA code review

MSL RAD EVIL L2 trigger FPGA code review Title MSL RAD EVIL L2 trigger FPGA code review Institut für Experimentelle und Angewandte Physik Christian Albrechts Universität zu Kiel November, 2007 Table of Contents Intro Title Table of Contents Design

More information

Chapter 5 Synchronous Sequential Logic

Chapter 5 Synchronous Sequential Logic Chapter 5 Synchronous Sequential Logic Sequential Circuits Latches and Flip Flops Analysis of Clocked Sequential Circuits HDL Optimization Design Procedure Sequential Circuits Various definitions Combinational

More information

Sequential Circuit Timing. Young Won Lim 11/6/15

Sequential Circuit Timing. Young Won Lim 11/6/15 Copyright (c) 2011 2015 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published

More information

ECE/Comp Sci 352 Digital Systems Fundamentals. Charles R. Kime Section 2 Fall Logic and Computer Design Fundamentals

ECE/Comp Sci 352 Digital Systems Fundamentals. Charles R. Kime Section 2 Fall Logic and Computer Design Fundamentals University of Wisconsin - Madison ECE/Comp Sci 352 Digital Systems Fundamentals Charles R. Kime Section 2 Fall 2001 Lecture 5 Registers & Counters Part 2 Charles Kime Counters Counters are sequential circuits

More information

2IN35 VLSI Programming Lab Work Communication Protocols: A Synchronous and an Asynchronous One

2IN35 VLSI Programming Lab Work Communication Protocols: A Synchronous and an Asynchronous One 2IN35 VLSI Programming Lab Work Communication Protocols: A Synchronous and an Asynchronous One René Gabriëls, r.gabriels@student.tue.nl July 1, 2008 1 Contents 1 Introduction 3 2 Problem Description 3

More information

EECS150 - Digital Design Lecture 23 - FSMs & Counters

EECS150 - Digital Design Lecture 23 - FSMs & Counters EECS150 - Digital Design Lecture 23 - FSMs & Counters April 8, 2010 John Wawrzynek Spring 2010 EECS150 - Lec22-counters Page 1 One-hot encoding of states. One FF per state. State Encoding Why one-hot encoding?

More information

Lecture #4: Potpourri

Lecture #4: Potpourri Lecture #4: Potpourri Paul Hartke Phartke@stanford.edu Stanford EE183 April 15, 2002 Tutorial/Verilog Questions? Tutorial is mostly done, right? Due tonight at Midnight (Mon 4/14/02) Turn in copies of

More information

Introduction to the Xilinx Spartan-3E

Introduction to the Xilinx Spartan-3E Introduction to the Xilinx Spartan-3E Nash Kaminski Instructor: Dr. Jafar Saniie ECE597 Illinois Institute of Technology Acknowledgment: I acknowledge that all of the work (including figures and code)

More information

CSC 322: Computer Organization Lab

CSC 322: Computer Organization Lab CSC 322: Computer Organization Lab Lecture 3: Logic Design Dr. Haidar M. Harmanani CSC 322: Computer Organization Lab Part I: Combinational Logic Dr. Haidar M. Harmanani Logical Design of Digital Systems

More information

EECS150 - Digital Design Lecture 11 - Shifters & Counters. Register Summary

EECS150 - Digital Design Lecture 11 - Shifters & Counters. Register Summary EECS50 - Digital Design Lecture - Shifters & Counters February 24, 2003 John Wawrzynek Spring 2005 EECS50 - Lec-counters Page Register Summary All registers (this semester) based on Flip-flops: q 3 q 2

More information

Efficient Verification of Multi-Property Designs. The benefit of wrong assumptions (E. Goldberg, M. Güdemann, D. Kroening, R.

Efficient Verification of Multi-Property Designs. The benefit of wrong assumptions (E. Goldberg, M. Güdemann, D. Kroening, R. Efficient Verification of Multi-Property Designs The benefit of wrong assumptions (E. Goldberg, M. Güdemann, D. Kroening, R. Mukherjee) Motivation Main bulk of research: single property verification A

More information

Review: Designing with FSM. EECS Components and Design Techniques for Digital Systems. Lec 09 Counters Outline.

Review: Designing with FSM. EECS Components and Design Techniques for Digital Systems. Lec 09 Counters Outline. Review: esigning with FSM EECS 150 - Components and esign Techniques for igital Systems Lec 09 Counters 9-28-0 avid Culler Electrical Engineering and Computer Sciences University of California, Berkeley

More information

FMC-CE Hardware User Guide. UG-FMC-CE (v1.1) August 23, 2010

FMC-CE Hardware User Guide. UG-FMC-CE (v1.1) August 23, 2010 FMC-CE Hardware User Guide UG-FMC-CE (v1.1) August 23, 2010 Xilinx is disclosing this user guide, manual, release note, and/or specification (the "Documentation") to you solely for use in the development

More information

Laboratory Exercise #10 An Introduction to High-Speed Addition

Laboratory Exercise #10 An Introduction to High-Speed Addition Laboratory Exercise #10 An Introduction to High-Speed Addition ECEN 248: Introduction to Digital Design Department of Electrical and Computer Engineering Texas A&M University 2 Laboratory Exercise #10

More information

Stop Watch (System Controller Approach)

Stop Watch (System Controller Approach) Stop Watch (System Controller Approach) Problem Design a stop watch that can measure times taken for two events Inputs CLK = 6 Hz RESET: Asynchronously reset everything X: comes from push button First

More information

EXPERIMENT Traffic Light Controller

EXPERIMENT Traffic Light Controller 11.1 Objectives EXPERIMENT 11 11. Traffic Light Controller Practice on the design of clocked sequential circuits. Applications of sequential circuits. 11.2 Overview In this lab you are going to develop

More information

CB2CE, CB4CE, CB8CE, CB16CE

CB2CE, CB4CE, CB8CE, CB16CE B2E, B4E, B8E, B16E R B2E, B4E, B8E, B16E 2-, 4-, 8-,16-Bit ascadable Binary ounters with lock Enable and Asynchronous lear Architectures Supported B2E, B4E, B8E, B16E Spartan-II, Spartan-IIE Spartan-3

More information

Module half adder module half_adder(output S,C,input x,y); xor(s,x,y); and(c,x,y); endmodule

Module half adder module half_adder(output S,C,input x,y); xor(s,x,y); and(c,x,y); endmodule Eric Blasko Dr. Tong Yu CSE-310 digital logic Spring 2018 Homework 4, due 5/28/2018 ( Mon ) 12 pm 1. (15 points) Textbook Problems 4.37: Write the HDL gate-level hierarchical description of a four-bit

More information

Digital Design through Arduino

Digital Design through Arduino 1 Digital Design through Arduino G V V Sharma Contents 1 Display Control through Hardware 1 1.1 Components......... 1 1.2 Powering the Display.... 1 1.3 Controlling the Display... 2 2 Display Control through

More information

Hanbat National University Prof. Lee Jaeheung

Hanbat National University Prof. Lee Jaeheung Sun, HH yy ee -Se ung Hanbat National University Prof. Lee Jaeheung ,,, ( ),, (c o u n t e r ), /, (F i n i t e S t a t e M a c h i n e ; F S M ),, : (, 0 1 ) : a l w a y s i f a l w a y s,, V e r i l

More information

CSE370 HW3 Solutions (Winter 2010)

CSE370 HW3 Solutions (Winter 2010) CSE370 HW3 Solutions (Winter 2010) 1. CL2e, 4.9 We are asked to implement the function f(a,,c,,e) = A + C + + + CE using the smallest possible multiplexer. We can t use any extra gates or the complement

More information

vidyarthiplus.com vidyarthiplus.com vidyarthiplus.com ANNA UNIVERSITY- COMBATORE B.E./ B.TECH. DEGREE EXAMINATION - JUNE 2009. ELECTRICAL & ELECTONICS ENGG. - FOURTH SEMESTER DIGITAL LOGIC CIRCUITS PART-A

More information

Elliptic Curve Group Core Specification. Author: Homer Hsing

Elliptic Curve Group Core Specification. Author: Homer Hsing Elliptic Curve Group Core Specification Author: Homer Hsing homer.hsing@gmail.com Rev. 0.1 March 4, 2012 This page has been intentionally left blank. www.opencores.org Rev 0.1 ii Revision History Rev.

More information

Total time is: 1 setup, 2 AND, 3 XOR, 1 delay = (1*1) + (2*2) + (3*3) + (1*1) = 15ns

Total time is: 1 setup, 2 AND, 3 XOR, 1 delay = (1*1) + (2*2) + (3*3) + (1*1) = 15ns Clock Period/ Delay Analysis: Find longest possible path (time-wise) between two flip-flops. If 2ns for AND and 3ns for XOR, with T delayff = 1ns and T setupff = 1 ns. So the total time is: 1 setupff +

More information

EECS 270 Midterm 2 Exam Answer Key Winter 2017

EECS 270 Midterm 2 Exam Answer Key Winter 2017 EES 270 Midterm 2 Exam nswer Key Winter 2017 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. NOTES: 1. This part of the exam

More information

EECS150 - Digital Design Lecture 18 - Counters

EECS150 - Digital Design Lecture 18 - Counters EECS150 - Digital Design Lecture 18 - Counters October 24, 2002 John Wawrzynek Fall 2002 EECS150 - Lec18-counters Page 1 Counters Special sequential circuits (FSMs) that sequence though a set outputs.

More information

EECS150 - Digital Design Lecture 18 - Counters

EECS150 - Digital Design Lecture 18 - Counters EECS50 - Digital Design Lecture 8 - Counters October 24, 2002 John Wawrzynek Fall 2002 EECS50 - Lec8-counters Page Counters Special sequential circuits (FSMs) that sequence though a set outputs. Examples:

More information

ECEN 468 Advanced Logic Design

ECEN 468 Advanced Logic Design ECEN 468 Advanced Logic Design Lecture 27: Verilog Delay Models Inertial Delay v Delay is caused by charging and discharging node capacitors in circuit B v Gate delay and wire delay v Pulse rejection o

More information

ENGG 1203 Tutorial _03 Laboratory 3 Build a ball counter. Lab 3. Lab 3 Gate Timing. Lab 3 Steps in designing a State Machine. Timing diagram of a DFF

ENGG 1203 Tutorial _03 Laboratory 3 Build a ball counter. Lab 3. Lab 3 Gate Timing. Lab 3 Steps in designing a State Machine. Timing diagram of a DFF ENGG 1203 Tutorial _03 Laboratory 3 Build a ball counter Timing diagram of a DFF Lab 3 Gate Timing difference timing for difference kind of gate, cost dependence (1) Setup Time = t2-t1 (2) Propagation

More information

Digital Control of Electric Drives

Digital Control of Electric Drives Digital Control of Electric Drives Logic Circuits - equential Description Form, Finite tate Machine (FM) Czech Technical University in Prague Faculty of Electrical Engineering Ver.. J. Zdenek 27 Logic

More information

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department Page 1 of 13 COE 202: Digital Logic Design (3-0-3) Term 112 (Spring 2012) Final

More information

Simulation of Logic Primitives and Dynamic D-latch with Verilog-XL

Simulation of Logic Primitives and Dynamic D-latch with Verilog-XL Simulation of Logic Primitives and Dynamic D-latch with Verilog-XL November 30, 2011 Robert D Angelo Tufts University Electrical and Computer Engineering EE-103 Lab 3: Part I&II Professor: Dr. Valencia

More information

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI 6 DEPARTMENT: EEE QUESTION BANK SUBJECT NAME: DIGITAL LOGIC CIRCUITS SUBJECT CODE: EE55 SEMESTER IV UNIT : Design of Synchronous Sequential Circuits PART

More information

Lecture 7: Sequential Networks

Lecture 7: Sequential Networks CSE 140: Components and Design Techniques for Digital Systems Lecture 7: Sequential Networks CK Cheng Dept. of Computer Science and Engineering University of California, San Diego 1 Part II: Sequential

More information

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D. Basic Experiment and Design of Electronics LOGIC CIRCUITS Ho Kyung Kim, Ph.D. hokyung@pusan.ac.kr School of Mechanical Engineering Pusan National University Digital IC packages TTL (transistor-transistor

More information

Solutions for Appendix C Exercises

Solutions for Appendix C Exercises C Solutions for Appix C Exercises 1 Solutions for Appix C Exercises C.1 A B A B A + B A B A B A + B 0 0 1 1 1 1 1 1 0 1 1 0 0 0 1 1 1 0 0 1 0 0 1 1 1 1 0 0 0 0 0 0 C.2 Here is the first equation: E = ((

More information

Chapter 8. Low-Power VLSI Design Methodology

Chapter 8. Low-Power VLSI Design Methodology VLSI Design hapter 8 Low-Power VLSI Design Methodology Jin-Fu Li hapter 8 Low-Power VLSI Design Methodology Introduction Low-Power Gate-Level Design Low-Power Architecture-Level Design Algorithmic-Level

More information

Roger L. Tokheim. Chapter 8 Counters Glencoe/McGraw-Hill

Roger L. Tokheim. Chapter 8 Counters Glencoe/McGraw-Hill Digital Electronics Principles & Applications Sixth Edition Roger L. Tokheim Chapter 8 Counters 2003 Glencoe/McGraw-Hill INTRODUCTION Overview of Counters Characteristics of Counters Ripple Up Counter

More information

Ch 9. Sequential Logic Technologies. IX - Sequential Logic Technology Contemporary Logic Design 1

Ch 9. Sequential Logic Technologies. IX - Sequential Logic Technology Contemporary Logic Design 1 Ch 9. Sequential Logic Technologies Technology Contemporary Logic Design Overview Basic Sequential Logic Components FSM Design with Counters FSM Design with Programmable Logic FSM Design with More Sophisticated

More information

Chapter 7. VLSI System Components

Chapter 7. VLSI System Components VLSI Design Chapter 7 VLSI System Components Jin-Fu Li Chapter 7 VLSI System Components Introduction Datapath Operators Memory Elements Control Structures 2 System-Level Hierarchy System (Top) Complex

More information

EECS150 - Digital Design Lecture 16 Counters. Announcements

EECS150 - Digital Design Lecture 16 Counters. Announcements EECS150 - Digital Design Lecture 16 Counters October 20, 2011 Elad Alon Electrical Engineering and Computer Sciences University of California, Berkeley http://www-inst.eecs.berkeley.edu/~cs150 Fall 2011

More information

ELCT201: DIGITAL LOGIC DESIGN

ELCT201: DIGITAL LOGIC DESIGN ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Following the slides of Dr. Ahmed H. Madian Lecture 10 محرم 1439 ه Winter

More information

Tate Bilinear Pairing Core Specification. Author: Homer Hsing

Tate Bilinear Pairing Core Specification. Author: Homer Hsing Tate Bilinear Pairing Core Specification Author: Homer Hsing homer.hsing@gmail.com Rev. 0.1 March 4, 2012 This page has been intentionally left blank. www.opencores.org Rev 0.1 ii Revision History Rev.

More information

Using Global Clock Networks

Using Global Clock Networks Using Global Clock Networks Introduction Virtex-II devices support very high frequency designs and thus require low-skew advanced clock distribution. With device density up to 0 million system gates, numerous

More information

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING EXAMINATION SEMESTER /2017

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING EXAMINATION SEMESTER /2017 UNIVERSITY OF BOLTON TW35 SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING EXAMINATION SEMESTER 2-2016/2017 INTERMEDIATE DIGITAL ELECTRONICS AND COMMUNICATIONS MODULE NO: EEE5002

More information

Chapter 5. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris. Chapter 5 <1>

Chapter 5. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris. Chapter 5 <1> Chapter 5 Digital Design and Computer Architecture, 2 nd Edition David Money Harris and Sarah L. Harris Chapter 5 Chapter 5 :: Topics Introduction Arithmetic Circuits umber Systems Sequential Building

More information

11.1 As mentioned in Experiment 10, sequential logic circuits are a type of logic circuit where the output of

11.1 As mentioned in Experiment 10, sequential logic circuits are a type of logic circuit where the output of EE 2449 Experiment 11 Jack Levine and Nancy Warter-Perez CALIFORNIA STATE UNIVERSITY LOS ANGELES Department of Electrical and Computer Engineering EE-2449 Digital Logic Lab EXPERIMENT 11 SEQUENTIAL CIRCUITS

More information

Digital Design through Pi

Digital Design through Pi 1 Digital Design through Pi G V V Sharma Contents 1 Display Control through Hardware 1 1.1 Components......... 1 1.2 Software Setup........ 1 1.3 Powering the Display.... 1 1.4 Controlling the Display...

More information

L10 State Machine Design Topics

L10 State Machine Design Topics L State Machine Design Topics States Machine Design Other topics on state machine design Equivalent sequential machines Incompletely specified machines One Hot State Machines Ref: text Unit 15.4, 15.5,

More information

EECS150 - Digital Design Lecture 25 Shifters and Counters. Recap

EECS150 - Digital Design Lecture 25 Shifters and Counters. Recap EECS150 - Digital Design Lecture 25 Shifters and Counters Nov. 21, 2013 Prof. Ronald Fearing Electrical Engineering and Computer Sciences University of California, Berkeley (slides courtesy of Prof. John

More information

ISSP User Guide CY3207ISSP. Revision C

ISSP User Guide CY3207ISSP. Revision C CY3207ISSP ISSP User Guide Revision C Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com Copyrights Copyrights

More information

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

LOGIC CIRCUITS. Basic Experiment and Design of Electronics Basic Experiment and Design of Electronics LOGIC CIRCUITS Ho Kyung Kim, Ph.D. hokyung@pusan.ac.kr School of Mechanical Engineering Pusan National University Outline Combinational logic circuits Output

More information

Register Transfer Level (RTL) Design based on Vahid chap. 5

Register Transfer Level (RTL) Design based on Vahid chap. 5 CSE4: Components and Design Techniques for Digital Systems Register Transfer Level (RTL) Design based on Vahid chap. 5 Tajana Simunic Rosing RTL Design Method RTL Design example: Laser-Based Distance Measurer

More information

EECS150 - Digital Design Lecture 17 - Sequential Circuits 3 (Counters)

EECS150 - Digital Design Lecture 17 - Sequential Circuits 3 (Counters) EECS150 - Digital Design Lecture 17 - Sequential Circuits 3 (Counters) March 19&21, 2002 John Wawrzynek Spring 2002 EECS150 - Lec13-seq3 version 2 Page 1 Counters Special sequential circuits (FSMs) that

More information

APA750 and A54SX32A LANSCE Neutron Test Report. White Paper

APA750 and A54SX32A LANSCE Neutron Test Report. White Paper APA750 and A54SX32A LANSCE Neutron Test Report White Paper December 2003 Table of Contents Executive Summary............................................................... 3 Background and Test Objectives.....................................................

More information

State Machines ELCTEC-131

State Machines ELCTEC-131 State Machines ELCTEC-131 Switch Debouncer A digital circuit that is used to remove the mechanical bounce from a switch contact. When a switch is closed, the contacts bounce from open to closed to cause

More information

Introduction EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 6: Sequential Logic 3 Registers & Counters 5/9/2010

Introduction EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 6: Sequential Logic 3 Registers & Counters 5/9/2010 EE 224: INTROUCTION TO IGITAL CIRCUITS & COMPUTER ESIGN Lecture 6: Sequential Logic 3 Registers & Counters 05/10/2010 Avinash Kodi, kodi@ohio.edu Introduction 2 A Flip-Flop stores one bit of information

More information

CSE140: Design of Sequential Logic

CSE140: Design of Sequential Logic CSE4: Design of Sequential Logic Instructor: Mohsen Imani Flip Flops 2 Counter 3 Up counter 4 Up counter 5 FSM with JK-Flip Flop 6 State Table 7 State Table 8 Circuit Minimization 9 Circuit Timing Constraints

More information

Programmable Logic Devices II

Programmable Logic Devices II Lecture 04: Efficient Design of Sequential Circuits Prof. Arliones Hoeller arliones.hoeller@ifsc.edu.br Prof. Marcos Moecke moecke@ifsc.edu.br 1 / 94 Reference These slides are based on the material made

More information

EE457 Home work #1 Review of EE254L material 3. Datapath and control design: You are given two 4-bit unsigned numbers, P and Q. You need to compare them and deposit the smaller in SMALL_REG and the bigger

More information

Lab 3 Revisited. Zener diodes IAP 2008 Lecture 4 1

Lab 3 Revisited. Zener diodes IAP 2008 Lecture 4 1 Lab 3 Revisited Zener diodes R C 6.091 IAP 2008 Lecture 4 1 Lab 3 Revisited +15 Voltage regulators 555 timers 270 1N758 0.1uf 5K pot V+ V- 2N2222 0.1uf V o. V CC V Vin s = 5 V Vc V c Vs 1 e t = RC Threshold

More information

Problem 10. Minimization of Incompletely Specified Finite State Machines.

Problem 10. Minimization of Incompletely Specified Finite State Machines. a b c d e f g h Problem 10. Minimization of Incompletely Specified Finite State Machines. d/ f/0 c/1 h/0 d/0 h/0 c/0 a/0 / f/0 e/0 a/0 c/1 / b/1 a/1 Machine M Given is Machine M (a) Find the minimal machine

More information

Mark A. Horowitz, Metha Jeeradit, Frances Lau, Sabrina Liao, ByongChan Lim, James Mao Electrical Engineering, Stanford University.

Mark A. Horowitz, Metha Jeeradit, Frances Lau, Sabrina Liao, ByongChan Lim, James Mao Electrical Engineering, Stanford University. Digital Analog Design Mark A. Horowitz, Metha Jeeradit, Frances Lau, Sabrina Liao, ByongChan Lim, James Mao Electrical Engineering, Stanford University Jaeha Kim Seoul National University My Overall Goal:

More information

Linear Feedback Shift Registers (LFSRs) 4-bit LFSR

Linear Feedback Shift Registers (LFSRs) 4-bit LFSR Linear Feedback Shift Registers (LFSRs) These are n-bit counters exhibiting pseudo-random behavior. Built from simple shift-registers with a small number of xor gates. Used for: random number generation

More information

State and Finite State Machines

State and Finite State Machines State and Finite State Machines See P&H Appendix C.7. C.8, C.10, C.11 Hakim Weatherspoon CS 3410, Spring 2013 Computer Science Cornell University Big Picture: Building a Processor memory inst register

More information

CHW 261: Logic Design

CHW 261: Logic Design CHW 26: Logic Design Instructors: Prof. Hala Zayed Dr. Ahmed Shalaby http://www.bu.edu.eg/staff/halazayed4 http://bu.edu.eg/staff/ahmedshalaby4# Slide Digital Fundamentals CHAPTER 8 Counters Slide 2 Counting

More information

Assembly Programming through Arduino

Assembly Programming through Arduino 1 Assembly Programming through Arduino G V V Sharma Contents 1 Components 1 2 Seven Segment Display 1 2.1 Hardware Setup....... 1 2.2 Software Setup........ 2 2.3 Controlling the Display... 2 3 Display

More information

ALU, Latches and Flip-Flops

ALU, Latches and Flip-Flops CSE14: Components and Design Techniques for Digital Systems ALU, Latches and Flip-Flops Tajana Simunic Rosing Where we are. Last time: ALUs Plan for today: ALU example, latches and flip flops Exam #1 grades

More information

Digital Fundamentals

Digital Fundamentals Digital Fundamentals Tenth Edition Floyd Chapter 9 Sections 9-1 thru 9-5 2009 Pearson Education, Upper 2008 Pearson Saddle River, Education NJ 07458. All Rights Reserved ET285 Agenda Week 2 Quiz 0: Covered

More information

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering TIMING ANALYSIS Overview Circuits do not respond instantaneously to input changes

More information

CSEE W3827 Fundamentals of Computer Systems Homework Assignment 3 Solutions

CSEE W3827 Fundamentals of Computer Systems Homework Assignment 3 Solutions CSEE W3827 Fundamentals of Computer Systems Homework Assignment 3 Solutions Prof. Martha A. Kim Columbia University Due October 10, 2013 at 10:10 AM Write your name and UNI on your solutions Show your

More information

VFD- RoHS Compliant M0116MY-161LSBR2-1. User s Guide. (Vacuum Fluorescent Display Module) For product support, contact

VFD- RoHS Compliant M0116MY-161LSBR2-1. User s Guide. (Vacuum Fluorescent Display Module) For product support, contact User s Guide M0116MY-161LSBR2-1 VF- RoHS Compliant (Vacuum Fluorescent isplay Module) For product support, contact Newhaven isplay International 2511 Technology rive, #101 Elgin, IL 60124 Tel: (847) 844-8795

More information

ECE 341. Lecture # 3

ECE 341. Lecture # 3 ECE 341 Lecture # 3 Instructor: Zeshan Chishti zeshan@ece.pdx.edu October 7, 2013 Portland State University Lecture Topics Counters Finite State Machines Decoders Multiplexers Reference: Appendix A of

More information

EECS150 - Digital Design Lecture 23 - FFs revisited, FIFOs, ECCs, LSFRs. Cross-coupled NOR gates

EECS150 - Digital Design Lecture 23 - FFs revisited, FIFOs, ECCs, LSFRs. Cross-coupled NOR gates EECS150 - Digital Design Lecture 23 - FFs revisited, FIFOs, ECCs, LSFRs April 16, 2009 John Wawrzynek Spring 2009 EECS150 - Lec24-blocks Page 1 Cross-coupled NOR gates remember, If both R=0 & S=0, then

More information

EECS150 - Digital Design Lecture 22 - Arithmetic Blocks, Part 1

EECS150 - Digital Design Lecture 22 - Arithmetic Blocks, Part 1 EECS150 - igital esign Lecture 22 - Arithmetic Blocks, Part 1 April 10, 2011 John Wawrzynek Spring 2011 EECS150 - Lec23-arith1 Page 1 Each cell: r i = a i XOR b i XOR c in Carry-ripple Adder Revisited

More information

RT54SX72SU Heavy Ion Beam Test Report. August 6, 2004 J.J. Wang (650)

RT54SX72SU Heavy Ion Beam Test Report. August 6, 2004 J.J. Wang (650) RT54SX72SU Heavy Ion Beam Test Report August 6, 2004 J.J. Wang (650) 318-4576 jih-jong.wang@actel.com 1 SUMMARY RT54SX72SU from UMC foundry is heavy-ion-beam tested for single event effects (SEE) at Brookhaven

More information

Random Number Generator Digital Design - Demo

Random Number Generator Digital Design - Demo Understanding Digital Design The Digital Electronics 2014 Digital Design - Demo This presentation will Review the oard Game Counter block diagram. Review the circuit design of the sequential logic section

More information

ENGG1015: Homework 1

ENGG1015: Homework 1 ENGG1015 Homework 1 Question 1 ENGG1015: Homework 1 Due: Nov 5, 2012, 11:55pm Instruction: Submit your answers electronically through Moodle (Link to Homework 1). You may type your answers using any text

More information

Design for Testability

Design for Testability Design for Testability Outline Ad Hoc Design for Testability Techniques Method of test points Multiplexing and demultiplexing of test points Time sharing of I/O for normal working and testing modes Partitioning

More information

L15: Custom and ASIC VLSI Integration

L15: Custom and ASIC VLSI Integration L15: Custom and ASIC VLSI Integration Average Cost of one transistor 10 1 0.1 0.01 0.001 0.0001 0.00001 $ 0.000001 Gordon Moore, Keynote Presentation at ISSCC 2003 0.0000001 '68 '70 '72 '74 '76 '78 '80

More information

Lecture 10: Synchronous Sequential Circuits Design

Lecture 10: Synchronous Sequential Circuits Design Lecture 0: Synchronous Sequential Circuits Design. General Form Input Combinational Flip-flops Combinational Output Circuit Circuit Clock.. Moore type has outputs dependent only on the state, e.g. ripple

More information