Wiki Lab Book. This week is practice for wiki usage during the project.



Similar documents
To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Chapter 9 Latches, Flip-Flops, and Timers

CHAPTER 11: Flip Flops

Module 3: Floyd, Digital Fundamental

Asynchronous Counters. Asynchronous Counters

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

Lesson 12 Sequential Circuits: Flip-Flops

Counters and Decoders

Contents COUNTER. Unit III- Counters

Lecture 8: Synchronous Digital Systems

A Lesson on Digital Clocks, One Shots and Counters

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Chapter 8. Sequential Circuits for Registers and Counters

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

Sequential Logic: Clocks, Registers, etc.

Decimal Number (base 10) Binary Number (base 2)

Asynchronous counters, except for the first block, work independently from a system clock.

A Lesson on Digital Clocks, One Shots and Counters

Cascaded Counters. Page 1 BYU

Upon completion of unit 1.1, students will be able to

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

Digital Logic Design Sequential circuits

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design

DM7474 Dual Positive-Edge-Triggered D-Type Flip-Flops with Preset, Clear and Complementary Outputs

Fig1-1 2-bit asynchronous counter

EXPERIMENT 8. Flip-Flops and Sequential Circuits

Counters. Present State Next State A B A B

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

ASYNCHRONOUS COUNTERS

Development of a Simple Sound Activated Burglar Alarm System

Digital Fundamentals

Lecture 7: Clocking of VLSI Systems

Digital Controller for Pedestrian Crossing and Traffic Lights

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Lecture-3 MEMORY: Development of Memory:

A New Paradigm for Synchronous State Machine Design in Verilog

Memory Elements. Combinational logic cannot remember

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

How to Read a Datasheet

Chapter 7. Registers & Register Transfers. J.J. Shann. J. J. Shann

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

Registers & Counters

Introduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems

Lab Unit 4: Oscillators, Timing and the Phase Locked Loop

3-Digit Counter and Display

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters

Systems I: Computer Organization and Architecture

DM74LS112A Dual Negative-Edge-Triggered Master-Slave J-K Flip-Flop with Preset, Clear, and Complementary Outputs

Counters & Shift Registers Chapter 8 of R.P Jain

The components. E3: Digital electronics. Goals:

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

LAB4: Audio Synthesizer

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

Engr354: Digital Logic Circuits

CHAPTER 11 LATCHES AND FLIP-FLOPS

74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

TS555. Low-power single CMOS timer. Description. Features. The TS555 is a single CMOS timer with very low consumption:

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

DM54161 DM74161 DM74163 Synchronous 4-Bit Counters

Master/Slave Flip Flops

CS311 Lecture: Sequential Circuits


Measuring Resistance Using Digital I/O

Features. Applications

Operating Manual Ver.1.1

54LS169 DM54LS169A DM74LS169A Synchronous 4-Bit Up Down Binary Counter

Combinational Logic Design Process

PURDUE UNIVERSITY NORTH CENTRAL

74F168*, 74F169 4-bit up/down binary synchronous counter

MM74HC4538 Dual Retriggerable Monostable Multivibrator

Low Cost Pure Sine Wave Solar Inverter Circuit

Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

A Digital Timer Implementation using 7 Segment Displays

Designing With the SN54/74LS123. SDLA006A March 1997

Lecture 11: Sequential Circuit Design

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

Digital Electronics Detailed Outline

BINARY CODED DECIMAL: B.C.D.

[ 4 ] Logic Symbols and Truth Table

Sequential Logic Design Principles.Latches and Flip-Flops

Theory of Logic Circuits. Laboratory manual. Exercise 3

Traffic Light Controller. Digital Systems Design. Dr. Ted Shaneyfelt

Experiment 8 : Pulse Width Modulation

Digital Logic Elements, Clock, and Memory Elements

SN54/74LS192 SN54/74LS193

DM74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute. 2nd (Spring) term 2012/2013

Fairchild Semiconductor Application Note July 1984 Revised May Definition

Transcription:

Wiki Lab Book Use a wiki as a lab book. Wikis are excellent tools for collaborative work (i.e. where you need to efficiently share lots of information and files with multiple people). This week is practice for wiki usage during the project. Both lab partners will use the same wiki (i.e. you will both submit the same link to instructor and grader). Completeness is very important neatness should be easy. You may use any available wiki hosting service (wm, etc ) suggested provider: http://pbwiki.com/ ( with only 10 MB of space, you can link to your W&M webspace to increase the effective memory available to your wiki).

Web page lab report The lab report for this week s lab will be in the form of a webpage. The webpage should be in HTML (i.e. filename.html ). You are free to use any webpage making program you wish, but extra credit will be awarded for those reports programmed directly by you in HTML. The webpage should be hosted on your public H drive space (i.e. if you name your webage index.html and put it in the public_html folder of your H drive, then you can view it at: http://username.people.wm.edu/ You should send a link to your lab report webpage by e-mail to the grader and the instructor by Monday, September 29 (midnight deadline). Lab report should cover lab exercises 1, 2, and 3. There is no length limit on the lab report. 1 lab report per person.

Timing pulses & Intro to counters (hardware & Verilog)

Timing Pulses Important element of laboratory electronics Pulses can control logical sequences with precise timing. If your detector sees a charged particle or a photon, you might want to signal a clock to store the time at which it occurred. You could use the event to generate a standard pulse so that your clock always responds in the same way. Alternatively, you might need to reset your electronics after the event Clearly you want the reset pulse to arrive as soon as possible after the data has been processed This requires a precision time delay generator

Timing Pulses A simple type of delay generator 1. A D-type flip-flop flop receives a clock edge and goes from low to high at the output 2. The output charges up an RC circuit after going high. 3. The charged capacitor also serves as the clear input to the D flip-flop. 4. So, that after a fixed time (roughly RC) ) the flip-flop flop resets back to its initial state. 5. The net result is a single pulse that has a duration (or pulse width) determined by the combination of the resistor & capacitor This is called a monostable multivibrator or one-shot.

One-shot: D-type D flip-flop flop + 5V S or PRE Input D Q output clock Pulse Input Q [Texas Instruments 74LS74 flip-flop datasheet] R or CLR R C

One-shot: D-type D flip-flop flop + 5V S or PRE Input D Q output clock Pulse Input Q [Texas Instruments 74LS74 flip-flop datasheet] R or CLR R C

One-shot: D-type D flip-flop flop + 5V S or PRE Input D Q output clock Pulse Input Q [Texas Instruments 74LS74 flip-flop datasheet] R or CLR R C

Characteristics: One-shot: 74LS123 2 clock inputs triggered by either a rising edge or a falling edge. 2 outputs (Q( & Q). A reset or clear input, instantly sets the output to a standard condition regardless of the current state or clock level. Can be confused a little by pulses in quick succession.

Characteristics: One-shot: 74LS123 2 clock inputs triggered by either a rising edge or a falling edge. 2 outputs (Q( & Q). A reset or clear input, instantly sets the output to a standard condition regardless of the current state or clock level. Can be confused a little by pulses in quick succession. armed output pulse

74LS123 usage C R + 5V [Texas Instruments 74LS123 datasheet]

Pulse Delay Generator A single one-shot will produce a variable delay pulse. 2 one-shots can be combined to produce a pulse of variable duration/width produced at variable delay after a trigger. Pulse Delay Generator very useful in a research lab.

Pulse Delay Generator A single one-shot will produce a variable delay pulse. 2 one-shots can be combined to produce a pulse of variable duration/width produced at variable delay after a trigger. Pulse Delay Generator very useful in a research lab. [image from www.thinksrs.com]

Setting the Pulse Width with

The Problem with One-Shots 1. One-shots are very useful in a research laboratory as pulse delay generators. 2. One-shots should be avoided in regular circuitry, because They are useful in asynchronous circuits for avoiding glitches and signal races It s very easy to put them all over your asynchronous circuit with all the pulse timing set just right. It is very hard to figure out how the circuit works just by looking at it (or even a circuit diagram). The pulse width depends on temperature (R, C, and chip). The pulse width depends on supply voltage.

Pulse Width vs. Temperature

Pulse Width vs. Supply Voltage

Counters 1 2 3 4 1. Frequency dividers. 2. Counters in Verilog. 3 Ripple counter (next week). 4. Synchronous counter (next week).

JK-type flip-flop flop Logic table for clock falling edge input J Q output J K Q n+1 clock input K C Q 0 0 Q n 1 0 0 0 1 1 1 1 Q n JK-type flip-flops are used in counters.

T-type flip-flops are used in counters. T-type flip-flop flop JK Logic table J Q output J K Q n+1 clock K C Q 0 0 Q n 1 0 0 0 1 1 input 1 1 Q n input T Q output T Logic table (clock falling edge) clock C T Q n+1 0 Q n Q 1 Q n

Counters in Verilog Counters in Verilog are easy just use always (synchronous). and a self-referential add 1 assignment.

Initializing a register

Initializing a register This section initializes the register to zero. ( initial is only for simulation!)

if statement

Variable Registers Recommendation: check the Technology Map Viewer after compiling.

The function command (I)

The function command (II)