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.

This is a follow-up to this question Complicated logic circuit drawing with Tikz - two input buffer gate?

Any ideas how can I draw this next element IODELAY2, should I use Resistance symbol?

For me syntax for connecting different symbols is really hard to understand, connecting logical and electrical elements seems impossible ...

share|improve this question

1 Answer 1

up vote 2 down vote accepted

A pragmatic shot based on JLDiaz' answer in the linked question : You can adjust further for your own taste

\documentclass{article}
\usepackage{circuitikz}
\begin{document}

\tikzset{opamp label/.style={xshift=-9mm, font=\footnotesize,right}}
\tikzset{iovardelay/.style={label={[above]90:\textsf{#1}},
                            label={[right=2ex]180:\textsf{I}},
                            label={[left=3ex]0:\textsf{O}},
                            draw,fill=blue!10,
                            minimum width=1cm,
                            minimum height=2cm
                            }
        }
\begin{circuitikz} 
\draw
 (0,0) node[op amp] (opamp) {}
    (opamp.+)   node[left]        {$data\ ser\ p$}
    (opamp.-)   node[left]        {$data\ ser\ n$}
    (opamp.out) node[right]       {$data\ ser$}
    (opamp)     node[opamp label] {IBUFDS}

 (0,-3) node[op amp] (opamp) {}
    (opamp.+)   node[left]        {$clk\ in\ p$}
    (opamp.-)   node[left]        {$clk\ in\ n$}
    (opamp.out) node[above right]       {$clk\ in$}
    (opamp)     node[opamp label] {IBUFGDS} (opamp.out) --
 (3,-3) node[iovardelay=IODELAY2] (mydelay) {}
;
\end{circuitikz}
\end{document}

enter image description here

share|improve this answer
    
awesome, thanks dude! –  Mapedd Dec 2 '12 at 19:58

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.