Reference no: EM131100572
E15: Fundamentals of Digital Systems - Fall 2015 - HOMEWORK 5
The starter code from the course web page includes test benches for each problem below. For each of the following, please submit the source code for your Verilog module along with a printout or screen capture of waveform plots indicating a successful run. Please make sure to set the display radix (base) on your waveform viewer to "binary".
1. Design a combinational Verilog module
module majority(A, Y);
that takes a 3-bit input A and outputs a single bit Y which is equal to 1 if and only the majority of the input bits are 1's.
2. Design a combinational Verilog module
module sort_bits(X, Y)
that takes a 3-bit input X and computes a 3-bit output Y which reorders the bits of X such that all of the zeros come first, then all of the ones. For example, if X = 100, we expect Y = 001.
3. Design a combinational Verilog module
module binary_to_gray(B, G)
that takes an unsigned 4-bit binary number B as input, and computes the corresponding 4-bit gray code G as output. One way to convert from binary to gray code is to observe the following rules:
- The MSB of the output is equal to the MSB of the input.
- Bit i of the output is obtained by XOR-ing together bits i and i + 1 of the input (i.e. that bit, and the one to its left).
4. Design a combinational Verilog module
module mux_4_to_1(I, S, Y)
which takes a 4-bit input I, a 2-bit address S, and outputs a single bit Y . The Y output should always be equal to the bit of I whose index is given by S. To implement this 4-to-1 MUX, your module must use the decoder_2_to_4 module provided in the starter code, similar to the example on the board from class.
Attachment:- homework5.zip
Explain to her about the rh factor
: She has heard that there may be a problem with the baby. Explain to her about the Rh factor and how this situation is taken care today.
|
They are a good investment. what is their present value
: Assume that you inherited some money. A friend of yours is working as an unpaid intern at a local brokerage firm, and her boss is selling some securities that call for four payments, $50 at the end of each of the next 3 years, plus a payment of $1,05..
|
Define what is meant by motivation-ability and opportunity
: Define what is meant by motivation, ability and opportunity. In addition to defining each concept, make sure that you convey what the differences are between each of these concepts. Provide a solid example that illustrates each concept in the seq..
|
What is the purpose of the test
: What is the purpose of the test (personality, screening, Marriage counseling, placement for children, etc.)? Who developed it and why? How is it used?
|
Design a combinational verilog module
: The starter code from the course web page includes test benches for each problem below. For each of the following, please submit the source code for your Verilog module along with a printout or screen capture of waveform plots indicating a success..
|
The general linear programming formulation
: Consider the general linear programming formulation of the transportation problem (see Table 8.6). Verify the claim in Sec. 8.2 that the set of (m + n) functional constraint equations (m supply constraints and n demand constraints) has one redunda..
|
How do experiences different from child in their classroom
: Students are encouraged to reflect on their life experiences and background. How do those experiences different from the child in their classroom? And how can educators bridge connections to better understand their students?
|
What would happen to the present value of the perpetuity
: What is the present value of perpetuity of $100 per year if the appropriate discount rate is 7 percent? If interest rates in general were to double and the appropriate discount rate rose to 14 percent, what would happen to the present value of the pe..
|
Used to solve the transportation problem formulation
: Consider the Northern Airplane Co. production scheduling problem presented in Sec. 8.1. Formulate this problem as a general linear programming problem by letting the decision variables be xj number of jet engines to be produced in month j (j 1, 2,..
|