"Counting the memories" Lab
PurposeToday, we will create a simple control unit, using (and learning) two new chips.Components usedDatasheets are attached for:
Lab ProblemsFirst, we'll learn how the EEPROM works. Then, we'll play with our binary counter. In the finale, we're going to use the counter to generate addresses for the EEPROM. Deliverables: Complete a nice logic diagram and show me when you've completed each step. 1. The EEPROM, 2816The 2816 EEPROM is a 2K x 8 electronically erasable ROM. The goal of part 1 to is to write the following 16 decimal values into the ROM:
Please note that the values in the table are just gibberish that I made up. You can put your own values in as long as you write them down and as long as they are also somewhat random... don't want to stifle your creativity, eh. Read the datasheet description of the 2816 EEPROM. Draw a circuit diagram of how you plan on hooking it up. Here's some help:
Here's my suggested connections:
Every pin should be connected to something before you start. Set your address and value switches, and "program" your ROM using the values from the table. Press the PB1 button each time to write to the ROM. Once, you've programmed the ROM, you want to show that the values have successfully been written. You need to disconnect switches S3 - S0 from the ROM; we will no longer be writing or setting values. We want to read the values in the ROM, so connect I/O bits I/O3 - I/O0 to the LEDS (L3 - L0). Don't forget to turn the power off as you are altering the connections. Don't worry though, your 2816 is nonvolatile. Turn the power back on. Try addresses 0 through 15 and verify that you have programmed your values into the ROM. Note: give your EEPROM some time to power up. When you have verified that you ROM is programmed, then show me! 2. The Counter, SN7493In part 2, please connect the 7493 to count from 0 to 15, repeating, showing the count in octal on the logic board's seven segment display. The seven segment display has two digits, DS1 & DS2, on the lower right. You can use the seven segment display by doing the following:
Please read the description of the counter. I suggest connecting it as follows:
We will show the count using octal values on the seven segment display, so:
Draw your circuit diagram, showing all connections. You should be ready to count, using the PB1 button. Learn how to start your count at 0 using your reset switch. Success is counting from 0 to 15 (or 17 in octal) and repeating. 3. A caveman's micro sequencerFor the final step, connect the QD - QA outputs of your counter to the A3 - A0 address inputs of the ROM. You should be able to cycle through the ROM values that you set earlier using the counter. |