Professional Documents
Culture Documents
Vlsi
Vlsi
PSoC® Implementation of a
Newspaper Vending Machine Controller
Abstract
Implementation of a Newspaper Vending Machine Controller, written in PSoC assembly language, is presented. The state of
the interface signals are indicated by LEDs and displayed on an LCD screen... Future design enhancements and potential
cost reductions are also discussed.
$0.30 1 1 0
1
0
1
0
1
1
1
1
1
0
0
0
1
0
1
0
Testing and Debugging
0 1 1 1 1 0 0 0
Procedure:
1 0 1 1 1 0 0 1
An LCD and LEDs were used to debug the program.
1 1 1 1 1 1 0 0 Individual register values were displayed on the LCD.
$0.35 1 1 1 0 0 X X X 0 0 0 Partial code was run to display intermediate values.
0 1 X X X 0 0 1 Boolean values were displayed as “ON” or “OFF” states of
1 0 X X X 0 1 0 LEDs.
1 1 X X X 1 0 1
Case 4:
3 Dimes, 1 Quarter (10 10 10 11)
State 0 >> State 2 >> State 4 >> State 6 >> State 7
Change = $0.20, Output = 2 Dimes
Acknowledgement
Case 2: This Application Note is based on work required to meet certain
1 Quarter, 1 Quarter (11 11) requirements of a graduate level course offered at Stony Brooks
Department of Electrical and Computer Engineering by Dr. Alex
Unlatch = 1, Release = 1, Change = $0.15 (NR=1, DR=1)
Doboli, Associate, Professor.
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone: 408-943-2600
Fax: 408-943-4730
http://www.cypress.com
© Cypress Semiconductor Corporation, 2006. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the
use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended
to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize
its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of
Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.