EEL 3705 / 3705L Digital Logic Design

Slides:



Advertisements
Similar presentations
Chapter 4 Gates and Circuits.
Advertisements

Gates and Circuits Nell Dale & John Lewis (adaptation by Erin Chambers and Michael Goldwasser)
CT455: Computer Organization Logic gate
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Programmable Logic Devices
EECC341 - Shaaban #1 Lec # 1 Winter Introduction to Digital Systems Analog devices and systems process time-varying signals that can take.
1 Digital Logic
Chapter 4 Gates and Circuits.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
Lab 1 Structure of a PLD Module M1.4 Experiment 1 (p. 40)
Binary Logic and Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Chapter 4 Gates and Circuits.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Lecture #3 Page 1 ECE 4110– Sequential Logic Design Lecture #3 Agenda 1.FPGA's 2.Lab Setup Announcements 1.No Class Monday, Labor Day Holiday 2.HW#2 assigned.
CPS120: Introduction to Computer Science
Lecture #3 Page 1 ECE 4110– Sequential Logic Design Lecture #3 Agenda 1.FPGA's 2.Lab Setup Announcements 1.No Class Monday, Labor Day Holiday 2.HW#2 assigned.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Basic Logic Operations and Standard Logic Gates (Lecture #1) ECE 331 – Digital System Design.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Lecture #3 Page 1 ECE 4110–5110 Digital System Design Lecture #3 Agenda 1.FPGA's 2.Lab Setup Announcements 1.HW#2 assigned Due.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
Introduction to Computing Systems and Programming Digital Logic Structures.
Basic Logic Operations and Standard Logic Gates [Lecture:1] Instructor: Sajib Roy Lecturer, ETE, ULAB ETE 204 – Digital Electronics.
ECE DIGITAL LOGIC LECTURE 5: BINARY LOGIC AND DIGITAL LOGIC GATES Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 01/28/2016.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
L OGIC G ATES Computer Organization – week 3. W HAT ’ S ALU? 1. ALU stands for: Arithmetic Logic Unit 2. ALU is a digital circuit that performs Arithmetic.
Week 1: Introduction and Logic gates IT3002 – Computer Architecture
Introduction to the FPGA and Labs
This chapter in the book includes: Objectives Study Guide
Logic gates.
Boolean Algebra & Logic Gates
Basics of Logic gates - Part 1
Digital Logic.
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Engr. Micaela Renee Bernardo
CSIS-110 Introduction to Computer Science
Overview Part 1 – Logic Circuits and Boolean Functions
Digital Fundamentals Floyd Chapter 3 Tenth Edition
ECE 331 – Digital System Design
Basic Digital Logic.
ECE 4110–5110 Digital System Design
Digital Signals Digital Signals have two basic states:
This chapter in the book includes: Objectives Study Guide
Fundamentals & Ethics of Information Systems IS 201
XOR, XNOR, and Binary Adders
EEL 3705 / 3705L Digital Logic Design
EEL 3705 / 3705L Digital Logic Design
ECET 105 Innovative Education--snaptutorial.com
ECET 105Competitive Success/snaptutorial.com
EEL 3705 / 3705L Digital Logic Design
Programmable Logic Devices: CPLDs and FPGAs with VHDL Design
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
EEL 3705 / 3705L Digital Logic Design
ICS 241 Discrete Mathematics II
EEL 3705 / 3705L Digital Logic Design
Digital Logic Structures Logic gates & Boolean logic
Schematics 201 Lecture Topic: Electrical Symbols
XOR, XNOR, & Binary Adders
ECE434a Advanced Digital Systems L02
Digital Electronics Lab 2 Instructor:
King Fahd University of Petroleum and Minerals
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Logic Circuits I Lecture 3.
XOR, XNOR, and Binary Adders
XOR, XNOR, and Binary Adders
Presentation transcript:

EEL 3705 / 3705L Digital Logic Design Fall 2006 Instructor: Dr. Michael Frank Module #2: Lab Introduction & HW/SW Tools 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

M. Frank, EEL3705 Digital Logic, Fall 2006 Lecture Outline Administrative matters: Turn in prereq form, if not already 1st-week Lab Administrivia / Handouts: Attendance sheet, prereq form, syllabus, guidelines Lab Introduction List of Lab Assignments Lab Notebook Guidelines Overview of the HW/SW tools to be used in lab & for your design projects: Altera UP2 development board Altera FLEX 10K and MAX 7000 PLDs Quartus II logic development software tool 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

Planned Lab Assignments for Fall ‘06 Introduction to Basic Gates (AND, OR, XOR) With Quartus Software ADDER, SUBTRACTOR, OR and AND Functions With a Selector Module Arm/Disarm a Weapon of Mass Destruction Top Secret Code Display Electronic Device Test Comparators Arithmetic Functions and Selectors Random Counter Interface design to the TLC0831 analog-to-digital converter 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

Guidelines for Use of Lab Notebooks 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

Altera UP2 development board Read the User Guide for details From University Program UP2 Education Kit Includes two PLDs (prog. logic devs.): EPF10K70 – Member of the FLEX 10K family of PLDs EPM7128S – Member of the MAX 7000 family of PLDs 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

UP2 Board with Cable Connections  To 9V Power Supply JTAG Program- ming Cable VGA Cable (to monitor) Mouse cable  To PC Parallel Port FLEX PLD MAX PLD 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

M. Frank, EEL3705 Digital Logic, Fall 2006 UP2 Board Close-Up PWR in JTAG in PS2 in VGA out FLEX Expansion Holes 7-Segment Display Crystal Jumpers FLEX 10K 7-Segment Display MAX Expansion Holes LED banks MAX 7000 FLEX DIP switch FLEX Pushbuttons MAX Pushbuttons MAX DIP switches 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

M. Frank, EEL3705 Digital Logic, Fall 2006 Altera MAX 7000S series PLD Full part number: EPM7128SLC84-7 84-pin PLCC package Plastic J-Lead Chip Carrier 2,500 usable gates 128 Macrocells 8 LABs Logic Array Blocks Chip socket Pins Female pin headers PLCC Chip Package 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

M. Frank, EEL3705 Digital Logic, Fall 2006 Altera FLEX 10K70 PLD Full part number of our chip: EPF10K70RC240-4 240-pin RQFP package poweR Quad Flat Pack 3,744 LEs (Logic Elements) ea. w. 4-input LUT (Look-Up Table), flip-flop, routing 468 LABs (Logic Array Blocks) group the LEs together into 8-bit arrays 9 EABs (Embedded Array Blocks) 2,048 bits each for programmable “megafunctions” 70,000 typical gates 118,000 max Pins RQFP Chip Package 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

Quartus II Logic Development Tool Supports the devices on our development board You can download a free version from Altera University-licensed version is installed on most college machines Extensive free documentation, tutorials, etc. can be downloaded from Altera’s website 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

Quartus II Built-In Tutorial Try going through this to gain some initial familiarity with Quartus’ feature set and development flow 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

Lab 1 Pre-Lab Materal: Logic Review / Preview Basic logic gates: NOT, OR, AND, XOR 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

Why Bits (Binary Digits)? As we’ll learn, computers represent all information using bits. A bit means a binary (i.e., base 2) digit, 0 or 1. This is done for several reasons: Two states (digit values) is all that is really needed. Any desired information can be represented using sequences of bits. Encoding information using 2-state systems offers the best noise immunity for a given energy/information ratio. Computers based on bits tend to be the most energy-efficient. A bit conveniently can represent the truth value of any given proposition in Boolean logic. That is, “true” (1) or “false” (0). Bits can be simply and easily manipulated by simple hardware elements called “logic gates.” These implementing the basic operators of Boolean logic. 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

M. Frank, EEL3705 Digital Logic, Fall 2006 Boolean Logic: Review For reasoning about whether propositions (statements) are true (T) or false (F). The truth value of the proposition. The important functional operators of Boolean logic include: NOT(x) = {T iff x=F (otherwise F)} AND(x,y) = {T iff both x=T and y=T} OR(x,y) = {T iff either x=T or y=T, or both} XOR(x,y) = {T iff either x=T or y=T, but not both} George Boole 1815-1864 iff = “if and only if”  “exclusive OR” 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

Boolean Logic Notations You should be aware that any given expression of Boolean logic could be written in several styles: Writing operators as functions: XOR(OR(AND(a,b),NOT(c)),d) Using operator names “infix” (between their operands): ((a AND b) OR (NOT c)) XOR d Using mathematical logic operator symbols: [(a  b)  ¬c]  d Using C programming language operators: ((a & b) | ~c) ^ d Using Boolean algebra notation: Preferred in this course 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

M. Frank, EEL3705 Digital Logic, Fall 2006 Logic Gate Icons Inverter Logical NOT, Boolean complement AND gate Boolean product OR gate Boolean sum XOR gate exclusive-OR, sum mod 2 x x x·y y x x+y y x x⊕y y 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

M. Frank, EEL3705 Digital Logic, Fall 2006 Multi-input AND, OR, XOR Can extend these gates to arbitrarily many inputs. Two commonly seen drawing styles: Note that the second style keeps the gate icon relatively small. x1 x1x2x3 x2 x3 x1 ⋮ x5 x1…x5 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

M. Frank, EEL3705 Digital Logic, Fall 2006 NAND, NOR, XNOR Just like the earlier icons, but with a small circle on the gate’s output. Denotes that the output is complemented. Circles could also be placed on inputs. Means, input is complemented before being used. x y x y x y 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

CMOS NAND gate implementation A NAND gate is particularly easy to implement in CMOS: Simple 4-transistor circuit  A NOR gate is equally simple, but slower, due to series pFETs If we wanted to, we could build any computer using nothing but NAND gates and wires! Vdd x y xy Vss = GND 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006

Lab 1 Goal: Confirm Function of AND/OR/XOR Gates in Quartus At the conclusion of lab 1, you should have obtained results that confirm the expected outputs of the AND, OR, and XOR gates for all four possible combinations of two input bits. Below, A and B are 4-bit signals that (at the specific time point sampled below) give the two input bits in each of the four different possible cases, while W, Y, and Z represent the corresponding outputs of the OR, AND, and XOR functions respectively. 9/17/2018 M. Frank, EEL3705 Digital Logic, Fall 2006