Question

In: Electrical Engineering

Design a controller that detects the four-bit, binary MSB first serial sequence of the rounded average...

Design a controller that detects the four-bit, binary MSB first serial sequence of the rounded average of the last digits of the team members' Social Security Numbers. You should use a switch in the Nexys4 DDRTM FPGA Board to mimic a clock pulsed. The input bit should be setup before the clock pulse

Verilog Code

Solutions

Expert Solution

Introduction:an algorithmic state machine (ASM) is a finite state Machine that use a sequential circuit (the controller)

to coordinate a series of operations among other functional units functional units such as counters,registers,adders,etc.(the Datapath).The series of operations implement an algorithm.the controllers passes "control" signals which can be moore or mealy outputs from the controllers ,to the datapath.The datapath returns informations to the controller in the form of "status" information that can be used to determine the consequences of states in the conntroller.both the controller and the datapath may each have external inputs and outputs and are clocked simultaneously.

the two basic stratigies for the design of a controller are:

1.hardwired control: which includes techniques such as "one hot state" (also known as "one flipflop per state ")and decoded sequences registers.

2.microprogrammed control:which usesa memory device to produce a sequence of control words to datapath..since hardwired control is generally speaking,fast compared with microprogramming stratagies,most modern micrprocessor helps in the course for now we concentrate on a binary multiplier.

Binary Multiplication:the design of binary multiplication stratigies has long history.Multiplication is such a fundemental and frequently used operation in digital signal processing,that most modern DSP chips have decided multiplication hardware to maximize performance.the first example that we considered(in class)that used a repeated addition strategy of clock multiplier the more iterations that are required.That is not practical.another approach to achieve fast corresponding bits.for an 8-bit x8-bit multiplier ,a(2 8+8)x16=1 Mbit memory is required.This approach is conceptually simplified time equal to the access time of the memory device ,regardless of the data being multiplied . But it is also impratical for larger values of n .


Related Solutions

1. Design a sequence detector, a Mealy finite state machine to detect the serial bit sequence...
1. Design a sequence detector, a Mealy finite state machine to detect the serial bit sequence 1101, where the most significant bit (MSB) comes first and the least significant bit comes last. A) Draw the state diagram B) Draw the state table C) The circuit is to be implemented using JK flip-flops and combinational logic circuit. Derive the Boolean expression necessary for this implementation. D) Sketch the circuit diagram for your design. This should show all the flipflops, logic gates...
design a sequence detector that detects the sequence: 110. The device has one input x and...
design a sequence detector that detects the sequence: 110. The device has one input x and one output Y. When the input sequence is set to 1 followed by a 1 followed by a 0, then Y is set to 1 otherwise Y is set to 0. Use J-K flip-flops and minimum number of states is designing this detector and show the followings: a) Show the state diagram b)Show the state table for this detector
Design a state diagram that detects the 7-bit ASCII code of the last alphabet of your full name from a sequence of incoming bits
Design a state diagram that detects the 7-bit ASCII code of the last alphabet of your full name from a sequence of incoming bits. Derive the truth table and draw the circuit diagram of this system using D-Flip Flops. Note: “Muhammad Ali” than you have to detect ASCII code for “i”. Note : Do this for "i"
Design a combinational circuit that implements a Binary-to-Grey Code converter. Your input should be a four-bit...
Design a combinational circuit that implements a Binary-to-Grey Code converter. Your input should be a four-bit binary number, and your output should be the equivalent four-bit Grey Code value. First, design the circuit using NAND gates only. Next, design the circuit using a minimal number of 2-input XOR gates.
Assume that you had just received the bit sequence "10000011". Given the first bit is a...
Assume that you had just received the bit sequence "10000011". Given the first bit is a parity bit, which parity system would indicate that there has been a 1 bit transmission error? Justify your answer. Enter your answer below.
Design a 4-bit bidirectional serial-in-serial-out shift register using S-R flip flops that trigger on the negative–edge...
Design a 4-bit bidirectional serial-in-serial-out shift register using S-R flip flops that trigger on the negative–edge transition. EXPLAIN its operation if binary input 0101 is applied to the register which initially holds binary data 1101. DRAW the timing-diagram for serial-in operation in right-shift mode only.
Question 1Assume that you had just received the bit sequence "10000011". Given the first bit is...
Question 1Assume that you had just received the bit sequence "10000011". Given the first bit is a parity bit, which parity system would indicate that there has been a 1 bit transmission error? Justify your answer. Enter your answer below. Question 2 Not yet answered Marked out of 2.00 Not flaggedFlag question Question text Which type of CPU are you likely to find in applications where low power consumption is required? Select one: a. CISC b. SISD c. SIMD d....
Design a transducer to convert a binary string into octal. For example the bit string 001101110...
Design a transducer to convert a binary string into octal. For example the bit string 001101110 should produce 156. Please complete the code to account for the 7 cases of 3 digit binary strings. //Function binaryToOctal takes a char array digits of length 3 //Pre: digits contains 3 binary digits. //Post: function returns the octal number equivalent to the 3 binary digits int binaryToOctal( char digits[], int 3){ int number; if(digits[0]=='0') if (digits[1]=='1') if (digits[2]=='0') return 2;//found "010" else return...
An n-bit binary string is a sequence of length n over the alphabet {0,1}. How many...
An n-bit binary string is a sequence of length n over the alphabet {0,1}. How many n-bit binary strings are there? How many n-bit binary strings b1,…,bn are there such that b1b2≠00? In other words, how many n-bit binary strings don't begin with 00? How many n-bit binary strings b1,…,bn are there such that b1b2≠00 and b2b3≠11? How many n-bit binary strings b1,…,bn are there such that b1b2≠00 and such that b2b3≠01?
With being given two n-bit binary strings, verify if the strings are identical or not. Design...
With being given two n-bit binary strings, verify if the strings are identical or not. Design a procedure showing all steps and write a pseudo-code. What is the complexity of the procedure? If it can tolerate some error, is there a better than linear time solution? If so, write the pseudo-code.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT