I want to modify this circuit by aligning the inputs x_3
, x_1
and x_2
on the same vertical line and placing the left black disc on the intersection of x_1
and the and
gate.
\begin{circuitikz}
\node[and port] (A) at (0, 0) {};
\node at (A) [ocirc,fill=black] {};
\node[left] at (A.in 1) {\(x_1\)};
\node[left] at (A.in 2) {\(x_2\)};
\node at (A.bin 1) [ocirc,fill=black] {};
\node[or port] (B) at (2.7,-0.28) {};
\node (in3) at ($(B.in 2) - (3, 0)$) {};
\draw (in3) -- (B.in 2);
\node at (in3) {\(x_3\)};
\node[right] at (B.out) {\((x_1'x_2)'+x_3\)};
\draw (A.out) -- (B.in 1);
\end{circuitikz}
This produces this
But I want this
How do I also make the inverter symbol a black disc instead of a circle?
\node at (A) [ocirc,fill=black] {};
. For the rest of the question, I didn't understand exactly what you want. Maybe if you drew a sketch of it?\node[and port, yscale=0.75] (A) at (0, 0) {};
. This scales the y dimensions of the gate by 0.75 times which is enough that there is no overlap and the circuit is still mostly the same.x_3
input