Next: 2 Lab
Up: Lab 10: Build a
Previous: Lab 10: Build a
1 Prelab
- Using the instruction set provided in the Appendix 3.1.1,
write a computer program to generate running lights. One way to
accomplish this is to start with an 8-bit number 0000 0001 (where
the one represents the LED that would be off). Then left shift that
number once you have reached the end, jump back to the beginning of
the program. Figure 2 shows the expected output
at different time steps.
Figure 2:
The sequence at which the LEDs turn on or off. The
empty rectangles with black boarder represent and LED in the
off state.
. |
- Using the graphical method as shown in Section 3,
design and build the entire computer.
Copyright © 2008, Electrical Engineering Department, New Mexico Tech
Last Modified 2009-11-10