Question 1 nbspconsider a logic function with three outputs

Assignment Help Theory of Computation
Reference no: EM13356151

Question 1.  Consider a logic function with three outputs, A, B, and C, and three inputs, D, E, and F. The function is defined as follows: A is true if at least one input is true, B is true if exactly two inputs are true, and C is true only if all three inputs are true. Show the truth table for this function.

Question 2. Consider a logic function with inputs D, E, and F defined as follows:

If D or F is true, then output A is true, whatever the value of E.

If D or E is true, then output B is true, whatever the value of F.

Output C is true if exactly one of the inputs is true, although we don't care about the value of C, whenever A and B are both true.

Show the full truth table for this function and the truth table using don't cares. How many product terms are required in a PLA for each of these?

Question 3. Parity is a function in which the output depends on the number of 1s in the input. For an even parity function, the output is 1 if the input has an even number of ones. Suppose a ROM is used to implement an even parity function with a 4-bit input. Which of A, B, C, or D represents the contents of the ROM?

Question 4. One simple way to model time for logic is to assume each AND or OR gate takes the same time for a signal to pass through it. Time is estimated by simply counting the number of gates along the path through a piece of logic. Compare the number of gate delays for paths of two 16-bit adders, one using ripple carry and one using two-level carry lookahead.

Question 5. In the Verilog for the register fi le in Figure C.8.11, the output ports corresponding to the registers being read are assigned using a continuous assignment, but the register being written is assigned in an always block. Which of the following is the reason?

a. There is no special reason. It was simply convenient.

b. Because Data1 and Data2 are output ports and WriteData is an input port.

c. Because reading is a combinational event, while writing is a sequential event.

Question 6. What is the smallest number of states in a Moore machine for which a Mealy machine could have fewer states?

a. Two, since there could be a one-state Mealy machine that might do the same thing.

b. Three, since there could be a simple Moore machine that went to one of two different states and always

returned to the original state after that. For such a simple machine, a two-state Mealy machine is possible.

c. You need at least four states to exploit the advantages of a Mealy machine over a Moore machine.

Reference no: EM13356151

Questions Cloud

Calculating revenues expenses and incomefill in the blanks : calculating revenues expenses and income.fill in the blanks in the following separate income statements a through e.
Effect of departments on net operating incomeboyles home : effect of departments on net operating income.boyles home center a retailing company has two departments bath and
Disclosure of notes payable in financial statementsa at : disclosure of notes payable in financial statements.a. at december 31 2007 reed corp owed notes payable of 1000000 with
Ravenna manufacturing is preparing its master budget for : ravenna manufacturing is preparing its master budget for the first quarter of the upcoming year the following data
Question 1 nbspconsider a logic function with three outputs : question 1. nbspconsider a logic function with three outputs a b and c and three inputs d e and f. the function is
Price ceiling and price floorintroductionprice ceiling is : price ceiling and price floorintroductionprice ceiling is the law that sets a maximum price below the equilibrium
Assignment carefully read the case and craft an essay of : assignment carefully read the case and craft an essay of about 1000 words in length in which you respond to the
Essay 1 ndash human interventions in forest : essay 1 ndash human interventions in forest environmentschoose one of the following options ndash submissions must
What are the advantages and disadvantages of traditional : what are the advantages and disadvantages of traditional supply relationships? please discuss in context of a industry

Reviews

Write a Review

Theory of Computation Questions & Answers

  Argue that the problem is np complete

Argue that the following prob is NP Complete. Given list of positive integers, u1,u2,...un (in binary representation) and asked if there is partition of this set into 3 subsets, each of which has same sum.

  How to construct an nfa

Give a construction that assumes you are given a DFA for L and show how to construct an NFA (with or without ε-moves) to recognize sort(L).

  Each part of this problem that the eax register

Assume for each part of this problem that the EAX register contains 00 00 00 4F and the doubleword referenced by value contains FF FF FF 38. Determine whether each of the conditional jump statements causes a jump to dest.

  Prove that l is not regular using pumping theorem

Prove that L is not regular. (Be particularly careful if you use the Pumping Theorem. You must choose a w that is actually in L.)

  Productions of nonterminals as right regular grammars

Rewrite the productions for each of the following nonterminals as right regular grammars: Identifier, Float. Show the moves made using the DFSA for identifiers in accepting.

  Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

  Express set as regular expression

Express the following set as a regular expression: The set of all strings of length at least three over {0,1} such that every three consecutive.

  Determine if system in a safe state-share nine tape drives

There are four processes that are going to share nine tape drives. Their current and maximum number of allocation numbers. Is system in a safe state? Explain why or why not?

  Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

  Ssb has an advantage over am

SSB has an advantage over AM with respect to efficiency and power gain. Why, then, is AM commercial broadcast being replaced with SSB transmission?

  A music store owner wants to have enough

A music store owner wants to have enough of the hottest CDs in stock so people who come to buy a particular CD won't be disappointed - and the store won't lose the profit. CDs that are not sold within a certain length of time go onto the sale tabl..

  Write a research paper - utilize the lirn library

Utilize the LIRN Library to help you search for resources. You can visit the Academic Resource Center for a guide on how to utilize the LIRN Library successfully.

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