ELEC 204 Digital System Design LABORATORY MANUAL



Similar documents
The ad hoc reporting feature provides a user the ability to generate reports on many of the data items contained in the categories.

Topic: Import MS Excel data into MS Project Tips & Troubleshooting

How to put together a Workforce Development Fund (WDF) claim 2015/16

Accident Investigation

Service Desk Self Service Overview

Firewall/Proxy Server Settings to Access Hosted Environment. For Access Control Method (also known as access lists and usually used on routers)

efusion Table of Contents

HeartCode Information

TELE9753 Advanced Wireless Communications

AP Capstone Digital Portfolio - Teacher User Guide

Spamguard SPAM Filter

Competitive Intelligence Report - Market Snapshot Explanations of Numbers Suggestions and Tips

DFRobot Romeo All-in-one Microcontroller (ATMega 328) Product code : RB-Dfr-36. Manual. o o. o o o. o 6.2 Example use of Button 1-5. o o o o.

UTO Training Bb Discussion Boards. Technical Assistance: Website: Help Desk Phone: (24/7 support) Instruction

esupport Quick Start Guide

COE: Hybrid Course Request for Proposals. The goals of the College of Education Hybrid Course Funding Program are:

CSE 231 Fall 2015 Computer Project #4

Application Note: 202

Connecting to

Table of Contents. About... 18

Fraser Surrey Docks Adds Compliance System to the Container Gate Reservation System (GRS)

learndirect Test Information Guide The National Test in Adult Numeracy

2 DAY TRAINING THE BASICS OF PROJECT MANAGEMENT

Basic Guide line for The Sportident system

PBS TeacherLine Course Syllabus

Software Quality Assurance Plan

Statistical Analysis (1-way ANOVA)

HUSKYMONKEY WS Real Estate CRM Working with Advertisement Portals

Admission Scheduling

Software and Hardware Change Management Policy for CDes Computer Labs

Exercise 5 Server Configuration, Web and FTP Instructions and preparatory questions Administration of Computer Systems, Fall 2008

Army DCIPS Employee Self-Report of Accomplishments Overview Revised July 2012

UNIVERSITY OF CALIFORNIA MERCED PERFORMANCE MANAGEMENT GUIDELINES

BRILL s Editorial Manager (EM) Manual for Authors Table of Contents

Chris Chiron, Interim Senior Director, Employee & Management Relations Jessica Moore, Senior Director, Classification & Compensation

Dreamweaver MX Templates

Excel Contact Reports

Preparing to Deploy Reflection : A Guide for System Administrators. Version 14.1

Software Update Notification

P CARD College of Health and Rehabilitation Sciences: Sargent Internal Policy

Budget Planning. Accessing Budget Planning Section. Select Click Here for Budget Planning button located close to the bottom of Program Review screen.

Getting Started Guide

SKILLS CANADA - ONTARIO

Environmental Science

edoc Lite Recruitment Guidelines

GUARD1 /plus. PIPE Utility. User's Manual. Version 2.0

Frequently Asked Questions November 19, Which browsers are compatible with the Global Patent Search Network (GPSN)?

Cancer Treatments. Cancer Education Project. Overview:

AURUS Expense claim - credit card

Pervasive Data Integrator. REST Invoker 2.0 Guide

Times Table Activities: Multiplication

SITE APPLICATIONS USER GUIDE:

Access EEC s Web Applications... 2 View Messages from EEC... 3 Sign In as a Returning User... 3

Operational Amplifier Circuits Comparators and Positive Feedback

Service Request Form

Meet Moodle Students introduction to Moodle and

Customers FAQs for Webroot SecureAnywhere Identity Shield

Hardware components. Typical connections and data flow. Student 3 page 1: Low Merit

Writing a Compare/Contrast Essay

Contents. Extra copies of this booklet are available on the Study Skills section of the school website (

Implementing SQL Manage Quick Guide

CSAT Account Management

Criminal Justice Administration Introduction to Criminal Justice CRMJ 1010 Spring Semester 2013 Course Information Course Description:

CREDIT REPORTING USER GUIDE

Unit tests need to be supervised and the final exam invigilated.

Student Academic Learning Services Page 1 of 7. Statistics: The Null and Alternate Hypotheses. A Student Academic Learning Services Guide

Case Scenarios and Sample Claim Form Entries for Outcomes Reporting for Medicare Part B Therapy Services

OUR DISCIPLINARY POLICY

TRAINING GUIDE. Crystal Reports for Work

LISTSERV ADMINISTRATION Department of Client Services Information Technology Systems Division

Success in Mathematics

Systems Support - Extended

MapReduce Laboratory

Point2 Property Manager Quick Setup Guide

Evacuation Procedures. In a senior boarding school operating 24 hours a day during term time:

What Happens To My Benefits If I Get a Bunch of Money? TANF Here is what happens if you are on the TANF program when you get lump-sum income:

Succession Planning & Leadership Development: Your Utility s Bridge to the Future

TaskCentre v4.5 Send Message (SMTP) Tool White Paper

FORM ADV (Paper Version) UNIFORM APPLICATION FOR INVESTMENT ADVISER REGISTRATION AND REPORT FORM BY EXEMPT REPORTING ADVISERS

Exercise 5 Server Configuration, Web and FTP Instructions and preparatory questions Administration of Computer Systems, Fall 2008

Tipsheet: Sending Out Mass s in ApplyYourself

Exercise 6: Gene Ontology Analysis

PERFORMANCE APPRAISAL - A STEP-BY-STEP GUIDE FOR EXECUTIVE DIRECTORS AND SUPERVISORS OF NATIONAL HOTEL ASSOCIATIONS

What Does Specialty Own Occupation Really Mean?

Exchanging Files Securely with Gerstco Using gpg4win Public Key Encryption

The AppSec How-To: Choosing a SAST Tool

MIDI Reference. Table of Contents

SBClient and Microsoft Windows Terminal Server (Including Citrix Server)

FAQs for Webroot SecureAnywhere Identity Shield

Patient Participation Report

Use the CV module within Pure to create several CVs, each targeted towards a different objective (e.g. a specific project or funding application).

Personal Data Security Breach Management Policy

Change Management Process

UNIT PLAN. Methods. Soccer Unit Plan 20 days, 40 minutes in length. For 7-12 graders. Name

1.3. The Mean Temperature Difference

HOWTO: How to configure SSL VPN tunnel gateway (office) to gateway

Customer Services: Our Ref:

WORKPLACE INJURY/ILLNESS/INCIDENT INVESTIGATION & REPORTING POLICY (BC VERSION)

Welcome to Microsoft Access Basics Tutorial

FINRA Regulation Filing Application Batch Submissions

Transcription:

ELEC 204 Digital System Design LABORATORY MANUAL : Design and Implementatin f a 3-bit Up/Dwn Jhnsn Cunter Cllege f Engineering Kç University Imprtant Nte: In rder t effectively utilize the labratry sessins, yu shuld read the manual and prepare the experiments befre the sessins.

1. Objectives: The purpse f this lab is: 1. T get familiar with the flip-flps 2. T design an up/dwn Jhnsn cunter using D flip-flps 3. T implement the cunter using Xilinx FPGA bard 4. T experimentally check the peratin f the cunter The gal is t design a Jhnsn cunter that can cunt up r dwn, depending n the setting f a cntrl input UP/DOWN. The cunter has an asynchrnus reset (r clear) input which brings the utputs t 0 as sn as the RESET signal is asserted. The cunter cunts at the negative edge f the clck. When the UP input is high, the cunter cunts in ne directin and when UP is lw, it cunts in the ther directin, as shwn in the state transitin diagram. Figure 1: State transitin diagram fr up/dwn cunter. 2. Equipments: Spartan Bard Pentium PC Cables/wires t cnnect them Adapter t supply pwer t Spartan bard

2. Preliminary Wrk 1. Review the design prcedure in yur class ntes r the textbk fr cunters. 2. Use the standard cunter design prcess t design this up/dwn cunter with D flip-flps. Ntice that the asynchrnus reset will bring the cunter in a knwn and allwed state (000). a. Give the state transitin table (cnsider the UP signal as an input tgether with the three present states). b. Draw the K-maps fr the three D inputs: D A, D B and D C. c. Give the lgic expressin and lgic diagram f each functin D A, D B and D C. Can yu see similarities between these three functins? d. This state machine will have unused states. In case yu get stuck int ne f these unused states, e.g. state (010), what will the next tw states be, assuming that yu d nt use the reset switch t get back int the starting state: (010) -> (???) -> (???). Is this a self-starting cunter? e. Based n the similarities (r symmetries) f the three functins D A, D B and D C, can yu extend the design t mre bits? Give the expressins f D A, D B, D C, and D D fr a 4-bit Jhnsn cunter. Als draw the schematic in yur ntebk. 3. Sketch the full diagram f the 4-bit Jhnsn cunter (lgic and FF) using negative edge triggered D flip-flps with an asynchrnus reset. Assume that the D flipflps are available as building blcks (yu d nt have t design yur wn flipflp). 3 Experimental Wrk The gal is t enter the schematic f the Jhnsn cunter, t simulate, implement and test the cunter n the FPGA dembard. The clck f the FPGA is very high, therefre yu shuld give the clck by hand. Yu shuld use switches fr this. But there is a prblem abut switches. Due t the mechanical restrictins when yu push the switch, sme glitching effect ccurs as shwn belw figure 2. It is called debuncing. Yu have t use a circuit fr aviding the debunce effect f the switches. Figure 2. Debunce Effect f the switches.

In rder t avid thse glitches yu have t implement the circuitry as in figure 3 and use the utput f this circuitry. The circuit wrks like that when yu push the push buttn it utputs a narrw pulse (smaller than 2 pulses f the FPGA clck) withut glitches. Figure 3. Circuit t avid debuncing (glitch effects) In this circuit we will use the 30 MHz clck f the FPGA fr the clck. And a push buttn fr the btn input. The utput f the OR2 is the clck that will be used in the remaining circuit. Create the schematic f the Jhnsn cunter accrding t the design f the pre-lab. Keep the schematic as simple as pssible. If yu can use a macr fr the lgic fr the D inputs, yu shuld d s t keep the schematic frm being cluttered with t many gates and wires. Fr the D flip-flp, use ne f the flip-flps which are available in the Xilinx library (SC Symbls windw). The name f D flip-flps starts with FD. Fr instance, FD is a Lw t High edge triggered (psitive edge triggered) flip flp withut clear (reset) input, FDC is a psitive edge triggered D flip-flp with a clear (reset) input; FDC_1 is a negative edge triggered D flip-flp with a clear input. If yu are nt sure, select the flipflp and a brief descriptin f the flip-flp will appear at the bttm f the SC Symbl windw.

Yu will need a clck t advance the cunter. There is a clck inside the PEGASUS bard. But it is t fast yu will use it by adjusting the ucf file f the Xilinx prject fr building Figure 3 and then yur clck will be the utput f OR2 gate in the figure 3. The state f the cunter will be displayed n the 7-segment LED display. Design the decder fr the display r yu may use yur ld design as a macr. Yu may use f the lgic switches as UP/DOWN cntrl and the RESET signal. 4 Assessment Yu have t hand in a lab reprt that cntains the fllwing: Curse Title, Lab title, yur names and date Sectin n the preliminary explaining the design f each blck and giving the answers t each task. Sectin n the lab experiment: a. Brief descriptin f the gals. b. Brief explanatin f the design apprach and the verall schematic. c. Cpy f the schematics (as a screen capture). Label the schematics and cmment n the surce cde. d. Lgic simulatin (screen capture f the wavefrms; label the utputs t prve that the circuit functins prperly). e. Discussin f the results indicating that the circuit functins prperly. Cnclusin and discussin.