Question

I am trying to make a circuit using only NAND gates that would represent the result...

I am trying to make a circuit using only NAND gates that would represent the result of a vote by people. So there would be 11 inputs and the result is shown by an LED. Since it's 11 people, if the majority of people say yes (1) than the result will be yes (led on). What would the k-map, equation, and circuit using NAND gates look like?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Bro thanks for being patience. only one way we can do to make it small. Each Full Adder consists of 2 xor gates, 2 and gates, 1 or gate( All gates are 2 inputs). I have used 18 Full Adders for count from 0 to 16. It can take upto 16 inputs, which means 16 votes can be implement. you take 11 inputs and ground other 5 inputs so that you can get 11 people votes. Total 2 input gates - 36 xor,36 and 18 or gates. To make LED work ,1 And gate & 1 or gate.

Total 92 gates required. If you want to use nand gates only it will be more , but possible.

If you want exactly 11 votes use only 11 inputs the other 5 inputs are grounded.

And in 11 votes, greater than 5 is majority votes which means 6 - 11.

If you want to use 16 inputs, majority will be 9 - 16 votes, so you can change output logic between Count_1s circuit and LED .

This is Snapshot for adder circuit. That circuit is simulated in multisim and in working condition. you can go ahead with breadboard.

1) Black Box for count number of 1's

2)Gray Box for Count number of 1's.

3) FULL ADDER Circuit

4) Completion of full circuit

test 5 votes input

test_6 input votes 6

Majority means greater than 5.

You need Adder cicuit followed by comparator.

comparator compares whether the result is greater than 5 or not

then it will give output as 1 if greater than 6 else 0.

For k-map , you have to use 11 inputs. which is combinations of 2^11 = 2048 combinations will come.

This is very complex logic that you never go for k-maps and equations for problems like this.

you can get as simple as this if you use verilog program. and then convert to nand logic. which most eda tools will do.

//Verilog Code

module vote(
input [10:0] people,
output reg LED

);

reg [3:0]value;
always@(*) //adder circuit
value = people [10] + people [9] + people[8] + people [7] +
people [6] + people [5] + people[4] + people [3] +
       people [2] + people [1] + people[0];

always@(*) begin //comparator circuit
if( value > 5)
LED = 1'b1; //LED will glow
else
LED = 1'b0; //LED off.
end
endmodule

still you want that kmap and kinda logic equation, just google it how big it will come.

Add a comment
Know the answer?
Add Answer to:
I am trying to make a circuit using only NAND gates that would represent the result...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Part 1 This section is just a quick check to make sure you understand how the...

    Part 1 This section is just a quick check to make sure you understand how the equipment works. The circuit does not provide any useful function Nodes A and B represent inputs from the switch board while X represents an output displayed on an LED Check the chip information provided for chip pin-outs in particular the power supply connections. In general, you should place a couple of 100nF Multi-layer-ceramic (MLC) capacitors across the power supply lines to reduce electrical noise....

  • Trying to parallelize the outer loop of this matrix-matrix multiplication using OpenMP I want to add...

    Trying to parallelize the outer loop of this matrix-matrix multiplication using OpenMP I want to add pragma statement(s) to the code as well. //Calculating the product of the matrix for(int i=0; i<n; i++) for(int j=0; j<n; j++) mat_ans[i][j] = 0; for (int k = 0; k<n; k++) { mat_ans[i][j] = (mat_1[i][k] * mat_2[k][j]); I am trying to make my code as efficient as possible and I've been doing research on how to do this. OpenMP seems like a good option....

  • Can someone please show me a circuit diagram so i can see how to construct this...

    Can someone please show me a circuit diagram so i can see how to construct this on a bread board i am id 6 yhanks in advance EEET-2251: Course & Projoct Guide 2018 EEET-2251: Cousc &Projoct Guide 2018 affic Light Controller A single switch must set your HC74 based state machine to the initial state (the U state This lab will get you to design a simple controller for a pedestrian crossing based on synchronous digital logic. You will master...

  • Please help! I am trying to make a convolution but i am receiving a syntax error....

    Please help! I am trying to make a convolution but i am receiving a syntax error. If anyone can help with how to do the convolution it would be much appreciated! This first part is the main program. import numpy as np from numpy import * import pylab as pl import wave import struct from my_conv import myconv #import scipy.signal as signal ##-------------------------------------------------------------------- ## read the input wave file "speech.wav" f = wave.open("speech.wav", "rb") params = f.getparams() nchannels, sampwidth, framerate,...

  • dont need help on the first two pictures, only need help underatanding these: number 1,2,3,4,5,6. please help:/...

    dont need help on the first two pictures, only need help underatanding these: number 1,2,3,4,5,6. please help:/ O Yes. The Condorcet winner is never the majority winner Yes. The Condorcet winner is not required to receive over 50% of the possible vote. O No. The Condorcet winner is automatically the majority winner. No. The Condorcet winner always receives over 50% of the possible vote. 7. Using this preference schedule, which candidate is the Condorcet winner? (1 point) number of votes...

  • I am currently trying to figure out the experiment below. Please complete Table 1 with an...

    I am currently trying to figure out the experiment below. Please complete Table 1 with an explanation, I appreciate it thank you!  Promise to give thumbs up! Introduction The phase differences between the output voltage, the voltage across the inductor, the voltage across the capacitor, and the voltage across the resistor will be examined at resonant frequency. The voltage and phase relationship will also be examined for frequencies above and below resonance. Theory An inductor, a capacitor, and a resistor are...

  • I am Writting an arugment paper on Over use of antibiotics has made people more prone to developi...

    I am Writting an arugment paper on Over use of antibiotics has made people more prone to developing infections due to the building of tolerance and the suppression of one’s own immune system. Also The lack of advancement in antibiotic therapy in the past couple decades. I need Revision and Suggestions on my (counter-argument/ the other view of the argument). This is what i have. Over use of antibiotics has made people more prone to developing infections due to the...

  • For each question below select the best answer from those listed and give your reasoning. Your...

    For each question below select the best answer from those listed and give your reasoning. Your reasoning need only be a sentence or two. It is not enough to get the right answer, you must know why it is the right answer. Question 5 Fred's friend claimed that Canadians tend to be jerks. Fred wondered if that was true, and tested it by checking to see how many Canadian jerks he could think of. Fred's cognitive strategy is             ["the availability...

  • I dont not expect anyone to create the spreadsheet, however I am totally lost on the...

    I dont not expect anyone to create the spreadsheet, however I am totally lost on the calculations and values that must be added, so any help on that would be greatly appreciated! INTRODUCTION An acid-base titration is a procedure for carrying out a neutralization reaction between an acid solution and a base solution by the controlled addition (from a burette) of one of the solutions, known as the titrant, to the other solution. For such a titration, a graph of...

  • I think I can pinpoint my confusion a bit better. Here comes my updated question (I'm...

    I think I can pinpoint my confusion a bit better. Here comes my updated question (I'm not sure what the standard way of doing things is - please let me know if I should delete the old version). The major change is that I removed focus from the third question which probably is a purely mathematical question (in the notation below, it asks what properties of (M,T) together with (M,T) being consistent, forces (M,T) to be unique.). Say that a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT