CS63 Programming Project

Posted on Feb 5, 2014

I designed a 8x8-bit memory module using LogicSim, a shareware software program that allows people to create logic diagrams and run a simulation using that design. The memory module I created uses 688 logic gates. There are couple layers of abstraction in the design. I did this for two reasons. First, I wanted to keep the diagram as well organized and as understandable as possible.

CS63 Programming Project
Click here to download the full size of the above Circuit.

The other reason was LogicSim does not have a big desktop. Abstraction allowed me to put more words into the memory module. Initially I tried implementing a 7x8-bit memory module (see below). However, that used 938 logic gates. It was a monster. Then I tried at 12x8-bit module. When I tried to run a simulation using the circuit, it crashed the program, so I abandoned that idea. So I settled on the 8x8-bit memory module. This diagram of this module is simpler and easier to follow, compared to my original 7x8-bit module. By the way, the goliath fell hard. This memory module contains 688 logic gates, a far cry from 938. The goliath also suffered from a major flaw. A word in memory was purged when either the RW or CE inputs were changed. I believe I fixed that bug. Please look at my design for a 8x8-bit memory module and tell me what you think. I included the circuit diagrams for the custom modules used in the main circuit diagram. Let me try to explain this diagram so it is less confusing. On the left are many switches. The switches labeled L0-L7 are data input switches. The switches labeled A0-A2 are address switches. CE, RW, and OE stand for chip enable, read/write, and output enable, respectively. The address lines feed into a 3-8 decoder, which determine which word is to be enabled for reading or writing. The output from the decoder feeds into the 4x4-bit memory modules, which are custom-made. The data lines, as well as...

Leave Comment

characters left:

New Circuits



Popular Circuits

Car Battery Charger
B-Field Measurer
USB Battery Charger for AA NiMH and NiCd
build relay toggle switch
remote control mains switch
T5753 T5753 UHF ASK/FSK Transmitter
FM receivers with PLL