How to design a calculator which calculates (A-B)^2 with cost analysis and the range of A,B are (0-2)?
Isn't the process pretty much the same for any problem?But first, how would you approach the problem?
Yeah but is it digital or analog?Isn't the process pretty much the same for any problem?
1- Determine how many bits of input & output are necessary.
2- Decide how to name each of the bits so they can be tracked in the process.
3- Make a logic table showing output bit values for each combination of input bits.
4- Determine which combinations of input bits are "Don't Care" conditions.
5- Perform a logic minimization, usually with a Karnaugh map.
6- Analyze which minimizations lead to lower cost or chip count.
That covers just one class of problems and there's not enough information provided to determine whether the solution the TS is expected to come up with falls within that family or not.Isn't the process pretty much the same for any problem?
1- Determine how many bits of input & output are necessary.
2- Decide how to name each of the bits so they can be tracked in the process.
3- Make a logic table showing output bit values for each combination of input bits.
4- Determine which combinations of input bits are "Don't Care" conditions.
5- Perform a logic minimization, usually with a Karnaugh map.
6- Analyze which minimizations lead to lower cost or chip count.
Yes the process is same. But this is the problem given to me in the form of case study.They asked us to draw logic circuits and truth tables and then simulate it in circuit labIsn't the process pretty much the same for any problem?
1- Determine how many bits of input & output are necessary.
2- Decide how to name each of the bits so they can be tracked in the process.
3- Make a logic table showing output bit values for each combination of input bits.
4- Determine which combinations of input bits are "Don't Care" conditions.
5- Perform a logic minimization, usually with a Karnaugh map.
6- Analyze which minimizations lead to lower cost or chip count.
First I am thinking to draw truth tables for this expression but Iam not getting it.But first, how would you approach the problem?
A thread title of "Help me" is singularly unhelpful. Please try to come up with a more meaningful title.
What kind of "cost analysis" are you expected to do? Determine the per unit cost of manufacturing ten million units in China and setting up distribution centers around the world? Or the cost of the components bought as single quantities needed to breadboard a prototype? What kind of input are you using? What kind of output are you using? Do you need to include the NRE (non-recurring engineering) costs associated with researching and designing the prototype? What?
You have three possible input values for each of two inputs. That's six bits of information and only nine of those are valid. You only need three bits of output. Lots of ways to do it.
You need to show YOUR best attempt to work YOUR homework problem. After seeing your attempt we can then help guide you toward a solution.
Since the range of data is so narrow, look up a digital multiplier and study that.Actually sir asked us to draw truth tables and with the help of gates draw a logic circuit and then output should be shown in circuit lab by simulation.If it is (a+b)^2 we can use OR gate.But I am not getting how to solve (a-b)^2.
Clearly (a-b)^2 is a mathematical expression, as in your circuit should calculate the square of the difference of 'a' and 'b'.Actually sir asked us to draw truth tables and with the help of gates draw a logic circuit and then output should be shown in circuit lab by simulation.If it is (a+b)^2 we can use OR gate.But I am not getting how to solve (a-b)^2.