Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

macro 16 pin

I want to draw this macro by use circuit-tikz package.

share|improve this question
2  
Welcome to TeX.SX. Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document. –  Holene May 12 at 5:30
    
@Holene.Thank you for your guidance.You are right... –  user50054 May 12 at 19:14
    
Though Gonzalo the madman did just that! :-) Such procrastination! –  Holene May 12 at 20:04

1 Answer 1

up vote 7 down vote accepted

You can use an and gate from the circuits.logic.IEC library from TikZ:

\documentclass{article}
\usepackage{circuitikz,siunitx}
\usetikzlibrary{circuits.logic.IEC}

\begin{document}

\begin{circuitikz}[circuit logic IEC] 
\draw (4,0) node[european and port] (euand) {};
\node[
  and gate,
  inputs={nnnnnnnn},
  and gate IEC symbol={},
  text height=3cm,
  text width=2cm,
] (A) {};
\foreach \Valor in {1,...,8}
{
  \draw ([xshift=-20pt]A.input \Valor) -- (A.input \Valor) node[right] {$I_{\number\numexpr\Valor-1\relax}$};
}
\foreach \Valor [count=\xi] in {12,0,-12}
{
  \draw ([xshift=\Valor]A.south) node[above] {$S_{\number\numexpr\xi-1\relax}$}  -- ++(0,-10pt);  
}
\node[left] at (A.output) {$Z$};
\draw (A.output) -| (euand.in 1);
\draw (A.output) -| (euand.in 2);
\end{circuitikz}

\end{document}

enter image description here

share|improve this answer
    
@ Gonzalo Medina.Thank you .good luck... –  user50054 May 12 at 20:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.