LOGI-EDU-Quick-Start-Guide

From ValentFx Wiki
Jump to: navigation, search

Contents

 

Overview

The LOGI EDU package is an expansion board for the LOGI Pi FPGA board.  The LOGI EDU serves as an educational pathway to allow FPGA beginners to easily learn and implement basics of FPGAs and HDL design. The educational path walks beginners through the basic steps of FPGA design by using examples from the book “FPGA Prototyping By Verilog Examples” or “FPGA Prototyping By VHDL Examples”. The examples can be run by using the add-on EDU expansion module that supports the book examples and applications. Using these examples allows the user to quickly get up to speed with the basics of FPGA design and allows the user to migrate to working on and designing greater complexity FPGA applications.

1) There are many FPGA resources that do not give all of the information needed, or omit some of the relevant information required to fully understand the basic and advanced topics of developing FPGA designs. The Pong Chu books chosen contain the crucial concepts of FPGA design in a practical and concise way that will get the reader up and running in an efficient manner.

2) The LOGI EDU was designed to be used after you are done with the educational content.  We have added some extra peripherals that make it a well rounded board for many types of general purpose projects.

FEATURES

  • 4x Seven Segment Character display

  • 9 bit VGA video output

  • 2x PS/2 peripheral ports

  • 2x PWM or delta sigma audio outputs

  • 2x NES (Nintendo original) controllers

  • 2x Servo connectors

  • Breadboard area utilizing 10 shared IO pins for general purpose use

Setting up and using the LOGI EDU

The LOGI EDU ships with 2x1" spacers and 2x4-40 or M3 screws.  The spacers are intended to be installed on the LOGI EDU as stand off feet that support the EDU board while it is attached to the LOGI Pi.  Below are images of the LOGI EDU package and steps to install the standoffs and plugging the EDU into the LOGI Pi.

Contents of the LOGI EDU package:  2x1" spacers and 2x4-40 or M3 screws, 1x LOGI EDU

Install the feet by inserting the screw from the top of the board and threading the standoff onto the screw.  Thread the standoff onto the screw until it is finger tight of snug.

Image of both standoff spacers installed onto the LOGI EDU

Now plug the LOGI EDU into the LOGI Pi FPGA board.  The system will look like below if it is properly installed.

Running the LOGI Apps LOGI EDU Demo project

There is an easy to use demonstration app that can be easily loaded to ensure that the LOGI EDU is properly connected.  The user can simply run the edu-demo from the logi-apps directory if they are using a pre-configured LOGI Image.  Or the user can pull the logi-apps onto their own image and run the demo.

See the LOGI Apps projects wiki page for details on running the logi-apps.  

Getting Started with the Pong Chu Book

Ported example code

All of the Pong Chu book code can be downloaded from the the logi-projects repository in the book-example-code directory.  The user can clone the complete logi-projects repository or can download a zipped package of the repository contents by clicking the "Download Zip" button on the right hand side of the github repository page.  

There is a zip file in the root of the book-example-code directory that contains all of the original Pong Chu book code for the spartan3 development board.  Each of the directories in the book-example-code directory contain all of the code that has been ported to be used with the LOGI EDU board.  

Note that not all of the code listings in the book were intended to be built and run and were intended as code snippets for learning purposes and are referenced as such in the book. The examples that were intended to be run have been ported for use on the logi-pi/edu and contain a pre-configured Xilinx ISE webpack project within each of the chapter directories.  To open and build the project within ISE the users can double click the *.xise project file and it will open in ISE with referenced source files.  The user will need to build the source code to create the bit files that will run on the LOGI Pi and EDU board.   

Note that there there are a few examples that cannot be run that use SRAM on the old spartan 3 board that the book was written for. Where the LOGI Pi does not have sram. Though there only a couple of examples that use the sram. 
 

Building the Example code

The can either use the pre-built bitfiles that are in the repository or can build and customize the projects using Xilinx ISE webpack and loading the *.xise projects that are included in the example repository downloads.  
 
See the LOGI guide - "LOGI Guide - Your First Project using Xilinx ISE"  for a quick start on using Xilinx ISE Webpack and creating your own projects.

Loading the bitfiles onto the LOGI Pi to run the code

See the LOGI Pi Quick Start Guide for instructions on using SSH/SCP to move and load bitfiles onto the LOGI Pi.  

General usage

The LOGI EDU was designed with extra peripherals onboard that make it useful as a general purpose expansion board.  Some of the extra peripherals include 2x NES controller, 2x Sigma delta or PWM audio output through a 3.5mm audio jack, an Extra PS/2 port, 9 bit color VGA video vs 3 bit VGA. 

Resources

LOGI EDU Source Files

LOGI EDU Schematic

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox