Entity for 2-i/p NAND gate

Q.  Which among the following is the correct way of entity representation for the two input NAND gate shown below?
- Published on 29 Sep 15
Two


a. NAND 5 entity is
port (A, B : input;
C: output);
NAND 5 end;
b. entity NAND5 is
port (A, B : in bit;
C: out bit);
end NAND 5;
c. Entity: NAND5
port(Inputs: A, B;
Output : C);
end;
d. entity : NAND5
port( inbit : A,B),
( outbit: C);
end.

ANSWER: entity NAND5 is
port (A, B : in bit;
C: out bit);
end NAND 5;

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)