ASIC 121: Practical VHDL Digital Design for FPGAs Tutorial 1 September 27, 2006.

Slides:



Advertisements
Similar presentations
ASIC 121: Practical VHDL Digital Design for FPGAs Tutorial 2 October 4, 2006.
Advertisements

Combinational Logic with Verilog Materials taken from: Digital Design and Computer Architecture by David and Sarah Harris & The Essentials of Computer.
EELE 367 – Logic Design Module 2 – Modern Digital Design Flow Agenda 1.History of Digital Design Approach 2.HDLs 3.Design Abstraction 4.Modern Design Steps.
1 Lecture 13 VHDL 3/16/09. 2 VHDL VHDL is a hardware description language. The behavior of a digital system can be described (specified) by writing a.
2-to-1 Multiplexer: if Statement Discussion D2.1 Example 4.
Introduction to VHDL VHDL Tutorial R. E. Haskell and D. M. Hanna T1: Combinational Logic Circuits.
Chapter 4 Gates and Circuits.
1/31/20081 Logic devices can be classified into two broad categories Fixed Programmable Programmable Logic Device Introduction Lecture Notes – Lab 2.
Lab 1 Structure of a PLD Module M1.4 Experiment 1 (p. 40)
George Mason University ECE 448 – FPGA and ASIC Design with VHDL Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448.
ECE 331 – Digital System Design Single-bit Adder Circuits and Adder Circuits in VHDL (Lecture #12) The slides included herein were taken from the materials.
The Analytical Engine Hardware. The Logic Machine Computers were originally wired to perform a specific task. The vision was a machine that could perform.
CIS 6001 Gates Gates are the building blocks for digital circuits Conventions used is high voltage = 1 and ground = 0 Inverter and NOT Gate are two terms.
AND Gate: A Logic circuit whose output is logic ‘1’ if and only if all of its inputs are logic ‘1’.
GOOD MORNING.
Guest Lecture by Ben Magstadt CprE 281: Digital Logic.
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.
ASIC 120: Digital Systems and Standard-Cell ASIC Design Tutorial 1: Introduction to Digital Circuits October 11, 2005.
Chapter 3 Digital Logic Structures. 3-2 Transistor: Building Block of Computers Microprocessors contain millions of transistors Intel Pentium 4 (2000):
Chapter 4 Gates and Circuits. Integrated Circuits aka CHIPS What’s in this thing???? 4–2.
Chapter 4 Gates and Circuits.
Binary Addition CSC 103 September 17, 2007.
Transistors and Logic Circuits. Transistor control voltage in voltage out control high allows current to flow -- switch is closed (on) control low stops.
Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors.
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.
ENG2410 Digital Design LAB #8 LAB #8 Data Path Design.
Basic Digital Logic 2 Combinational Logic
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Modern VLSI Design 3e: Chapters 3 & 8Partly from 2002 Prentice Hall PTR week6-1 Lectures 16 Transfer Characteristics (Delay and Power) Feb. 10, 2003.
1 ASIC 120: Digital Systems and Standard-Cell ASIC Design Tutorial 1: Introduction to Digital Circuits January 25, 2006.
CWRU EECS 317 EECS 317 Computer Design LECTURE 1: The VHDL Adder Instructor: Francis G. Wolff Case Western Reserve University.
Basic Overview of VHDL Matthew Murach Slides Available at:
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.
Introducing the Nexys 2 Board CS 332 – Operating Systems 12/04/2011 by Otto Castell-R.
ECE 331 – Digital System Design Single-bit Adder Circuits and Adder Circuits in VHDL (Lecture #11) The slides included herein were taken from the materials.
ECE 331 – Digital System Design Multiplexers and Demultiplexers (Lecture #13)
Introduction to ASIC flow and Verilog HDL
Digital Design Using VHDL and PLDs ECOM 4311 Digital System Design Chapter 1.
Introduction to VHDL Coding Wenchao Cao, Teaching Assistant Department of EECS University of Tennessee.
Apr. 3, 2000Systems Architecture I1 Introduction to VHDL (CS 570) Jeremy R. Johnson Wed. Nov. 8, 2000.
Teaching Digital Logic courses with Altera Technology
May 9, 2001Systems Architecture I1 Systems Architecture I (CS ) Lab 5: Introduction to VHDL Jeremy R. Johnson May 9, 2001.
Digital Computers Logic Gates & Applications. Digital Computers Types of Material (Electric Conductivity) – Insulator Rubber / wood – Conductor Copper.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
Explain Half Adder and Full Adder with Truth Table.
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.
1 Introduction to Engineering Spring 2007 Lecture 18: Digital Tools 2.
ECE 3130 Digital Electronics and Design
EECE6017C - Lab 0 Introduction to Altera tools and Basic Digital Logic
Basic Language Concepts
ECE 3130 Digital Electronics and Design
Systems Architecture Lab: Introduction to VHDL
LAB #4 Xilinix ISE Foundation Tools VHDL Design Entry “A Tutorial”
Transistors and Logic Circuits
Design Entry: Schematic Capture and VHDL
Basic Digital Logic.
ENG6530 Reconfigurable Computing Systems
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
ASIC 120: Digital Systems and Standard-Cell ASIC Design
How Boolean logic is implemented
CS105 Introduction to Computer Concepts GATES and CIRCUITS
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Getting Started with Vivado
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Digital Logic.
Digital Logic.
DIGITAL ELECTRONICS B.SC FY
ECE 331 – Digital System Design
Presentation transcript:

ASIC 121: Practical VHDL Digital Design for FPGAs Tutorial 1 September 27, 2006

Contributions I have taken some of the slides in this tutorial from Jeff Wentworth’s ASIC 120

Digital vs Analog Analog: Continuous time varying signal. –Application: Radio Digital: Abstraction. Two signals: 0 and 1. –Application: Computer Processors

Switches Switches are the basic building block of Digital hardware Have 2 states: –On = 1, Off = 0 Can be electrically controlled: –Ex. Relay, Vacuum Tube, Transistor

Transistor Used in all modern digital hardware 3 Terminal Device Operation: –If C is high voltage (1) then current flows between A and B Transistor A B C Wires

Logic Gates 2-input, 1-output devices Simpler than working with switches directly Inverter (NOT gate): AX InputOutput Truth Table

Inverter Implementation When Input is 1: –Transistor 1: off –Transistor 2: on –Output: 0 (ground) When Input is 0: –Transistor 1: on –Transistor 2: off –Output: 1 (5V) Transistor 1 5 V (1) Input Output Transistor 2 Ground (0)

Combinational Logic: AND ABX

Combinational Logic: OR ABX

Combinational Logic: XOR ABX

Combinational Logic: NAND ABX

Combinational Logic: NOR, XNOR ABX ABX

Building Combinational Circuits ABCX

Combinational Logic: MUX (multiplexer) ABCX

MUXs A MUX can be thought of as an if statement. If C = 0 then X = A Else if C = 1 then X = B This will be useful later

Binary Addition Adding 2 bits: –0+0=0 –0+1=1 –1+0=1 –1+1=10 So we need 2 inputs and 2 outputs

Half Adder ABSC

Full Adder (3-bit addition)

Independent Tasks Modelsim – VHDL hardware simulator –Download evaluation copy from: s.asp Quartus II – FPGA Synthesis Tool –Download Web Edition from: ducts/quartus2web/sof-quarwebmain.html

Development Boards For interested students there are development boards available Check out the DE2: rials/boards/unv-de2-board.html rials/boards/unv-de2-board.html The DE2 comes with lab exercises and design examples Not cheap: $269 US

Quartus II Exercise Open Quartus II, Select File->New Project Wizard, Select a valid working directory (should be an empty folder) Name the project and entity “half_adder” Click next for all other menus Select File->New. Select VHDL File

Quartus II Exercise Cont Save the file as half_adder.vhd, with the contents: library ieee; use ieee.std_logic_1164.all; entity half_adder is Port ( i_A, i_B : in STD_LOGIC; o_Sum, o_Carry : out STD_LOGIC ); end half_adder; architecture main of half_adder is begin o_Sum <= i_A xor i_B; o_Carry <= i_A and i_B; end main;

Quartus II Exercise Cont Select Processing->Start->Analysis and Synthesis Make sure it completes successfully Next Step –Read through the help file under “simulation” –Try Simulating the design