EE 551 Final Project - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

EE 551 Final Project

Description:

Accepts raw' input signals from the outside world. Debouncing and clock synchronization ... For mode switches, synchronizes all changes with the system clock ... – PowerPoint PPT presentation

Number of Views:48
Avg rating:3.0/5.0
Slides: 16
Provided by: vik83
Category:
Tags: clock | final | project | world

less

Transcript and Presenter's Notes

Title: EE 551 Final Project


1
EE 551 Final Project
  • Differential Score-Keeping SystemAndrew Moor
    and Aaron Symko

2
System Requirements
  • Power-up rest / test
  • 2-digit display output
  • Score for Team A
  • Score for Team B
  • Difference in scores
  • Number of lead changes
  • Bargraph output for visual indication of scores
    and display modes

3
System Modules
  • Main controller
  • Input processing
  • Display controller
  • Bargraph controller
  • Scorekeeping controller (ALU)
  • Built-in self-test

4
System Block Diagram
Bargraph LEDs
Multipurpose Output Control Module
Built-in Self-Test Module
Input Processing Module
Score Switches
Control Module (State Machine)
External Clock
Mode Control Module
Mode Control Switches
Score Processing Module
7-Segment Displays Decoder / Controller Module
7-segment LED displays
5
Main Controller
  • State machine
  • Integrated power-up reset and self-test
  • Sends control codes to ALU
  • Routes results from ALU to display controller and
    bargraph controller
  • Monitors clean signals from input processing
    module

6
Input Processing Module
  • Accepts raw input signals from the outside
    world
  • Debouncing and clock synchronization
  • For score buttons, returns a logic level on the
    appropriate line until cleared by the controller
  • For mode switches, synchronizes all changes with
    the system clock

7
Display Controller
  • Accepts a 7-bit binary number between 0 and 99
    (output of the ALU, routed through the main
    controller)
  • Converts binary number to a 2-digit BCD
    representation
  • Generates appropriate logic levels to drive
    7-segment display
  • Returns these logic levels to the controller (7
    bits for each digit)

8
Bargraph Controller
  • Accepts data from the main controller
  • Current display mode
  • ALU output value (number from 0 to 99)
  • For Team score modes, lights up all 4 LEDs on
    that teams side

Team A
Team B
Team A
Team B
Team A score mode
Team B score mode
9
Bargraph Controller
  • For Difference mode, lights up
  • 1 LED if team is leading by less than 5
  • 2 LEDs if team is leading by 5 to 9
  • 3 LEDs if team is leading by 10 to 14
  • 4 LEDs if team is leading by 15 or more

Team A
Team B
Difference Score Mode Team B is leading by 12
points
10
Built-in Self-test
  • Power-up default mode
  • Accessible at any time via a switch
  • Lights up all output LEDs

Team A
Team B
11
Scorekeeping Controller
  • Consists of two sub-modules
  • Main ALU unit
  • ALU controller

12
ALU Controller
  • The ALU controller multiplexes the desired output
    from the ALU back to the main controller

7
MUX
difference
7
To Main Controller
7
Score A
7
From ALU
output
Score B
7
Lead Change Total
control
From Main Controller
2
13
ALU
  • Computes and stores the team A score, team B
    score, difference, and number of lead changes.
  • Asynchronous operation with a reset option.
  • LSB of current mode was used as an input to
    determine which team score to increment.

14
ALU Module
Reset
From controller module
Control(0)
2
Team in lead
ALU
async
difference
Score A
Score B
Lead Change Total
To controller module
15
Conclusion
  • Altera simulation results match the expected
    operation of the entire system.
  • Future enhancements
  • Largest point margin
  • Longest unanswered scoring streak
Write a Comment
User Comments (0)
About PowerShow.com