% Important: If latex complains about unicode characters,
% please use "\usepackage[utf8x]{inputenc}" in your preamble
% You can change the size of the picture by putting it into the construct:
% 1) \resizebox{10cm}{!}{"below picture"} to scale horizontally to 10 cm
% 2) \resizebox{!}{15cm}{"below picture"} to scale vertically to 15 cm
% 3) \resizebox{10cm}{15cm}{"below picture"} a combination of above two
% It is not recomended to use the scale option of the tikzpicture environment.
\begin{tikzpicture}[x=1pt,y=-1pt,line cap=rect]
\def\logisimfontA#1{\fontfamily{cmr}{#1}} % Replaced by logisim, original font was "SansSerif"
\definecolor{custcol_0_0_0}{RGB}{0, 0, 0}
\definecolor{custcol_ff_ff_ff}{RGB}{255, 255, 255}
\draw [line width=3.0pt, custcol_0_0_0 ]  (410.0,435.0) -- (470.0,435.0) ;
\draw [line width=3.0pt, custcol_0_0_0 ]  (250.0,455.0) -- (210.0,455.0) -- (210.0,555.0) ;
\draw [line width=3.0pt, custcol_0_0_0 ]  (400.0,255.0) -- (480.0,255.0) ;
\draw [line width=3.0pt, custcol_0_0_0 ]  (250.0,235.0) -- (240.0,235.0) -- (240.0,315.0) -- (250.0,315.0) ;
\draw [line width=3.0pt, custcol_0_0_0 ]  (430.0,15.0) -- (450.0,15.0) -- (450.0,145.0) -- (150.0,145.0) -- (150.0,235.0) -- (200.0,235.0) ;
\draw [line width=3.0pt, custcol_0_0_0 ]  (250.0,415.0) -- (150.0,415.0) -- (150.0,495.0) -- (250.0,495.0) ;
\draw [line width=3.0pt, custcol_0_0_0 ]  (300.0,215.0) -- (320.0,215.0) -- (320.0,235.0) -- (350.0,235.0) ;
\draw [line width=3.0pt, custcol_0_0_0 ]  (300.0,295.0) -- (320.0,295.0) -- (320.0,275.0) -- (350.0,275.0) ;
\draw [line width=3.0pt, custcol_0_0_0 ]  (300.0,395.0) -- (320.0,395.0) -- (320.0,415.0) -- (360.0,415.0) ;
\draw [line width=3.0pt, custcol_0_0_0 ]  (300.0,475.0) -- (320.0,475.0) -- (320.0,455.0) -- (360.0,455.0) ;
\draw [line width=3.0pt, custcol_0_0_0 ]  (250.0,375.0) -- (10.0,375.0) -- (10.0,45.0) -- (150.0,45.0) -- (150.0,15.0) -- (130.0,15.0) ;
\draw [line width=3.0pt, custcol_0_0_0 ]  (230.0,235.0) -- (240.0,235.0) ;
\draw [line width=3.0pt, custcol_0_0_0 ]  (150.0,235.0) -- (150.0,415.0) ;
\draw [line width=3.0pt, custcol_0_0_0 ]  (180.0,555.0) -- (180.0,195.0) -- (250.0,195.0) ;
\draw [line width=3.0pt, custcol_0_0_0 ]  (290.0,15.0) -- (310.0,15.0) -- (310.0,75.0) -- (80.0,75.0) -- (80.0,275.0) -- (250.0,275.0) ;
\fill [line width=3.0pt, custcol_0_0_0]  (240.0,235.0) ellipse (5.0 and 5.0 );
\fill [line width=3.0pt, custcol_0_0_0]  (150.0,235.0) ellipse (5.0 and 5.0 );
\fill [line width=3.0pt, custcol_0_0_0]  (150.0,415.0) ellipse (5.0 and 5.0 );
\draw [line width=2.0pt, custcol_0_0_0 ]  (112.0,7.0) -- (129.0,7.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (130.0,7.0) -- (130.0,24.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (130.0,25.0) -- (113.0,25.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (112.0,25.0) -- (112.0,8.0) ;
\logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (113.0,21.0)  {x1};}
\logisimfontA{\fontsize{16pt}{16pt}\fontseries{bx}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (5.0,22.0)  {wunschEG\_i};}
\fill [line width=2.0pt, custcol_0_0_0]  (130.0,15.0) ellipse (2.0 and 2.0 );
\draw [line width=2.0pt, custcol_0_0_0 ]  (272.0,7.0) -- (289.0,7.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (290.0,7.0) -- (290.0,24.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (290.0,25.0) -- (273.0,25.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (272.0,25.0) -- (272.0,8.0) ;
\logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (273.0,21.0)  {x1};}
\logisimfontA{\fontsize{16pt}{16pt}\fontseries{bx}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (161.0,22.0)  {wunschOG\_i};}
\fill [line width=2.0pt, custcol_0_0_0]  (290.0,15.0) ellipse (2.0 and 2.0 );
\draw [line width=2.0pt, custcol_0_0_0 ]  (412.0,7.0) -- (429.0,7.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (430.0,7.0) -- (430.0,24.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (430.0,25.0) -- (413.0,25.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (412.0,25.0) -- (412.0,8.0) ;
\logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (413.0,21.0)  {x1};}
\logisimfontA{\fontsize{16pt}{16pt}\fontseries{bx}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (354.0,22.0)  {inOG\_i};}
\fill [line width=2.0pt, custcol_0_0_0]  (430.0,15.0) ellipse (2.0 and 2.0 );
\draw [line width=2.0pt, custcol_0_0_0 ]  (200.0,226.0) -- (219.0,226.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (220.0,226.0) -- (220.0,243.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (220.0,244.0) -- (201.0,244.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (200.0,244.0) -- (200.0,227.0) ;
\logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (206.0,241.0)  {1};}
\draw [line width=2.0pt, custcol_0_0_0]  (224.0,234.0) ellipse (4.5 and 4.5 );
\fill [line width=1.0pt, custcol_0_0_0]  (230.0,235.0) ellipse (2.0 and 2.0 );
\fill [line width=1.0pt, custcol_0_0_0]  (200.0,235.0) ellipse (2.0 and 2.0 );
\draw [line width=2.0pt, custcol_0_0_0 ]  (250.0,190.0) -- (299.0,190.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (300.0,190.0) -- (300.0,239.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (300.0,240.0) -- (251.0,240.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (250.0,240.0) -- (250.0,191.0) ;
\logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (270.0,204.0)  {\&};}
\fill [line width=2.0pt, custcol_0_0_0]  (300.0,215.0) ellipse (2.0 and 2.0 );
\fill [line width=2.0pt, custcol_0_0_0]  (250.0,195.0) ellipse (2.0 and 2.0 );
\fill [line width=2.0pt, custcol_0_0_0]  (250.0,235.0) ellipse (2.0 and 2.0 );
\draw [line width=2.0pt, custcol_0_0_0 ]  (250.0,270.0) -- (299.0,270.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (300.0,270.0) -- (300.0,319.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (300.0,320.0) -- (251.0,320.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (250.0,320.0) -- (250.0,271.0) ;
\logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (270.0,284.0)  {\&};}
\fill [line width=2.0pt, custcol_0_0_0]  (300.0,295.0) ellipse (2.0 and 2.0 );
\fill [line width=2.0pt, custcol_0_0_0]  (250.0,275.0) ellipse (2.0 and 2.0 );
\fill [line width=2.0pt, custcol_0_0_0]  (250.0,315.0) ellipse (2.0 and 2.0 );
\draw [line width=2.0pt, custcol_0_0_0 ]  (250.0,370.0) -- (299.0,370.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (300.0,370.0) -- (300.0,419.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (300.0,420.0) -- (251.0,420.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (250.0,420.0) -- (250.0,371.0) ;
\logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (270.0,384.0)  {\&};}
\fill [line width=2.0pt, custcol_0_0_0]  (300.0,395.0) ellipse (2.0 and 2.0 );
\fill [line width=2.0pt, custcol_0_0_0]  (250.0,375.0) ellipse (2.0 and 2.0 );
\fill [line width=2.0pt, custcol_0_0_0]  (250.0,415.0) ellipse (2.0 and 2.0 );
\draw [line width=2.0pt, custcol_0_0_0 ]  (250.0,450.0) -- (299.0,450.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (300.0,450.0) -- (300.0,499.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (300.0,500.0) -- (251.0,500.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (250.0,500.0) -- (250.0,451.0) ;
\logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (270.0,464.0)  {\&};}
\fill [line width=2.0pt, custcol_0_0_0]  (300.0,475.0) ellipse (2.0 and 2.0 );
\fill [line width=2.0pt, custcol_0_0_0]  (250.0,455.0) ellipse (2.0 and 2.0 );
\fill [line width=2.0pt, custcol_0_0_0]  (250.0,495.0) ellipse (2.0 and 2.0 );
\draw [line width=2.0pt, custcol_0_0_0 ]  (350.0,230.0) -- (399.0,230.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (400.0,230.0) -- (400.0,279.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (400.0,280.0) -- (351.0,280.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (350.0,280.0) -- (350.0,231.0) ;
\logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (366.0,244.0)  {≥1};}
\fill [line width=2.0pt, custcol_0_0_0]  (400.0,255.0) ellipse (2.0 and 2.0 );
\fill [line width=2.0pt, custcol_0_0_0]  (350.0,235.0) ellipse (2.0 and 2.0 );
\fill [line width=2.0pt, custcol_0_0_0]  (350.0,275.0) ellipse (2.0 and 2.0 );
\draw [line width=2.0pt, custcol_0_0_0 ]  (360.0,410.0) -- (409.0,410.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (410.0,410.0) -- (410.0,459.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (410.0,460.0) -- (361.0,460.0) ;
\draw [line width=2.0pt, custcol_0_0_0 ]  (360.0,460.0) -- (360.0,411.0) ;
\logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (376.0,424.0)  {≥1};}
\fill [line width=2.0pt, custcol_0_0_0]  (410.0,435.0) ellipse (2.0 and 2.0 );
\fill [line width=2.0pt, custcol_0_0_0]  (360.0,415.0) ellipse (2.0 and 2.0 );
\fill [line width=2.0pt, custcol_0_0_0]  (360.0,455.0) ellipse (2.0 and 2.0 );
\logisimfontA{\fontsize{16pt}{16pt}\fontseries{bx}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (215.0,556.0)  {k\_0'};}
\logisimfontA{\fontsize{16pt}{16pt}\fontseries{bx}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (142.0,556.0)  {k\_1'};}
\logisimfontA{\fontsize{16pt}{16pt}\fontseries{bx}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (441.0,249.0)  {k\_1};}
\logisimfontA{\fontsize{16pt}{16pt}\fontseries{bx}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at  (440.0,425.0)  {k\_0};}
\end{tikzpicture}

