ECE 448: Lab 6 Using PicoBlaze Fast Sorting Class Exercise 2.

Slides:



Advertisements
Similar presentations
Lecture 16 PicoBlaze Instruction Set & Assembler Directives
Advertisements

ECE 448 – FPGA and ASIC Design with VHDL Lecture 13 PicoBlaze I/O & Interrupt Interface.
DIGITAL DESIGN WITH VHDL Exercise 1 1Muhammad Amir Yousaf.
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
CPE 169 Digital Design Laboratory Digilent Inc. Nexys Development Board.
COMPUTER ORGANIZATION CSCE 230 Final Project. OVERVIEW  Implemented RISC processor  VHDL  Test program created to demonstrate abilities.
ECE 545 Project 1 Part IV Key Scheduling Final Integration List of Deliverables.
RM2D Let’s write our FIRST basic SPIN program!. The Labs that follow in this Module are designed to teach the following; Turn an LED on – assigning I/O.
ENG241/ Lab #41 ENG2410 Digital Design LAB #4 Design of Combinational Logic “The Trip Genie”
Comments on Lab #4 Annotating Timing Diagrams Draw viewer’s attention to the points you are trying to show / verify –Important output states glitch or.
Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used.
ECE 448 – FPGA and ASIC Design with VHDL Lecture 12 PicoBlaze Overview.
ECE 448 – FPGA and ASIC Design with VHDL Lecture 12 PicoBlaze Overview.
Introduction to Experiment 7 Sorting Using PicoBlaze ECE 448 Spring 2010.
Working with Xilinx Spartan 3 Embedded Systems Lab 2009.
ECE 545 Project 2 Specification Part I. Adjust your synthesizable code for Project 1 in such a way that it complies with the following requirements: a.
The FPX KCPSM Module Exercise 1 Henry Fu The FPX KCPSM Module Exercise: Network Data Encryption / Decryption Using ROT13 Algorithm Henry Fu Washington.
displayCtrlr Specification
Introduction to Experiment 6 Internal FPGA Memories, Pseudo Random Number Generator, Advanced Testbenches ECE 448 Spring 2009.
ECE 448: Lab 4 VGA Display Mini-Pacman. Flexibility in the Second Part of the Semester Lab 4: VGA display (2 weeks) – 8 points Lab 5: Computer Graphics.
ECE 448 – FPGA and ASIC Design with VHDL Lecture 19 PicoBlaze Interrupt Interface & Assembly Code Development.
Design & Implementation VHDL ET062G & ET063G Lecture 7 Najeem Lawal 2012.
ECE 448: Lab 4 VGA Display The Frogger. Flexibility in the Second Part of the Semester Lab 4: VGA display (2 weeks) – 8 points Lab 5: Computer Graphics.
CDA 4253 FPGA System Design PicoBlaze Instruction Set Hao Zheng Comp Sci & Eng U of South Florida.
CDA 4253 FPGA System Design The PicoBlaze Microcontroller
ECE 448: Lab 6 Using PicoBlaze Fast Sorting. Part 1: Introduction to Lab 6 Part 2: Instruction Set of PicoBlaze-6 Part 3: Hands-on Session: OpenPICIDE.
Lecture 13 PicoBlaze I/O & Interrupt Interface Example of Assembly Language Routine ECE 448 – FPGA and ASIC Design with VHDL.
Introduction to Experiment 7 Replacing Hardwired Control Unit with the Picoblaze Microcontroller ECE 448 Spring 2009.
ECE 448 – FPGA and ASIC Design with VHDL George Mason University ECE 448 Lab 2 Implementing Combinational Logic in VHDL.
ECE 448: Lab 4 VGA Display Snake Game. Flexibility in the Second Part of the Semester Lab 4: VGA display (2 weeks) – 8 points Lab 5: Computer Graphics.
I 2 C FOR SENSORS IN THE DOM Nestor Institute Koutsoumpos Vasileios - Nestor Institute 1.
CDA 4253 FPGA System Design PicoBlaze Interface Hao Zheng Comp Sci & Eng U of South Florida.
DspBlk Aim: Capture and simulate dspBlk element ISE Project : appliedVHDL.ise provides access to all constituent files This document contains: EE427 submission.
Design methodology for Implementing a Microcontroller in a FPGA. Phillip Southard Ohio University EE 690 Reconfigurable Design.
George Mason University Finite State Machines Refresher ECE 545 Lecture 11.
CDA 4253 FPGA System Design PicoBlaze Interface Hao Zheng Comp Sci & Eng U of South Florida.
Introduction to the FPGA and Labs
Maj Jeffrey Falkinburg Room 2E46E
Implementing Combinational
Lecture 18 PicoBlaze Instruction Set & Assembler Directives
Temperature Measurement
LAB #4 Xilinix ISE Foundation Tools VHDL Design Entry “A Tutorial”
Lecture 15 PicoBlaze Overview
RTL Design Methodology
Advisor: Prof. Gandhi Puvvada
Lecture 14 PicoBlaze Overview
Implementing Combinational and Sequential Logic in VHDL
Number Representations and Basic Processor Architecture
Lecture 16 PicoBlaze I/O & Interrupt Interface
Lecture 16 PicoBlaze Overview
ECE 448: Lab 4 VGA Display Mini-Pacman Game.
Introduction to ModelSim Implementing Sequential
Lecture 18 PicoBlaze I/O Interface
Developing More Advanced Testbenches
Control Unit Introduction Types Comparison Control Memory
Lecture 13 PicoBlaze I/O & Interrupt Interface
Using Fpro SoC with Hardware Accelerators
Moving Arrays -- 2 Completion of ideas needed for a general and complete program Final concepts needed for Final DMA.
LAB #2 Xilinix ISE Foundation Tools Schematic Capture “A Tutorial”
Implementing Combinational
Lecture 15 PicoBlaze I/O & Interrupt Interface
Implementing Combinational and Sequential Logic in VHDL
Lecture 13 PicoBlaze I/O & Interrupt Interface
Lecture 17 PicoBlaze I/O & Interrupt Interface
UNIT-III Pin Diagram Of 8086
RTL Design Methodology Transition from Pseudocode & Interface
Lecture 14 PicoBlaze Instruction Set
Using FPro SoC with customized hardware cores
ECE 448 Lab 3 – Part 1 FPGA Design Flow Based on
(Lecture by Hasan Hassan)
Presentation transcript:

ECE 448: Lab 6 Using PicoBlaze Fast Sorting Class Exercise 2

Agenda for today Introduction to Lab 6 Exercise 2 Lab 5 Demos

Introduction to Lab 6 Exercise 2 ECE 448 – FPGA and ASIC Design with VHDL

Sources P. Chu, FPGA Prototyping by VHDL Examples Chapter 14, Picoblaze Overview Chapter 15, Picoblaze Assembly Code Development Chapter 16, Picoblaze I/O Interface Chapter 17, Picoblaze Interrupt Interface K. Chapman, PicoBlaze for Spartan-6, Virtex-6, 7-Series, Zynq and UltraScale Devices (KCPSM6)) ECE 448 – FPGA and ASIC Design with VHDL

Lab Exercise 2 Finding a Maximum Element in the array of 255 pseudorandom numbers stored in Data RAM External RAM The following subroutines are used to initialize the Memories (Data RAM and External RAM) init_rand1 init_rand2 (Given on the webpage) These Subroutines generate 255 pseudorandom numbers based on an 8 bit LFSR

The initial state of LFSR is assumed to be R7..0 = 0x75 8-bit LFSR The initial state of LFSR is assumed to be R7..0 = 0x75

Task 1 Write a program that finds a location of the maximum value stored in the Data RAM after running init_rand1 The value of this location should be then written to the external register led

Task 1 - Subtasks Debug, verify, and demonstrate the operation of your program using FIDEx IDE Generate the code of Instruction RAM Describe a top-level circuit, shown in the diagram on the previous slide, using VHDL Prepare a UCF file in which you associate outputs of the register led with the pins of Spartan-6/Artix-7 connected to 8 LEDs of Nexys 3/Nexys 4 Implement the entire circuit using FPGA tools, and verify its operation using Nexys 3/Nexys 4

Task 2 Modify the program developed in Task 1, so it finds a location of the maximum value stored in External Memory after running the subroutine init_rand2 The value of this location should be then written to the external register led Assume that all numbers stored in External RAM are 8-bit unsigned integers

Task 2 - Subtasks Design the “decoding circuit” shown in the diagram. This circuit should generate the control signals led_en and RAM_en, based on the values of write_strobe and port_id. Assume that the register led is visible under the I/O address 0xFF and EXT RAM is visible under the address range 0x00..0xFE. Generate the code of Instruction RAM. Describe a top-level circuit, shown in the diagram on the previous slide, using VHDL. Simulate, verify, and demonstrate the operation of this circuit using ISim. Implement the top-level circuit using FPGA tools, and verify its operation using Nexys 3/Nexys 4. Use the UCF file developed in Task 1.

Lab 5 Demos ECE 448 – FPGA and ASIC Design with VHDL