Lab5
Lab5
1.3. What is the difference between static RAM and dynamics RAM ?
1.4. What type of memory is typically used in USB thumb drives ? Why shouldn’t we rely on this for
critical data storage ?
2. Consider a computer with 1GB RAM (1024 MB). Given memory addressing is for each byte, how
many bits are needed to address all bytes in the system’s RAM ?
3. Give a brief description of the Von Neumann and Harvard computing architectures. What are the
fundamental differences between the two and for what is is each designed to achieve ?
4.1. Polling is an alternative to interrupts ? Briefly explain polling and why it is not com- monly used.
5. Explain the general concept of a stack - how do they work, and what is their primary pur- pose.
Provide all the answers to the above questions in your submission ocument. Practical - Stacks of
9. For your shift register to work as a stack, it needs to be bi-directional. This means the in- put to any
Flip Flop could come from two places - the left or the right. In lectures we dis- cussed a simple
“encoder” circuit that selects which of two data inputs is allowed through, based on a third selection bit.
Design the logic for this 2-bit encoder, and demonstrate it to your lab demonstrator.
10. Now incorporate your encoder above to allow bi-directional shifting of your stack. Your stack should:
10.1. push and pop bits onto and off the stack, using clock pulses and a direction toggle switch
10.2. show the state of each Flip Flop using LEDs.
Page 2 of 3
Export your circuit as an image and include it in your submission document. Demon- strate your
working stack to your lab demonstrator.
11. Modify your stack so that it has the option to read out its contents in parallel to a sepa- rate register of D
Flip Flops. This should only occur when a “stack dump” toggle switch (i.e., pin) is enabled. When the
toggle is disabled, the register of D Flip Flops should re- tain the last state read in (and should have
LEDs connected to each Flip Flop out showing its state).
Export your circuit as an image and include it in your submission document. Demon- strate your
working stack to your lab demonstrator.
Page 3 of 3