DE1 FPGA board and Quartus

Slides:



Advertisements
Similar presentations
DE2-115 Control Panel - Part I
Advertisements

Electrical and Computer Engineering MIDI Note Number Display UGA Presentation and Demo ECE 353 Lab B.
Altera’s Quartus II Installation, usage and tutorials Gopi Tummala Lab/Office Hours : Friday 2:00 PM to.
CSE140L – Lab4 Overall picture of Lab4 Tutorial on Bus & Memory Tutorial on Truth table.
Using PDG with e2studio: Example
ECE Department: University of Massachusetts, Amherst Lab 1: Introduction to NIOS II Hardware Development.
Altera DE2 Board and Quartus II Software ECE 3450 M. A. Jupina, VU, 2014.
CSCE 430/830 A Tutorial of Project Tools By Dongyuan Zhan Feb. 4, 2010.
ECE 448: Spring 12 Lab 4 – Part 2 Finite State Machines Basys2 FPGA Board.
Introduction to FPGA Design Illustrating the FPGA design process using Quartus II design software and the Cyclone II FPGA Starter Board. Physics 536 –
Tutorial 2: Introduction to ISE 14.6 (revised by khw)
CSE430/830 Course Project Tutorial Instructor: Dr. Hong Jiang TA: Dongyuan Zhan Project Duration: 01/26/11 – 04/29/11.
Advanced Digital Circuits ECET 146 Week 3 Professor Iskandar Hack ET 221B,
COE4OI5 Engineering Design Chapter 2: UP2/UP3 board.
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.
ECE Department: University of Massachusetts, Amherst Using Altera CAD tools for NIOS Development.
High Speed Data Converter University
Ch.9 CPLD/FPGA Design TAIST ICTES Program VLSI Design Methodology Hiroaki Kunieda Tokyo Institute of Technology.
Simulink ® Interface Course 13 Active-HDL Interfaces.
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.
Spring Introduction  Today’s tutorial focuses on introducing you to Xilinx ISE and Modelsim.  These tools are used for Verilog Coding Simulation.
Altera Technical Solutions Seminar Schedule OpeningIntroduction FLEX ® 10KE Devices APEX ™ 20K & Quartus ™ Overview Design Integration EDA Integration.
1 Introduction to Xilinx ISL8.1i Schematic Capture and VHDL 1.
Accelerating Design Cycles Using Quartus II
1 Introduction to Xilinx ISL8.1i & 11.1 Schematic Capture 1.
VHDL Introduction. V- VHSIC Very High Speed Integrated Circuit H- Hardware D- Description L- Language.
ASIC 121: Practical VHDL Digital Design for FPGAs Tutorial 1 September 27, 2006.
ECE 448: Spring 11 Lab 3 Part 1 Sequential Logic for Synthesis.
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.
Programmable Logic Training Course HDL Editor
Design Verification Code and Toggle Coverage Course 7.
Reaction Timer Project
Introduction to VHDL Simulation … Synthesis …. The digital design process… Initial specification Block diagram Final product Circuit equations Logic design.
Quartus II Schematic Design Tutorial Xiangrong Ma
Copyright (c) 2003 by Valery Sklyarov and Iouliia Skliarova: DETUA, IEETA, Aveiro University, Portugal.
Part A Final Dor Obstbaum Kami Elbaz Advisor: Moshe Porian August 2012 FPGA S ETTING U SING F LASH.
 Seattle Pacific University EE Logic System DesignCounters-1 Shift Registers DQ clk DQ DQ ShiftIn Q3Q3 Q2Q2 DQ Q1Q1 Q0Q0 A shift register shifts.
 Seattle Pacific University EE Logic System DesignAlteraBoard-2 Altera Cyclone II (484 Pin BGA) 22 Pins.
COE4OI5 Engineering Design Chapter 1: The 15 minutes design.
11 EENG 1920 Introduction to VHDL. 22 Hardware Description Language A computer language used to design circuits with text-based descriptions of the circuits.
Introduction to Labs Wenchao Cao, Teaching Assistant Department of EECS University of Tennessee.
Teaching Digital Logic courses with Altera Technology
PARBIT Tool 1 PARBIT Partial Bitfile Configuration Tool Edson L. Horta Washington University, Applied Research Lab August 15, 2001.
ECE 3450 M. A. Jupina, VU, 2016 Capacitance Sensor Project Goal: Creation of a digital capacitance sensor circuit where a variation in capacitance changes.
© 2000 Altera Corporation 1 Quartus Simulator. © 2000 Altera Corporation Dow load from: 2 In This Section Simulator –Features –Supported.
Copyright © 2007 by Pearson Education 1 UNIT 6A COMBINATIONAL CIRCUIT DESIGN WITH VHDL by Gregory L. Moss Click hyperlink below to select: Tutorial for.
QUARTUS II Version 9.1 service pack 2 Gregg Chapman Spring 2016.
How to use ISE Dept. of Info & Comm. Eng. Prof. Jongbok Lee.
1 of 24 The new way for FPGA & ASIC development © GE-Research.
1 Introduction to Engineering Spring 2007 Lecture 18: Digital Tools 2.
Hankuk University of Foreign Studies Radio Communication Systems Lab. 1 Digital IC design (8)
DE2-115 Control Panel - Part I
Introduction to Vivado
Lab 1: Using NIOS II processor for code execution on FPGA
The first change to your project files that is needed is to change the device to the correct FPGA. This is done by going to the Assignments tab on the.
An Unobtrusive Debugging Methodology for Actel AX and RTAX-S FPGAs
Using Xilinx ChipScope Pro Tools
Dept. of Electrical and Computer Engineering
M1.5 Foundation Tools Xilinx XC9500/XL CPLD
Implementing VHDL Modules onto Atlys Demo Board
Dept. of Electronics & Info. Eng. Prof. Jongbok Lee
COMP211 Computer Logic Design Introduction to the DE2 Board
ECE 4110–5110 Digital System Design
Microcomputer Systems 1
Основи рачунарске технике 2
QUARTUS II Version 9.1 service pack 2
Week 5, Verilog & Full Adder
Getting Started with Vivado
Founded in Silicon Valley in 1984
Remote System Update Example Design for Cyclone IV GX Transceiver Starter Board April 23rd, 2015 (Rev 1.0)
Presentation transcript:

DE1 FPGA board and Quartus CPU Architecture

Objectives The FPGA board Using Quartus Coding Compiling Simulating Pin Assignment Configuring the board Debugging PLLs and Templates

Altera DE1 FPGA Board Cyclone II EP2C20F484C6 FPGA 512KB SRAM , 8MB SDRAM ,4MB Flash 50MHz,27MHz and 24MHz oscillators for clock sources SD Card socket 4 pushbutton switches 10 toggle switches 10 red and 8 Green LEDs 24-bit audio CODEC VGA DAC RS-232 interface PS/2 mouse/keyboard Interface Two 40-pin Expansion Headers

DE1 board description

Quartus II Synthesis tool Place and Route Simulator Debugger Programmer And much more

Example application 32bit behavioral counter with enable 8 MSB connected to green LEDs Enable connected to switch Clock to 50MHz onboard oscillator

Example Code library ieee; use ieee.std_logic_1164.all; use IEEE.std_logic_unsigned.all; entity counter is port ( clk,enable : in std_logic; q : out std_logic_vector (7 downto 0)); end entity; architecture rtl of counter is signal q_int : std_logic_vector (31 downto 0); begin process (clk) if (rising_edge(clk)) then if enable = '1' then q_int <= q_int + 1; end if; end process; q <= q_int(31 downto 24); -- Output only 8MSB end rtl;

Project Files description .qpf Project file .qsf Settings file (timing , constrains , pin) .vhd Design file , must be at least a top level design file , its ports are directly connected to physical pins .stp Signal Tap file .vwf Simulation Waveform file .sof FPGA programming file

What is a Top Level Serves as a top level hierarchy Connects to FPGA physical pins All the I/Os are routed through it

Starting New Project Open Quartus II (7.2) Start Wizard File->New Project Wizard Click Next , Specify Name of Project and the directory and click Next Specify files you want to add and click Next Specify FPGA and click Next , Next and Finish Cyclone II , EP2C20F484C6

Turn off Incremental Compilation Assignments->Settings->Compilation Process Settings -> Incremental Compilation

Operating VHDL Files Create new files File->New Add existing files and set compilation order Assignments ->Settings->Files Changing Top level entity Assignments->General ->Top-level entity Analyze the project : Push Button View resource utilization at “Compilation Report”

Viewing Synthesis results RTL Synthesis Tools -> Netlist Viewers -> RTL viewer Technology Synthesis Tools -> Netlist Viewers -> Technology map viewer

Setting Simulation Add Vector file File->New Add signals Edit->Insert->Insert node or bus Press the “Node Finder” and select signals Change Simulation Time Edit->End Time, Edit->Grid Size

Setting waveforms Use the buttons on the left side to generate input signals

Running simulation Save the Waveform file and go to : Assignments-> Settings->Simulator settings Set simulation mode to Functional and choose your file as simulation input Ctrl+Shift+K – Starts the simulation Look on The simulation report

Setting clock constrains Open Settings : Assignments -> Settings->Timing Analyzer Settings -> Classic timing analyzer settings Press “Individual clocks” button

Setting clock constrains Click New At the end press OK Specify Some Name Select Input Set Frequency

Manual Pin Assignments Open Pin Planner (Assignments -> Pins) Specify Pin Numbers according to DE1 Data book with PIN_ prefix

Automatic CSV pin Assignment Uses CSV file from manufacturer Top level names must be according to CSV file Open : Assignments -> Import Assignments Select CSV File Press OK

Full compilation Press Button After compilation open timing analyzer in compilation report and see that all timings are OK.

Programming the FPGA Connect the DE1 board to power Connect DE1 board to PC using USB cable Power on the board using RED button Push the programmer button in Quartus

Programming the FPGA - cont Push Hardware Setup and Select USB-Blaster Push the Auto Detect button Then double click the <none> and select sof Check the “Program configure” box Push Start button

SignalTAP logic analyzer A SignalTAP logic analyzer is used for debugging of FPGA logic. Do not require huge and expensive equipment No massive external connections needed Captures internal FPGA signals using a defined clock signal Uses FPGA resources

Logic Analyzer - How it works Like a Pipe with water with faucet (trigger) Water are getting in all the time (data) When trigger occurs faucet closes (capture stops), and you can see what is in the pipe Trigger Options Pre Trigger Center Trigger Post Trigger TIME Old Samples New Samples trigger Samples Captured

Signal TAP - How it Works Signal Tap “Wastes” FPGA Logic

Activating STP in Web Eddition Go to : Options -> Internet Connectivity -> TalkBack Options

Signal TAP Usage Create .STP File Save .STP File & Compile with Design Assign Sample Clock Specify Sample Depth Assign Signals to STP File Specify Triggering Setup JTAG Save .STP File & Compile with Design Program Device Acquire Data

Create new STP File Method 1 Select the in Quartus II Method 2 Select New (File Menu) Other Files SignalTap II File

STP Componnents JTAG Chain Configuration Instance Manager Waveform Viewer Signal Configuration

STP Setup Select USB-Blaster Set Sample Clock Specify Sample Depth In JTAG Configuration Set Sample Clock Use Global Clock Every Sample taken at Clock Rising Edge Cannot Be Monitored as Data Specify Sample Depth Set Trigger mode Sequential Specify Trigger Position Pre , Center , Post Select Number of trigger conditions

Adding Signals Select “Setup” tab and add signals (double click)

Setting Triggers All signals must satisfy trigger condition to cause data capture Right-Click to Set Value

STP Compilation Save The STP file Open Assignments  Settings Specify the STP File to Compile with Project Run Full Project Compilation and reprogram FPGA

Acquiring Data Signal Tap II Toolbar & STP File Controls Run Autorun Stop

Templates While in VHD file push button on the left In a template window select the needed logic template

PLL Open MegaWisard Tools->MegaWisard Plug in manager and click Next Select VHDL Set Name Open I/O Select ALTPLL Click Next

Practice Build a 8 bit circular Shift Register with enable Make all the Quartus process as with counter

Working At Home You can download a Quartus Web edition version from https://www.altera.com/support/software/download/sof-download_center.html

References Quartus user manual DE1 board data sheet Altera web site. Cyclone II Data sheet

Any questions?