Run-Time Content Editable Memory using MegaWizard Plug-In Manager

Similar documents
Magaya Software Installation Guide

Video and Image Processing Suite

2. Scope of the DE0 Board and Supporting Material

Quartus II Introduction Using VHDL Design

The 104 Duke_ACC Machine

QUICK START GUIDE. SG2 Client - Programming Software SG2 Series Programmable Logic Relay

Installing S500 Power Monitor Software and LabVIEW Run-time Engine

Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial

Implementation of Web-Server Using Altera DE2-70 FPGA Development Kit

How do I Check if My Computer is Compatible with Windows 7

Quick Start Using DASYLab with your Measurement Computing USB device

Physics 226 FPGA Lab #1 SP Wakely. Terasic DE0 Board. Getting Started

PROFINET IRT: Getting Started with The Siemens CPU 315 PLC

ScanShell.Net Install Guide

Be sure to connect the USB cable from TonePort into your computer s USB port, and then proceed with the following steps

Lab 1: Introduction to Xilinx ISE Tutorial

Configuring Network Load Balancing with Cerberus FTP Server

Xilinx ISE. <Release Version: 10.1i> Tutorial. Department of Electrical and Computer Engineering State University of New York New Paltz

Cloud Services ADM. Agent Deployment Guide

CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start

Download the Design Files

Installation of USB Virtual COM. Version 1.02

Chapter 11. Using MAX II User Flash Memory for Data Storage in Manufacturing Flow

Running a Load Flow Analysis

Introduction to the Altera Qsys System Integration Tool. 1 Introduction. For Quartus II 12.0

DE4 NetFPGA Packet Generator Design User Guide

Verbatim Secure Data USB Drive. User Guide. User Guide Version 2.0 All rights reserved

Downloading Driver Files

Basic Software Setup Guide.

Set up a Nios II project that specifies a desired hardware system and software program

Installing FileMaker Pro 11 in Windows

Using the Altera Serial Flash Loader Megafunction with the Quartus II Software

Instructions for Installing and Using the FOCUS DL-15 Data Transfer Software

Pharmacy Affairs Branch. Website Database Downloads PUBLIC ACCESS GUIDE

MXL 990 Virtual Preamp Installation

Current Cost Data Cable User Guide. Installing and configuring the data cable

64-Bit Compatibility with Micromeritics Applications

Set up an ARM project that specifies a desired hardware system and software program

USB-Blaster Download Cable User Guide

Mobius 3 Circuit Board Programming Instructions

Table of Contents. 1. Overview Materials Required System Requirements User Mode Installation Instructions..

Release Notes - Installing the Wireless Receiver on a PC.

Using Altera MAX Series as Microcontroller I/O Expanders

Active Directory Management. Agent Deployment Guide

Installing the OKI MCx61MFP USB Attached, in Windows 8

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

Installing the Gerber P2C Plotter USB Driver

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

Quick Start Tutorial. Using the TASKING* Software Development Tools with the Intel 8x930 Family Evaluation Board

TE100-P21/TEW-P21G Windows 7 Installation Instruction

WA1781 WebSphere Process Server v6.2 Administration. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

1. After installing you can launch the program by clicking on the Start button and then select Programs, then WS_FTP LE, and then WS_FTP LE.

DSG SoftPhone & USB Phone Series User Guide

Korosi Monitoring System (KMS) Software Manual

Orange Apps UserLogonUSB V1.0

CSE467: Project Phase 1 - Building the Framebuffer, Z-buffer, and Display Interfaces

The Advanced JTAG Bridge. Nathan Yawn 05/12/09

USER GUIDE. Ethernet Configuration Guide (Lantronix) P/N: Rev 6

CRM Connector Installation & Integration USER GUIDE

LAB #3 VHDL RECOGNITION AND GAL IC PROGRAMMING USING ALL-11 UNIVERSAL PROGRAMMER

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

INF-USB2 and SI-USB Quick Start Guide

MT-350 SMS. Operation Manual. PORTech Communications Inc.

Please read and understand this instruction manual thoroughly before using this product.

Setting up Windows Phone 8 environment in VMWare

SPI Flash Programming and Hardware Interfacing Using ispvm System

Installing a Westell USB Network Adapter

Using the Communication Ports on the DG-700 and DG-500 Digital Pressure Gauges

Scan Physical Inventory

OPERATION MANUAL. MV-410RGB Layout Editor. Version 2.1- higher

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

Active Directory Management. Agent Deployment Guide

EXPERIMENT 4. Parallel Adders, Subtractors, and Complementors

Set up an ARM project that specifies a desired hardware system and software program

INSTALLING MICROSOFT SQL SERVER AND CONFIGURING REPORTING SERVICES

Altera Error Message Register Unloader IP Core User Guide

Equinox L5300 Installation and Configuration Guide Version 1.0 Innovative Payment Processing Solutions for Businesses

Guide to Installing BBL Crystal MIND on Windows 7

Topaz Installation Sheet

Network DK2 DESkey Installation Guide

SQL Server 2008 R2 Express Edition Installation Guide

e-dpp May 2013 Quick Installation Guide Microsoft Windows 2003 Server, XP, Vista, 7 Access Database

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

Cisco - Configure the 1721 Router for VLANs Using a Switch Module (WIC-4ESW)

Installing the MySQL ODBC Connector Windows XP and Windows 7. Roth Technologies, LLC

SECTION 3 - INSTALLATION

User Manual. Thermo Scientific Orion

Nios II Development Kit Version 5.1 SP1 Release Notes

Qsys System Design Tutorial

Windows Vista / Windows 7 Installation Guide

Mini Amazing Box Update for Windows XP with Microsoft Service Pack 2

SOFTWARE INSTALLATION INSTRUCTIONS

WA1625 Web Services Development Using WebLogic Server v10. Classroom Setup Guide. Web Age Solutions Inc. Copyright 2012 Web Age Solutions Inc.

Table of Contents. TPM Configuration Procedure Configuring the System BIOS... 2

EMBEDDED C USING CODEWARRIOR Getting Started Manual

For Quartus II Software. This Quick Start Guide will show you. how to set up a Quartus. enter timing requirements, and

Configuring the WT-4 for ftp (Ad-hoc Mode)

HTML Code Generator V 1.0 For Simatic IT Modules CP IT, IT, IT

In order to enable BitLocker, your hard drive must be partitioned in a particular manner.

CONFIGURING MICROSOFT SQL SERVER REPORTING SERVICES

Transcription:

Run-Time Content Editable Memory using MegaWizard Plug-In Manager Note: Before you start with this tutorial it is important to go through tutorial Altera Quartus II and DE2 manual available on course website. 1. To start creating the memory module, go to Tools -> MegaWizard Plug-In Manager. And click on Create a new custom megafunction variation as shown in Fig 1. Then click Next. Fig. 1

2. On the 2 nd page select the device family Cyclone II. On the left hand side under the name memory compilers choose RAM: 1-PORT module as shown in the Fig 2. Type of output file that needs to be selected is VHDL. And finally name your output file. Then click Next. Fig. 2

3. On page 3, q output bus should be made 16 bits wide and the number of words can be selected as 8192 as shown in the Fig. 3. The number of words you are going to require depend on the length of your program. Though a 16 bit address line can access 2 16 = 64K locations, we don t need this much memory. Then click Next. Fig. 3

4. Page 4 will appear as shown in Fig 4. Uncheck q output port. Click Next. Fig. 4

5. To place processor instructions into the memory, you need to specify initial values that should be stored in the memory once your circuit has been programmed into the FPGA chip. This can be done by telling the wizard to initialize the memory using the contents of a memory initialization file (MIF). I have specified a file named RAM_init.mif, which then has to be saved in the directory that contains the Quartus II project. MIF format is available on course website. Write your MIF File as shown in that format. And click on Yes, use this file for memory content data and add your RAM_init.mif file as shown in Fig. 5. Then click Next. To make the memory contents run-time editable, you need to check box against Allow in system memory content editor to capture and update content independently of the system clock. The Instance ID is any 4 digit number like 1234. Fig. 5

6. Finally your.vhd file for RAM module will be created in your working directory. Select Next on page 7. (Fig. 6) Fig. 6

7. Fig. 7 is a summery of all the files that will be created. Click Next. Fig. 7

8. Before you can use the In-System Memory Content Editor tool, one additional setting has to be made. In the Quartus II software select Assignments > Settings to open the window in Fig. 8, and then open the item called Default Parameters under Analysis and Synthesis Settings. As shown in the figure, type the parameter name CYCLONEII SAFE WRITE and assign the value RESTRUCTURE. This parameter allows the Quartus II synthesis tools to modify the single-port RAM as needed to allow reading and writing of the memory by the In-System Memory Content Editor tool. Click OK to exit from the Settings window. Fig. 8

9. Now use this memory in your design by port mapping. Compile your code and download the circuit onto the DE2 board as instructed in the tutorial Altera Quartus II and DE2 manual available on course website. 10. After downloading the design in FPGA, Select Tools > In-System Memory Content Editor, which opens the window in Fig. 9. To specify the connection to your DE2 board click on the Setup button on the right side of the screen. In the window in Figure 9 select the USB-Blaster hardware, and then close the Hardware Setup dialog. Note: While doing steps 10 and 11 the FPGA board should be powered up and should be in RUN mode. a. You can observe that the device ID specified appears in the instance manager. b. The status is ready to acquire and we can see the?? indicating that the memory has not been read yet. Select the memory in Instance manager and click the read data from system memory button (one with a red box) as shown in Fig. 10. Now you can see the contents in the memory. Fig. 9

Fig. 10

11. The contents can be modified by directly overwriting them as shown in Fig. 11 at location 000000 we have changed the contents from 00 to 12. This is just a change made in the editor. To actually write the new value in the memory you can click the Write button as highlighted in Fig. 11 with a red box. Fig. 11 12. After changing the contents you don t have to recompile your entire design in the FPGA. Just reset your circuit and now the design will operate on the changed memory contents. This run time memory content editor can be used to change one or two operands in your sample program or you can change the entire program as well.