Pre-Laboratory #Boolean Expressions ECE 332

Similar documents
Laboratory #Intro to Xilinx ISE and CR-2 Kit ECE 332

A4988 Stepper Motor Driver Carrier with Voltage Regulators

Finite State Machine Lab

ECE 270 Lab Verification / Evaluation Form. Experiment 1

AVR Board Setup General Purpose Digital Output

Copyright 2011 R.S.R. Electronics, Inc. All rights reserved. 04/11. Ver. 1.0web

CHAPTER 2 LITERATURE REVIEW

COS 116 The Computational Universe Laboratory 7: Digital Logic I

WICE-SPI Hardware Operation Manual

LCD Prototype Circuit on Solderless Breadboard. 840 Pin Solderless Breadboard ( # ND)

Experiment 2 Fall 2012

USB Type A Female Breakout Hookup Guide

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 09 MULTIPLEXERS

PB-MC-AVR28 28 Pin AVR Full Size Development Board

A4988 Stepper Motor Driver Carrier

A4988 Stepper Motor Driver Carrier, Black Edition

TECH 3821 Lab #2 Relay Driver with Computer Control

Experiment 9: Binary Arithmetic Circuits. In-Lab Procedure and Report (30 points)

University of Florida EEL 4744 Drs. Eric M. Schwartz, Karl Gugel & Tao Li Department of Electrical and Computer Engineering

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

EE 231 Fall EE 231 Lab 3. Decoders and Multiplexers. Figure 1: 7-Segment Display. Memory: where the program is stored.

PART 1. Simplification Using Boolean Algebra

Go-Baby-Go Senior Capstone Project

Touch Control Switch + - R6 R4 R8 R7 CAT# Grading. Assembly Instructions by Earl D. Gates SUNY Oswego Fall Conference 2007.

Hardware Manual - SM2251 Evaluation Kit Board

Quick Start by JP Liew

7 8 9 C. PRELAB REQUIREMENTS You must adhere to the Lab Rules and Policies document for every lab.

Experiment 8 Introduction to VHDL

Pi PoE Switch HAT Quick Start And FAQ. Getting started. Kit contents

Digital Pins and Constants

INSTALLATION INSTRUCTIONS Model VCC2002-A1 Voice input/output Card

1 Discussion. 2 Pre-Lab

USB-COMi-TB USB to Industrial Single RS-422 / 485 Adapter Manual. Specifications and Features

ECE241 Digital Systems Lab 2 Altera Software Tutorial and Use

CPLD Software Tutorial FOR ALTERA MAX+PLUS II

UF-3701 Power Board Construction Guide

A B A+B

PUSH BUTTON. Revision Class. Instructor / Professor LICENSE

A3 A2 A1 A0 Sum4 Sum3 Sum2 Sum1 Sum

LCMM024: DRV8825 Stepper Motor Driver Carrier,

EE 231 Fall EE 231 Lab 3

Number Name Description Notes Image 0101 Resistor, 100 ohm. brown-black-browngold. ¼ watt, 5% tolerance, red-red-brown-gold. brown-black-red-gold.

Standard Logic Chips and National Instruments ELVIS Breadboarding for Combinational Logic Circuits

PB-MC-AVR28 28 Pin AVR Full Size Development Board

NAND. Grade (10) Instructor. Logic Design 1 / 13

FPGA Discovery-III XC3S200 Board Manual

Module 3B: Arduino as Power Supply

Post Tenebras Lab. Written By: Post Tenebras Lab

Lesson 8: Digital Input, If Else

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

BUILDING YOUR KIT. For the Toadstool Mega328.

GEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module

Theme 2: Introduction to Digital systems

EMT1250 LABORATORY EXPERIMENT. EXPERIMENT # 6: Quartus II Tutorial and Practice. Name: Date:

Using solderless breadboards

Labview Lab 2. Vern Lindberg. April 16, 2012

PHYC 500: Introduction to LabView. Exercise 16 (v 1.2) Controlling hardware with DAQ device. M.P. Hasselbeck, University of New Mexico

9 Output Devices: Buzzers

SigmaFlux Workshops Brochure Contact: Karan Makharia / Karan Kapoor

Robustel GoRugged M1000 USB Quick Guide

Phi-connect for Arduino (connector board V1.9)

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

How-To #7: Assemble an H-bridge Circuit Board

Adafruit USB Power Gauge Mini-Kit

Freescale Semiconductor Inc. Microcontroller Solutions Group. TWR-MCF51CN User Manual Rev. 1.1

ISOLATED RS-232 TO RS-422/485 CONVERTER

CHAPTER 5. Voltage Regulator

Laboratory 1 Introduction to the Arduino boards

ZIC2410 Getting Started Guide

Professional Development Board (#28138)

SmartEQ Pro+ with Go2Nova 8408 Hand Controller Firmware Upgrade

EE 231 Fall EE 231 Lab 2

C50- PARALLEL PORT INTERFACE CARD Rev. 1

Building the FlipChip Tester

Hands-on Lab. Lego Communications I2C Basics

USER S MANUAL VER.1. C10D- PARALLEL PORT INTERFACE CARD BOARD Rev. 1

Space Duel 4 in 1 MultiVector INSTALL GUIDE

General-Purpose Microcontroller Module 12a Hardware Reference Release 1.4a (October 11, 2017)

Prop-1 Controller PN: 31101

Mercury Baseboard Reference Manual

Build the Machine Science XBoard, with a programmable microcontroller.

COMPUTER ENGINEERING PROGRAM

Specification. 1.Power Supply direct from Microcontroller Board. 2.The circuit can be used with Microcontroller Board such as Arduino UNO R3.

8051 Basic Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

MP6500 Stepper Motor Driver, Digital Current Control

BUS CONVERTER (TJA1054) User Manual

Cube II/Cube Pro with Go2Nova 8408 Hand Controller Firmware Upgrade

A3-TFFCBL-02 USB-to-UART Adapter User Manual

Sierra Radio Systems. Digital Compass. Reference Manual. Version 1.0

CEM120 Firmware Upgrade

USER S MANUAL C10- PARALLEL PORT INTERFACE CARD

EE 1315: DIGITAL LOGIC LAB EE Dept, UMD

Installation Instructions

Application Note: AN0106. On-Board SPI Programming with Dediprog tools: End User Version

Announcements Homework #3 due today. Ports. Outline for Today C8051 SFRs & Port I/O Worksheet #4 - simple I/O code. Using Ports

SCXI SHIELDED MULTI-CHASSIS CABLE ADAPTER

Basic Input/Output Operations

DX-10 tm Digital Interface User s Guide

USB Stamp Adapter Board

Design Accelerator Kit TFT User Manual

Transcription:

Name: G Number: Pre-Laboratory #Boolean Expressions ECE 332 1 Introduction This pre-lab is divided into two parts. In part one you will build a circuit for providing inputs to your CPLD board on your breadboard. Bring the completed pre-lab to your lab session and get it verified with your lab instructor. In part two you have to derive a boolean expression for the output given a truth table. CAUTION: Do not supply power to the input circuit and the CPLD board with out getting permission from the instructor. If the connections are wrong your CPLD board will get damaged (you may have to buy a new board again!!). 2 Input circuit Part 1 In this part of the pre-lab you are going to build an input circuit to supply inputs to your CPLD board. Figure 1 shows how the completed circuit might look like. Please note that Figure 1 shows only three switches connected to the CPLD board. The remaining switches can be connected in the same fashion. The input circuit is shown on the breadboard (on the lower part of the Figure 1) which is connected to the CPLD board. USB DIP Switch CPLD Board Ground 6 Pin Connector Resistor Network Figure 1: Completed Circuit Board 1

ECE 332 Pre-Lab #3 2 2.1 Input Circuit Your Cool runner-2 CPLD board has four input switches. Two are sliding switches and the other two are push button switches. In the next labs you are going to have experiments which require more than 4 inputs and hence you are going to build an input circuit. Dual Inline Package (DIP) switches are commonly used for this purpose. The DIP switch used for the 332-lab comprises eight single switches. These switches can be either On or Off. In order to make a single switch switch between a logic 1 and a logic 0 a pull-up resistor is needed. The resistor is connected to Vcc and to one side of the switch, the output. The other side of the switch is connected to ground. When the switch is open, the output gets pulled high by the resistor. When the switch is closed, the output is low. Figure 2 shows the schematic of the input circuit with four switches and four pull up resistors. 4 x 1KΩ S4 S3 S2 S1 J4 2 J4 1 J4 4 J4 3 Figure 2: Schematic of the Input Circuit The input circuit uses four resistors of the same value, all connected with one pin to Vcc. A resistor network can do this much more elegantly. Figure 3 shows the resistors in the resistor network are connected. Pin 1 is the pin that is connected to all resistors. It is marked on the plastic casing by either an indentation or a dot. 1 2 3 4 5 6 7 8 9 10 Figure 3: Resistor Network Now build the input circuit on the left most part of your bread board. Connect all inputs of the DIP switch to ground and each of the outputs to Pins 2 through 9 of the resistor network. Connect Pin 1 of the resistor network to Vcc. Figure 4 shows the actual input circuit.

ECE 332 Pre-Lab #3 3 All Pins are Grounded To CPLD Ground Figure 4: Input Circuit on the Bread Board Figure 5. shows the two jumpers which you are going to use for this lab. They are marked with a red box and are termed as J1 and J4. Both of the jumpers are 12-pin female connectors. J1 J4 Figure 5: Jumpers on the CPLD board You should have two 6-pin male connectors in your 332-lab kit. You are going to connect one 6-pin male connector to the front 6-pins of J4 and the other to the back 6-pins of J1 as shown in Fig 6. The pins J4-6 should be connected to Vcc and J1-11 to ground on the bread board(shown in Fig 7). You are going to connect pins J1-7,8,9,10 and J4-1,2,3,4 to the DIP switches. The pin configuration for the two jumpers is also shown in the Figure 7

ECE 332 Pre-Lab #3 4 Connected to Front 6 pins Connected to Back 6 pins J4 J1 Female Connector Male Connector Figure 6: Pin connections of J1 and J4 with the connectors J4 4 GND(Do Not Connect) (J4 6) J4 3 J4 2 J4 1 Front 6 Pins Back 6 pins (Do Not Connect) GND(J1 11) J1 10 J1 7 J1 8 J1 9 Figure 7: Pin configuration of J1 and J4 After connecting the CPLD board to the input circuit on the breadboard, make sure that the two boards are firmly attached. The board and the DIP switches will be powered via the USB port when connected to the computer. Note (again) : Please do not power the CPLD board with out getting permission from your lab instructor.

ECE 332 Pre-Lab #3 5 Part 2 3 Derive the Boolean Expression In this part of the pre-lab you are going to derive a Boolean expression for each of the outputs (F and G) in the Truth Table given in Table 1 below. Both outputs are functions of the inputs A, B, and C. A B C F G 0 0 0 0 0 0 1 0 0 1 1 0 2 0 1 0 1 0 3 0 1 1 0 1 4 1 0 0 1 0 5 1 0 1 0 1 6 1 1 0 0 1 7 1 1 1 1 1 The Boolean expressions for F : G : Table 1: Truth Table for the Circuit Lab #3 requires that you write the VHDL code that implements the Boolean expressions described by the Truth Table shown above.