|
| 1 | +***************************************** |
| 2 | +Bit Patterns, Instructions, and Registers |
| 3 | +***************************************** |
| 4 | + |
| 5 | +* Feel free to use your laptop |
| 6 | +* You are strongly encourage to work with others |
| 7 | + |
| 8 | + * When you get stuck, ask those sitting around you for help |
| 9 | + * Get used to working together in the labs |
| 10 | + * Peer teaching and peer learning has been empirically shown to be very effective |
| 11 | + |
| 12 | + |
| 13 | +For these questions, feel free to use a single Digital workspace for all the circuits. However, label each circuit with |
| 14 | +labelled rectangles. These are components that can be found under **Components -> Misc. -> Decoration -> Rectangle**. |
| 15 | + |
| 16 | +Where possible, each question should have complete tests. The test component can be found under |
| 17 | +**Components -> Misc. -> Test case**. Once a test component is placed on the workspace, right click on the component to |
| 18 | +edit the test data. |
| 19 | + |
| 20 | +Questions may have restrictions on the logic gates that may be used. When restrictions are stated, they only apply to |
| 21 | +the gates; inputs, outputs, wires, etc. may be still be used. |
| 22 | + |
| 23 | + |
| 24 | +Prepare |
| 25 | +======= |
| 26 | + |
| 27 | +#. If not already completed, finish the design from the previous lab |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | +Registers |
| 32 | +========= |
| 33 | + |
| 34 | +#. Modify the design such that the values do not come from 8 bit inputs, but from registers |
| 35 | + |
| 36 | + * This will be similar to assignment 3 |
| 37 | + * The updated design should include eight 8 bit registers |
| 38 | + * Two sets of 3 bit values will be used to specify the two registers the values should be retrieved from |
| 39 | + * The design will have 1 output |
| 40 | + * This new design will have a total of 10 inputs |
| 41 | + |
| 42 | + * One 1 bit input specifying ALU or comparator |
| 43 | + * One set of 3 bit inputs specifying an operator |
| 44 | + * Two sets of 3 bit inputs specifying the sources of the two inputs to the ALU/comparator |
| 45 | + |
| 46 | + |
| 47 | +#. Modify the design such that the result is not only output, but saved to a specified register |
| 48 | + |
| 49 | + * This design will have 1 output |
| 50 | + * This design will have 13 inputs |
| 51 | + |
| 52 | + * The same 10 inputs discussed above |
| 53 | + * An additional 3 inputs specifying which register the output should be saved to |
| 54 | + |
0 commit comments