EE4OI4 Engineering Design - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

EE4OI4 Engineering Design

Description:

Many of these pulses have enough amplitude to generate a clock pulse for the counter ... It uses a 4 bit shift register, clocked at 100Hz to do the filtering ... – PowerPoint PPT presentation

Number of Views:26
Avg rating:3.0/5.0
Slides: 13
Provided by: sshi5
Category:

less

Transcript and Presenter's Notes

Title: EE4OI4 Engineering Design


1
EE4OI4Engineering Design
Sequential Design and Hierarchy
2
Design problem
  • UP3 Design considered here is an 8-bit counter,
    with outputs displayed on LCD panel.
  • This is a sequential circuit since the value of
    output depends on the input and past behavior
    (state) both
  • UPcore functions are used for the design
  • UPcore functions are special hardware blocks
    designed to support the use of I/O features on
    the UP board (push buttons, seven segments,
    keyboard, mouse and video output).

3
Design problem
  • The counter should count up when one of the
    pushbuttons is pressed
  • The other pushbutton resets the counter
  • We use the function lpm_counter0 available in the
    Mega-functions library

4
(No Transcript)
5
(No Transcript)
6
Hierarchy
  • Complex designs are typically broken into smaller
    design units, which are easier to understand and
    implement
  • Smaller designs are interconnected to form the
    complex system
  • The overall design is a hierarchy of
    interconnected smaller design units.

7
(No Transcript)
8
(No Transcript)
9
Debouncing
  • A push button contains a metal spring and it
    makes several contacts before stability
  • Many of these pulses have enough amplitude to
    generate a clock pulse for the counter

clk
10
Debouncing
  • For single-pole single-throw (SPST) push button
    a time averaging filter

11110101010000
11
Debouncing
  • UPcore has a debouncing module
  • It uses a 4 bit shift register, clocked at 100Hz
    to do the filtering
  • If all four bits in the register are high (low)
    the output will be high (low)
  • A clock division module is used to reduce the 48
    MHz UP3 system clock to 100 Hz.

12
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com