Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

VERILOG XOR GATE Got a simple XOR gate using NAND For some reason when testing the code inputs (1,1) gives an output = 1 This is not correct. Any reason what I'm doing wrong? module L2P2(x,y,f); input x,y; output f; wire x,y,f; wire xnandyout, xnandout, ynandout; nand xnandy(xnandyout, x,y); nand xnand(xnandout, x, xnandyout); nand ynand(ynandout, y, xnandout); nand fout(f,xnandout,ynandout); endmodule

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!