Trang Esther
New member
Which of the following option represents a structural model for not gate?
A.
B.
C.
D.
A.
Code:
Architecture not_gate OF my_func IS
BEGIN
x: IN STD_LOGIC;
y: OUT STD_LOGIC;
END not_gate;
Code:
Architecture not_gate OF my_func IS
BEGIN
x: IN STD_LOGIC;
y: OUT STD_LOGIC;
y<= NOT x;
END not_gate;
Code:
Architecture not_gate OF my_func IS
BEGIN
COMPONENT NOT IS
Port( x: IN STD_LOGIC;
y: OUT STD_LOGIC);
END COMPONENT;
END not_gate;
Code:
Architecture not_gate OF my_func IS
BEGIN
COMPONENT not1 IS
PORT( x: IN STD_LOGIC;
y: OUT STD_LOGIC);
END COMPONENT;
END not_gate;