Sum of products and canonical product of sums

Assignment Help Other Engineering
Reference no: EM131077680

Provide detailed answers to the following:

1.   Perform the following conversions:
a.  456.14 in Octal to Decimal
b.  1000.7 in Decimal to Hexadecimal
c.  A5B.0C.in Hexadecimal to Octal
d.  11011.011 in Binary to Octal

2.   Simplify the following:
a.  xyz + x'y + xyz'
b.  ABC + A'B + ABC'
c.  (x + y)' (x' + y')

3.   List the truth table of the following functions. Also draw the logic diagram (gate implementation of the following functions)
a.  F = xy + xy' + y'z
b.  Y = (A + B) (C' + D)

4.   Write the canonical sum of products and canonical product of sums for the following functions:
a.  F = ΣX,Y,Z(0,3)
b.  F = ΠA,B,C(1,2,4)

5.   Write Verilog code to describe the following functions:
a.  f1 = x1x3' + x2x3' + x3'x4' + x1x2 +x1x4'
b.  f2 = (x1 + x3') . (x1 + x2 + x4') . (x2 + x3' + x4')

6.   A given system has 3 sensors that can produce an output of 0 or 1. The system operates properly when exactly one of the sensors has its output equal to 1. An alarm must be raised when two or more sensors have the output of 1. Design the simplest circuit that can be used to raise the alarm. Use K-MAP for the simplest circuit.

  1. Problem Statement and Analysis
    For this laboratory, you will use the two-way light controller circuit shown in Figure 1. The circuit can be used to control a single light from either of the two switches, x1 and x2, where a closed switch corresponds to the logic value 1. The truth table for the circuit is also given in the figure. Note: this is only the Exclusive-OR function of the inputs x1 and x2; you will need to specify it using the gates shown.

    The required circuit is described by the Verilog code in Figure 2. This code can be typed into a file by using any text editor that stores ASCII files, or by using the Quartus II text editing facilities. While the file can be given any name, designers generally use the same name as that of the top-level Verilog module. The file name must include the extension v, which indicates a Verilog file. Accordingly, you will use the name light v.

module light (x1, x2, f);
input x1, x2;
output f;
assign f = (x1&∼x2) | (∼x1& x2);
end module

 

Figure 2: Verilog Code for the circuit in Figure 1

[Note: ~ sign represents inverse in Verilog. This is located below the Esc key on most keyboards.]

On the basis of the above explanation, complete the following:

Step 1 - Downloading and Installing Quartus II
Download and install the latest version of the software by following the step-by-step process below:

1. Go to the following URL:
https://www.altera.com/myaltera/mal-signin.jsp
You must create an account by entering your email address. You will also be asked to enter some personal information to complete the registration process.
2. After creating an account, click on the "Download Center" at the top of the page.
3. On the next page, click on the "Free Web Package" button.
4. You will download the latest version of the software: Quartus II Web Edition v14.1 (This is the default version, so there is no need to change it). You must select the "Operating System" and "Download Method". Choose "Direct Download" as your "Download Method".
5. There are three options for downloading the software. If you want to download the complete package, which is 4.5 GB, you must select "Combined Files". However, for the purpose of this course, there is no need to install all files. Therefore, you can select the "Individual Files" option and download the following files only, which is 2.5 GB in total:
Note: Remember to download all the files into a same directory.
a. Quartus II Software (includes Nios II EDS)
b. ModelSim-Altera Edition (includes Starter Edition)
c. MAX II, MAX V, MAX 3000, MAX 7000 device support
d. Quartus II Help
6. After downloading the required files, you are now ready to install the software. To do so, run the QuartusSetupWeb-13.0.1.232.run file and follow the installation process. There is no need to modify anything in the process.

7. Once the installation is complete, the software will be launched automatically.

Step 2 - Creating and Compiling the Project with Quatrus II Verilog

Read sections 3 through 6 of the file Quatrus_II_Introduction.pdf. Follow the steps in these sections and enter the Verilog code in Figure 2 to Quatrus II program.

Step 3 - Simulating the Project with Quatrus II Verilog
Read section 8 of the file Quatrus_II_Introduction.pdf. Follow the steps in this section. Simulate the Verilog code and generate the output waveform.

Step 4 - Checking the Simulation
Check your simulation and make sure that your simulation satisfies the design requirements (the Truth Table in Figure 1).

Step 5 - Writing the Lab report
Write the laboratory report using the laboratory report format.

Step 6 - Submitting the Report
Submit your report by the due date.

Use the American Psychological Association (APA) style (6th edition) for writing your assignment.

Compose your work using a word processor (or other software as appropriate) and save it frequently to your computer. Be sure to check your work and correct any spelling or grammatical errors before you upload it. When you are ready to submit your work, click "Browse My Computer" and find your file. Once you have located your file, click "Open" and, if successful, the file name will appear under the Attached files heading. Scroll to the bottom of the page and click "Submit."

Reference no: EM131077680

Questions Cloud

Type of printing error : Major textbook publisher has a contract with a printing company. Part of the contract stipulates that no more than 5 percent of the pages should have any type of printing error.
Describe how you would measure pain : Describe the differences between nociception, pain, pain behavior, and suffering. Find and illustrate examples of how people can have nociception without pain, pain without pain behavior, and pain without suffering.
Who is involved in an accident is under 25 : Who is involved in an accident is under 25?
Write down the test hypotheses : A study on the pay of CEO's examined the percentage increase in cash compensation of the CEO's of 104 companies, adjusted for inflation, in recent years. The mean percentage increase in real compensation was and sample standard deviation of 5.3%. ..
Sum of products and canonical product of sums : A given system has 3 sensors that can produce an output of 0 or 1. The system operates properly when exactly one of the sensors has its output equal to 1. An alarm must be raised when two or more sensors have the output of 1.
Write a probability distribution for the possible gains : Find the gain for each prize. Write a probability distribution for the possible gains. Find the expected value. Interpret the results.
Explain what is meant by the term factorial design : Explain what is meant by the term ‘mixed-model design' and discuss how using such a design can sometimes allow researchers to enjoy the benefits of within subjects designs while avoiding some of their most serious drawbacks.
What is the probability that a vote for the incumbent : what is the probability that a vote for the incumbent was cast by a registered Republican?
Protection for trans gender people in jobs : A CNN Poll in May 2016 contacted a random sample of 1001 adults and asked the question "overall do you favor or oppose laws that guarantee equal protection for transgender people in jobs, housing, and public?" in the sample, 750 of the people said..

Reviews

Write a Review

Other Engineering Questions & Answers

  The independent samples t-test, in statistics for managers

How does variability in the distribution of sample means compare to variability in a population based on individual scores?

  What extent were the cost overruns

Provide a comparison of the projects, what extent were the cost overruns and how were the overruns handled by the authorities.

  Determine using z-transform techniques

Prove that the Fibonacci sequence can be though of as the impulse response of the system described by the difference equation:

  Unemployment regulations and benefits

Paper viewpoint: Unemployment regulations and benefits should be changed for at least these following reasons:-Lax regulations for time limits, leading to unending benefits or secondary welfare system

  Velocities at the inlet and the exit

Water enters a pump steadily at 100 kPa at a rate of 35 L/s and leaves at 800 kPa. The flow velocities at the inlet and the exit are the same, but the pump exit where the discharge pressure is measured is 6.1 m above the inlet section. The minimum..

  Mutual information of the channel

Consider a binary symmetric channel characterized by the transition probability p. Plot the mutual information of the channel as a function of p1, the a priori probability of symbol 1 at the channel input; do your calculations for the transition p..

  Formulate an integer linear programming model

Formulate an integer linear programming model for Dr. Konur's problem by defining your decision variables, and expressing your objective and objective function

  The grantham online library about teamwork

Directions: Please answer the question and support your ideas, then respond to a minimum of two of your classmates. In weeks 7 and 8, you will work with other student in the class on a team project. It is important to understand what makes a team s..

  Characterize the production performance of bakken wells

Characterize the production performance of Bakken Wells. You need to correlate the decline rates of Bakken wells to well/reservoir/completion Parameters, and finally make contour maps.

  It is important to include who worked on what questions on

working with your group detail the steps needed to monitor administrate and secure the network in regard to online

  Find the current in each resistor

Assume that 1A of current enters terminal a and exits through terminal b. Then, the voltage between terminals a and b is equal to the unknown resistance. By symmetry considerations, we can find the current in each resistor. Then, using KVL, we can..

  What is the minimum required w/l for q5

Consider another possibility for the circuit in Fig. 16.7: Relabel the R input as S and the S input as R. Let S and R normally rest at VDD. Let the flip-flop be storing a 0; thus VQ = 0 V and VQ = VDD. To set the flip-flop, the S terminal is lower..

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