






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Main points of this exam paper are: Register Bits, Counter That Counts, Control Signal, State Machine, Clearly Mark the Meaning, Input Signal Value, State Diagram, Transition Table, Corresponding to the Count, State Transition Table
Typology: Exams
1 / 11
This page cannot be seen from the preview
Don't miss anything!







th
Problem Graded
Total
Student Name: __________________________________
Student Number: ________________________________
range [0..31] as determined by the control signal Up / Down.
a. How many register bits are required for this state machine? ____________
b. Draw the state diagram. Number all states and clearly mark the meaning of each state. Show all transitions and input signal value.
c. What are the input and output variables in the state transition table?
Input:
Output:
d. Provide the entries in the state transition table corresponding to the count values of 12 and 28?
b. How many chips do you need? ________
c. Draw a complete design using basic building blocks. Clearly label all signals and their width. Mark the chips that have the contents of address 0x
Addr
Data
Using the datapath below, you wish to swap the upper and lower 16 bits of Register R5 and store the result in register R6. Writethe microcode to realize this operation.
0
31
0
31
15 16
15 16
.data str: .asciiz “This is a test” .align 3 entry: .word 33, .space 40
a. How many bytes in the data segment do the preceding directives utilize?
b. What is the address of the word containing the value 44?
c. What is the value of str?
d. What is the address of the word containing the character “e” in the string “test”?