Prove that the shannon expansion theorem

Assignment Help Other Engineering
Reference no: EM131100996

E15: Fundamentals of Digital Systems - Fall 2010 - HOMEWORK 5

Using Blackboard, please submit a zip file containing the Verilog sources for your modules. The zip file should contain seven files, each one with the same name as the module that it implements (e.g. less_than_three.v).

You should write test bench code to test your Verilog modules, but you don't need to submit your test bench code. I will run your modules against my own test bench.

1) Design a Verilog module

module less_than_three(A, Y);

that takes as input a 3-bit binary number A and outputs a single bit Y which is equal to 1 if and only if A is less than three. Note that if you carefully study the "Operators" section of the cheat sheet linked to from the course website, this could be a very short module!

2) Design a 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.

3) Design a Verilog module

module hw4_3a(X, Y);

that takes as input a 3-bit binary number X and outputs a 3-bit binary number Y, according to the following: when X is less than 4, outputs two greater than X; when X is greater than or equal to 4, outputs three less than X.

4) Design a Verilog module

module sort_bits(X, Y);

that takes a 3-bit input X and outputs a 3-bit output Y which is equal to the bits of X sorted from least to greatest (0's, then 1's).

5) Design a Verilog module

module binary_to_gray(B, G);

that takes as input a 4-bit binary number B and returns the corresponding Bth 4-bit Gray code G.

6) Modify the 2-to-4 decoder Verilog example from the course website to produce a module

module 2_to_4_with_enable(EN, I, Y);

that implements a 2-to-4 decoder with enable.

7) Design a module

module 4_to_16_with_enable(EN, I, Y);

that implements a 4-to-16 decoder with enable by instantiating your 2-to-4 decoder module from the previous problem five times.

8) For the function

F(a, b, c, d) = Σ(1, 2, 3, 6, 7, 8, 9, 11, 12, 15)

a. Use Shannon's expansion theorem to implement F with a 4x1 multiplexer, using a and b as the address line inputs. Simplify the remaining 4 inputs by combining product terms. Draw a diagram.

b. Do the same, except now using c and d as the address line inputs. Again, draw a diagram.

c. Draw a K-map for the function. Each non-address input to your multiplexer corresponds to a particular 4-cell region of the K-map. What regions correspond to the 4 inputs of the first multiplexer? The second?

d. Can you explain, using the K-map, why the inputs to the second multiplexer are less complex than the inputs to the first?

9) In class we saw the Shannon Expansion theorem, which states that for a Boolean function of n variables,

F(w1, w2, ..., wn) = w1' • F(0, w2, ..., wn) w1 • F(1, w2, ..., wn)

a. Prove that the Shannon expansion theorem works for any Boolean function expressed as sum of product terms.

b. State why it works for any Boolean function, not just SOP functions.

c. Consider a Boolean function F(a, b, c, d). We will implement it with an 8x1 multiplexer, using the variables a, b, and c as inputs to the address lines. What are the only four possible inputs that we can send into the remaining 8 input lines, and why?

Reference no: EM131100996

Questions Cloud

How might scientific anthropology be view as simultaneously : How might a scientific anthropology be viewed as simultaneously emphasizing and subverting social differences, from the 'feminist' (e.g., Sally Slocum) and the 'question of difference' (e.g., David Valentine) perspectives?
Securities in developed and developing markets : What are the features of various financial securities in developed and developing markets?
Estimates age of sediments in which fossils are found : Radiometric technique using the decay of potassium40 to argon40 in potassium-bearing rocks and estimates the age of sediments in which fossils are found is referred to as?
The appropriate null and alternative hypotheses : Starting in 2008 an increasing number of people found themselves facing mortgages that were worth more than the value of their homes.
Prove that the shannon expansion theorem : E15: Fundamentals of Digital Systems - Fall 2010 - HOMEWORK 5. Prove that the Shannon expansion theorem works for any Boolean function expressed as sum of product terms
Gs stock with a strike price : The current risk-free rate is 0.3% per month. What is the price of a 3-month put on GS stock with a strike price of $30 (put-call parity)
Design a non-inverting amplifier with a nominal gain : Assume the op amp has a finite gain but is otherwise ideal.
Question regarding the firms operating risk : If the project does not change the firms operating risk and is financed exclusively with new equity, what rate of return must it earn to be acceptable?
What is the actual voltage gain : Suppose the circuit is designed for a nominal gain of 2.00 but the R1 and R2 suffer from a mismatch of 5% (i.e., R1 = (1 ±0:05) R2). What is the actual voltage gain?

Reviews

Write a Review

Other Engineering Questions & Answers

  Implement lean within evenort

You have been employed as a consultant to implement Lean within Evenort, a business providing bespoke flanges to the oil and gas industries.

  Design a multiphase flow meter component

To research Literature review on the current Multiphase flow meters sensors in the oil and gas industry - design a multiphase flow meter component using CATIA V8, subjecting it to the loading modes in the marine environments.

  Press release analysis

Locate a recent electronic version of a print advertisement. Write a 500-word analysis that addresses the following questions:

  Expected waiting time in the queue increases

Consider an M/M/1 queueing system. If the arrival rate increases, then the expected waiting time in the queue increases. Yes or No? Explain.

  What is strategic management and what are some of its major

What is strategic management and what are some of its major objectives? Explain in two paragraphs.

  Identify an ict-related ethical issue from a media article

Construct a diagram to map the arguments about a moral claim that you have identified in the article/case study - identify an ICT-related ethical issue from a media article or case study.

  Find and output resistance of closed-loop amplifier

Consider a design of the cascode op amp of Fig. 13.10 for which I = 400 μA and IB = 250 μA. Assume that all transistors are operated at / VOV / = 0.2 V and that for all devices, / VA / = 10 V. Find Gm, Ro, and Av .

  What are the three simple categories of conventional welding

(a) What are the three simple categories of conventional welding? Which of the three is the cleanest and most healthful? Explain your answer (b) Why should acetylene cylinders be stored valve end up? Explain the safety measures required for the st..

  Ohs environment for the offshore petroleum industry

Prepare a well-researched report that identifies and analyses the existing OHS environment for the offshore petroleum industry in Australia.

  What is code-warrior simulation result after moving the data

What is the Code-Warrior simulation result (showing register and memory contents from address $2000 to $202F) after moving the data?

  Amount of heat loss from the apple

An apple loses 4.5 kJ of heat as it cools per °C drop in its temperature. The amount of heat loss from the apple per °F drop in its temperature is

  Roughly sketch the psd and find its bandwidth

Derive Sy(f ), the PSD of a Manchester (split-phase) signal in part (a) assuming 1 and 0 to be equally likely. Roughly sketch this PSD and find its bandwidth.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd