Professional Documents
Culture Documents
1 of 3
STOP
PAUSE
CP1
CP2
Milliseconds RO
Counter
RESET
CLK
START
Seconds Display Unit
INC
RESET
RO
Fig. 1. Some of the parts to be used in the microprocessor based digital stopwatch.
2 of 3
The additional components of your design can be chosen from only the provided list of
available components (see below). Your solution will be marked for completeness, so
show all pertinent wiring of components in your diagram. Your solution will be marked for
readability and legibility. Note: Cost is an important constraint, so use the absolute minimum number of devices and smallest size of the devices as required.
Note: all of the signals from the Control Panel, Milliseconds Display Unit (RO), Millisconds Counter (RO); and all of the signals controlling the Milliseconds Display Unit, Millisconds Counter, and Seconds Display Unit must be processed by your microprocessor
software. For example, you cannot simply connect Ro fromt he Milliseconds Counter to
the INC pin of the Milliseconds Display Unit. The INC signals must be generated by your
software.
[1.1]
Draw a system diagram, which is similiar in format to Fig. 3, on Page 306 of Lecture 25.
[1.2]
[1.3]
Draw a diagram of the memory map for this system. Include the address ranges of
all memories and I/O controllers. Also, show the starting and ending addresses of
the program code area, data area, and stack area. Also, show the contents of the
vector table.
[1.4]
2. Analysis Questions
[2.1]
In your design, how much time elapses between the assertion of the milliseconds counters RO signal and the assertion of the milliseconds display units
INC signal?
[2.2]
In your design, how much time elapses between the assertion of the milliseconds display units RO signal and the assertion of the seconds display units
INC signal?
[2.3]
If you are using a stack, how large does your stack grow?
[2.4]
[2.5]
If you are using RAM, how large of RAM do you require in your design?
[2.6]
Available Parts: The following devices are available (no other devices are permitted):
A basic micro-processor (You may use the HCS11 instruction set).
Three 512x8 ROM chips, each with one positive level chip select.
One 128x8 ROM chip, with one negative level chip select.
3 of 3
Eight 32Kx8 RAM chips, each with one positive level chip select.
One 64x8 RAM chip, with one positive level chip select.
Many 4-port PCIAs, with one positive level chip select.
One A2D converter, having 8-bit resolution and a fixed sampling frequency of 8 kHz.
Two D2A converters, which convert 8-bit numbers to the range of 0V to 5V.
Two LEDs.