we have (TTN)*
We have to use just one 2-bit counter with 1-bit global history?
and also use 2 bit-counter with 2 -bit global history
Answer is required for both cases
00=>01=>10=>11=>00 case2
0=>1=>0 10=>11 01=>10 case1
{(00),(01),(10),(11),(0),(1)}
we have (TTN)* We have to use just one 2-bit counter with 1-bit global history? and...
You are given the following code in C, a (2,1) global history predictor (hint: here we need four columns that each holds predictors of size 1 bit, and a number of rows…) and a 2-bit predictor (i.e., (0,2) predictor) for (i=100; i>0; i—-) { // Branch1 if (i mod 2 ==0) { //Branch2 ……… } else { ……. } } Q 1: Which predictor is the most suitable for Branch1 and why? Q 2: Which predictor is the most suitable...
Write a behavioral Verilog module for a 4-bit Johnson counter that has 8 states. The counter loads the "0000" state if reset is low. The counter should start and end with this state. Write a testbench to verify the correctness of the 4-bit Johnson counter. The testbenclh should have a clock with a period of 20ns and a reset signal. The testbench should store the 4-bit binary outputs of the counter in a file, which will be used to provide...
Please help! Thank You... 1. If we have to use a global variable, what technique can we use to easily identify it as such? 2. What is required to maintain a partially-filled array? 3. At what array size does it become beneficial to use a binary search instead of a linear search? ► 4. Describe what a min heap data structure can be used for. Include a picture of one.
1. Design a synchronous 2-bit up-down counter using a T flip flop for the most significant bit and an SR flip flop for the least significant bit; when the input X-1, it should count down and for X-0, it should count up. Use SOP.
1. Design a synchronous 2-bit up-down counter using a T flip flop for the most significant bit and an SR flip flop for the least significant bit; when the input X-1, it should count down and...
Use a behavioral Verilog model to design a 3-bit fault tolerant up-down counter. For each flip-flop (FF) include asynchronous reset and preset signals. Refer to Example 4.3 on page 160 for an example of a single FF with both reset and preset signals as well as with an enable signal. For this project, you don't need to use FFs with enables. You don't also need not-q (nq) in this assignment. Use active-high signals for reset and present signals. The example...
Design a 3-bit counter with counting sequence of 1, 3, 7, 2. Note: Use the symbol in order of CBA. (1) Draw the resulting circuit using JK-type flip flops. (2) Draw the complete state diagram corresponding to your circuit.
Consider the circuit in Figure 1. It is a 4-bit (QQ2Q3) synchronous counter which uses four T-type flip-flops. The counter increases its value on each positive edge of the clock if the Enable signal is asserted. The counter is reset to 0 by setting the Clear signal low. You are to implement an 8-bit counter of this type Enable T Q Clock Clear Figure 1. 4-bit synchronous counter (but you need to implement 8-bit counter in this lab) Specific notes:...
Design a synchronous 2-bit up-down counter using a SR flip flop for the most significant bit and an T flip flop for the least significant bit; when the input X=0, it should count down and for X=1, it should count up. Use SOP
1. Draw the state diagram and state table for a 2-bit binary counter. (20%)
2. We want to design a counter that counts both up and down between the numbers 1 and 5. But this counter will be a saturating counter, i.e., if it's at 1 and is told to count down, it will stay at 1. If it's at 5 and it's told to count up, it will stay at 5. There will be two control signals: U (for up) and D (for down). If neither is asserted, then the count value stays...