Lab Environment and Miniproject Assignment - PowerPoint PPT Presentation

1 / 21
About This Presentation
Title:

Lab Environment and Miniproject Assignment

Description:

Do not do any wiring on the board with power on ... NT machine running. HyperTerminal. Parallel port: Configuration download. Serial port: Miniproject ... – PowerPoint PPT presentation

Number of Views:120
Avg rating:3.0/5.0
Slides: 22
Provided by: kitt87
Category:

less

Transcript and Presenter's Notes

Title: Lab Environment and Miniproject Assignment


1
Lab Environment and Miniproject Assignment
  • Spring 2006
  • ECE554
  • Digital Engineering Laboratory

2
Lab Environment
  • Ten 2.8 GHz Workstations with 1 GB RAM and 80GB
    Harddrives
  • Six 550 MHz Workstations with 512 MB RAM
  • Design Tools
  • HDL Editor, Core Generator System, FPGA Express,
    Design Manager, Constraints Editor, Modelsim
  • Instrumentation
  • HP8012 Signal Generator generates system clock
  • Hewlett-Packard Oscilloscopes probing logic
    values
  • Agilent Logic Analyzers monitor data on output
    pins
  • XSV FPGA Boards
  • See Lab Environment Handout and FAQ page

3
Lab Warnings
  • Do not wear static electricity generating
    clothing (wool sweaters)
  • Report stuff dripping from ceiling (dont touch
    it).
  • Dont sit or stand on backs of chairs or lab
    tables
  • Dont probe (with oscilloscope) or touch anything
    on the FPGA board, except for push buttons, DIP
    switches, and special pins for clocks and
    expansion headers
  • Do not do any wiring on the board with power on
  • Be sure you download the correct files to the
    FPGA
  • Carefully read all warnings in Lab Environment
    handout

4
XSV FPGA Board
5
XSV Board
6
XSV Block Diagram
7
XSV Board Features
  • Xilinx Virtex FPGA (Compute)
  • 2 MB Memory (Store for Read/Write)
  • Parallel Serial Ports to PC (I/O from/to
    Outside World)
  • Keyboard (PS/2) Port
  • VGA Output to VGA Monitor
  • Audio/Video Converters
  • See XSV Board Manual at
  • http//courses.engr.wisc.edu/ecow/get/ece/554/kime
    /technicali/

8
Current Setup
Parallel Cable
Serial Cable
NT machine running HyperTerminal
Parallel port Configuration download Serial
port Miniproject
9
Miniproject Specification
  • For the miniproject, you will
  • Design a Special Purpose Asynchronous
    Receiver/Transmitter (SPART) and its testbench in
    Verilog/VHDL
  • Simulate the design to ensure correct performance
  • Download the design and associated files and
    demonstrate correction functionality
  • Preparing a report on your design

10
Miniproject Objectives
  • To get familiar with the lab environment prior to
    the class project and bench exam
  • To get practice using HDL in your designs
  • To provide the basic I/O interface to the class
    project
  • To get experience working with a partner

11
SPART Interface
12
Processor Interface
  • Data is sent/received across the bidirectional
    data bus
  • Handshaking (status) signals
  • TBR Transmit Buffer Ready (Empty)
  • RDA Receive Data Available
  • IOCS Chip Select
  • IOR/W_ Read or Write Bar signal

13
SPART Block Diagram
14
Asynch. Serial Communication
  • Start bit (1 bit wide)
  • Data bits (8 bits)
  • Parity(None, Even, Odd) - optional
  • Stop bit (1 bit wide)

15
Transmitting
  • Tx must be tested first.
  • Tx shifts the LSB out from Tx buffer first.
  • Tx sends stop bit when there is nothing to send.

16
Receiving
  • Receiver samples the RxD to get the beginning of
    the start bit
  • Use resynchronization to avoid metastability
    of any flip-flop

17
Baud Rate Generator
18
Baudrate and Sampling
  • We want the transmission rate to be constant for
    different input clocks
  • Baud rates of 4800 and 9600 bit per second
  • Sampling rate x16 of the baud rate (bit rate)
  • Divide the clock (5 and 20 MHz) to get the
    Enable signal (sampling rate)

19
Testbench (Mock Processor)
  • A finite state machine
  • Receive data on the RxD from keyboard and
    transmit (echos) back on the TxD back to the
    HyperTerminal
  • Load Baud Rate Generator with Arbitrary value
  • Demonstrate ability to work with different clocks
    and BRG divisor values
  • Note that it is not provided.

20
Demonstration
  • Demos done in lab on 2/6 and 2/7 at start of
    class.

21
Report
  • Due 2/6 and 2/7
  • Verilog/VHDL code for your design with clear
    comments
  • Description of the function of the SPART and each
    block in the design, including the testbench
  • Record of experiments conducted and how the
    design was tested
  • Problems encountered and solutions employed
Write a Comment
User Comments (0)
About PowerShow.com