2. Discuss one-bit branch prediction and two bit branch predictions using examples and draw state...
1. Suppose we have a 5-stage pipeline CPU and run the following instructions: or $tl, $t2, $t3 or $t2, $tl, $t4 or $tl, $tl, $t2 1.1. What dependencies are there in the code? 1.2. Suppose there is no forwarding. What hazard may happen? Draw the pipeline diagram and insert stall (nop) to prevent these hazard. 1.3. If the pipeline has full forwarding. Are there still hazard? If so, draw the pipeline diagram and insert stall (nop) to prevent the hazard....
b. (i) Draw the circuit diagram of a 4-bit shift register using D-flip-flop. (2 marks) (ii) Supposing the 4-bit data 1011 is to be transfer in a 4-stage shift register using D-flip- flop, right-out the corresponding output of each of the flip-flop after the 6th clock pulses. (4 marks) c. Design a synchronous counter that go through the state 3, 4, 5, 7,8, 9, 10 . (13 marks)
Q2. Draw a schematic diagram for a 4-bit register using four D Flip-Flops and four 2-1 multiplexers. Draw a block around each one-bit register used in your design.
(2) What are the four (4) Qualitative Models? Explain each with examples. (3) State and Discuss four (4) components of a Time-Series. (4) Using Wallace Gardens Supply sales data in Table 5.2, if the November and December sales are changed to 17 and 16 respectively, what will be the Moving Average Forecasts for coming January month. Show all calculations clearly. (5) (a) State the Structure of Exponential Smoothing, and explain the role of "Alpha." (b) From the Port of Baltimore...
Please show process and I will rate faster!!! 2. Design a two-bit up/down binary counter using T-fip-flops that can count in binary from 0 to 3. When the control input x is 0, the circuit counts up and when it is 1, the circuit counts down. (a) Obtain the state table of the two-bit counter (P. S., Input, N. S., Output). (b) Obtain the state diagram. (c) Draw the logic diagram of the circuit.
BIT MAXIMUM VALUE SELECTOR Consider a simple device that takes two 2-bit binary inputs representing two values ranging from zero to three. The 2-bit value A is represented by two input variables Al and A0. Values of Al and A0 will be used to encode numeric values (in binary) as described below. 2-bit values for the second 2-bit input B and the 2-bit output C are encoded similarly. The 2-bit output C of the de- vice will be the greater...
2. A 2xl mux has two single-bit inputs and one selector bit (S). Such a mux allows you to choose one of the single-bit inputs to appear at the output. Let's say, you want to use four 2x1 such multiplexers to construct a 4-bit 2X1 multiplexer with selector (S). Such a multiplexer can be used to choose among four 4-bit inputs (see figure below). If A, B are all 4-bit inputs and are connected to the inputs of the multiplexer....
Design a circuit to add two 2-bit binary numbers and display the results of the addition as a 3-bit binary number, with the most significant bit be the carry out. To do this, you will use the four switches on your Breadboard Companion as your two 2-bit number inputs. Three of your LEDs will be used to represent the 3-bit output of your circuit. Complete a truth table for the expected output values on the lab data sheet attached. Use...
1. Suppose you want to design a 2-bit binary up-counter. Construct the state table using A1 and AO as the previous state of bits and A1+, A0+ as the next bit states, ie, to count from 00 to 01, A1 stays at 0, but AO changes from 0 to 1. Let the counter wrap-around, such that 11 -> 00. Draw the state diagram. 2. Next, add in a third input, En, for enable. The counter can only count up when...
1. How many different characters could be encoded using a six-bit code? 2. What is the numerical difference between ASCI a and ASClI 'AN if you treaj them as hexadecimal (hex) numbers? 3. The ASCII codes for the characters 'O' through '9' are what hex numbers? If an asynchronous frame is used to send ASCII characters in the form of bytes (8 bits), what is the shortest time it could take to send 1000 characters if each bit in a...