% 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_b2_b2_b2}{RGB}{178, 178, 178} \definecolor{custcol_0_0_0}{RGB}{0, 0, 0} \definecolor{custcol_ff_ff_ff}{RGB}{255, 255, 255} \definecolor{custcol_80_80_80}{RGB}{128, 128, 128} \draw [line width=3.0pt, custcol_0_0_0 ] (84.0,805.0) -- (84.0,855.0) -- (64.0,855.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (294.0,685.0) -- (574.0,685.0) -- (574.0,765.0) -- (524.0,765.0) -- (524.0,805.0) -- (534.0,805.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (244.0,815.0) -- (244.0,835.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (114.0,815.0) -- (114.0,835.0) -- (244.0,835.0) -- (364.0,835.0) -- (364.0,855.0) -- (344.0,855.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (264.0,235.0) -- (254.0,235.0) -- (254.0,315.0) -- (264.0,315.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (444.0,15.0) -- (464.0,15.0) -- (464.0,145.0) -- (164.0,145.0) -- (164.0,235.0) -- (214.0,235.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (264.0,495.0) -- (164.0,495.0) -- (164.0,415.0) -- (264.0,415.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (314.0,215.0) -- (334.0,215.0) -- (334.0,235.0) -- (364.0,235.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (314.0,395.0) -- (334.0,395.0) -- (334.0,415.0) -- (374.0,415.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (314.0,475.0) -- (334.0,475.0) -- (334.0,455.0) -- (374.0,455.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (314.0,295.0) -- (334.0,295.0) -- (334.0,275.0) -- (364.0,275.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (264.0,375.0) -- (24.0,375.0) -- (24.0,45.0) -- (164.0,45.0) -- (164.0,15.0) -- (144.0,15.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (244.0,235.0) -- (254.0,235.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (164.0,235.0) -- (164.0,415.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (384.0,805.0) -- (374.0,805.0) -- (374.0,765.0) -- (504.0,765.0) -- (504.0,705.0) -- (154.0,705.0) -- (154.0,555.0) -- (194.0,555.0) -- (194.0,195.0) -- (264.0,195.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (304.0,15.0) -- (324.0,15.0) -- (324.0,75.0) -- (94.0,75.0) -- (94.0,275.0) -- (264.0,275.0) ; \draw [line width=3.0pt, custcol_0_0_0 ] (84.0,855.0) -- (214.0,855.0) -- (214.0,805.0) ; \fill [line width=3.0pt, custcol_0_0_0] (294.0,685.0) ellipse (5.0 and 5.0 ); \fill [line width=3.0pt, custcol_0_0_0] (154.0,705.0) ellipse (5.0 and 5.0 ); \fill [line width=3.0pt, custcol_0_0_0] (164.0,415.0) ellipse (5.0 and 5.0 ); \fill [line width=3.0pt, custcol_0_0_0] (84.0,855.0) ellipse (5.0 and 5.0 ); \fill [line width=3.0pt, custcol_0_0_0] (254.0,235.0) ellipse (5.0 and 5.0 ); \fill [line width=3.0pt, custcol_0_0_0] (164.0,235.0) ellipse (5.0 and 5.0 ); \fill [line width=3.0pt, custcol_0_0_0] (244.0,835.0) ellipse (5.0 and 5.0 ); \draw [line width=2.0pt, custcol_0_0_0 ] (264.0,270.0) -- (313.0,270.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (314.0,270.0) -- (314.0,319.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (314.0,320.0) -- (265.0,320.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (264.0,320.0) -- (264.0,271.0) ; \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (284.0,284.0) {\&};} \fill [line width=2.0pt, custcol_0_0_0] (314.0,295.0) ellipse (2.0 and 2.0 ); \fill [line width=2.0pt, custcol_0_0_0] (264.0,275.0) ellipse (2.0 and 2.0 ); \fill [line width=2.0pt, custcol_0_0_0] (264.0,315.0) ellipse (2.0 and 2.0 ); \draw [line width=2.0pt, custcol_0_0_0 ] (264.0,450.0) -- (313.0,450.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (314.0,450.0) -- (314.0,499.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (314.0,500.0) -- (265.0,500.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (264.0,500.0) -- (264.0,451.0) ; \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (284.0,464.0) {\&};} \fill [line width=2.0pt, custcol_0_0_0] (314.0,475.0) ellipse (2.0 and 2.0 ); \fill [line width=2.0pt, custcol_0_0_0] (264.0,455.0) ellipse (2.0 and 2.0 ); \fill [line width=2.0pt, custcol_0_0_0] (264.0,495.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 (229.0,752.0) {k\_0};} \draw [line width=2.0pt, custcol_0_0_0 ] (224.0,755.0) -- (263.0,755.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (264.0,755.0) -- (264.0,814.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (264.0,815.0) -- (225.0,815.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (224.0,815.0) -- (224.0,756.0) ; \fill [line width=2.0pt, custcol_0_0_0] (244.0,815.0) ellipse (2.0 and 2.0 ); \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_80_80_80, anchor=base west] at (240.0,812.0) {R};} \fill [line width=2.0pt, custcol_0_0_0] (244.0,755.0) ellipse (2.0 and 2.0 ); \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_80_80_80, anchor=base west] at (240.0,770.0) {S};} \draw [line width=3.0pt, custcol_0_0_0 ] (424.0,435.0) -- (464.0,435.0) -- (464.0,615.0) -- (214.0,615.0) -- (214.0,765.0) -- (223.0,765.0) ; \fill [line width=3.0pt, custcol_0_0_0] (214.0,765.0) ellipse (2.0 and 2.0 ); \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (228.0,769.0) {D};} \draw [line width=2.0pt, custcol_0_0_0 ] (225.0,801.0) -- (232.0,805.0) -- (225.0,809.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (214.0,805.0) -- (223.0,805.0) ; \fill [line width=2.0pt, custcol_0_0_0] (214.0,805.0) ellipse (2.0 and 2.0 ); \draw [line width=3.0pt, custcol_0_0_0 ] (265.0,765.0) -- (274.0,765.0) -- (294.0,765.0) -- (294.0,685.0) -- (294.0,555.0) -- (224.0,555.0) -- (224.0,455.0) -- (264.0,455.0) ; \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (251.0,769.0) {Q};} \fill [line width=3.0pt, custcol_0_0_0] (274.0,765.0) ellipse (2.0 and 2.0 ); \draw [line width=2.0pt, custcol_0_0_0] (269.0,805.0) ellipse (5.0 and 5.0 ); \fill [line width=2.0pt, custcol_0_0_0] (274.0,805.0) ellipse (2.0 and 2.0 ); \draw [line width=2.0pt, custcol_0_0_0 ] (364.0,230.0) -- (413.0,230.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (414.0,230.0) -- (414.0,279.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (414.0,280.0) -- (365.0,280.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (364.0,280.0) -- (364.0,231.0) ; \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (380.0,244.0) {≥1};} \fill [line width=2.0pt, custcol_0_0_0] (414.0,255.0) ellipse (2.0 and 2.0 ); \fill [line width=2.0pt, custcol_0_0_0] (364.0,235.0) ellipse (2.0 and 2.0 ); \fill [line width=2.0pt, custcol_0_0_0] (364.0,275.0) ellipse (2.0 and 2.0 ); \draw [line width=2.0pt, custcol_0_0_0 ] (374.0,410.0) -- (423.0,410.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (424.0,410.0) -- (424.0,459.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (424.0,460.0) -- (375.0,460.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (374.0,460.0) -- (374.0,411.0) ; \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (390.0,424.0) {≥1};} \fill [line width=2.0pt, custcol_0_0_0] (424.0,435.0) ellipse (2.0 and 2.0 ); \fill [line width=2.0pt, custcol_0_0_0] (374.0,415.0) ellipse (2.0 and 2.0 ); \fill [line width=2.0pt, custcol_0_0_0] (374.0,455.0) ellipse (2.0 and 2.0 ); \draw [line width=2.0pt, custcol_0_0_0 ] (264.0,370.0) -- (313.0,370.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (314.0,370.0) -- (314.0,419.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (314.0,420.0) -- (265.0,420.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (264.0,420.0) -- (264.0,371.0) ; \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (284.0,384.0) {\&};} \fill [line width=2.0pt, custcol_0_0_0] (314.0,395.0) ellipse (2.0 and 2.0 ); \fill [line width=2.0pt, custcol_0_0_0] (264.0,375.0) ellipse (2.0 and 2.0 ); \fill [line width=2.0pt, custcol_0_0_0] (264.0,415.0) ellipse (2.0 and 2.0 ); \draw [line width=2.0pt, custcol_0_0_0 ] (264.0,190.0) -- (313.0,190.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (314.0,190.0) -- (314.0,239.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (314.0,240.0) -- (265.0,240.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (264.0,240.0) -- (264.0,191.0) ; \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (284.0,204.0) {\&};} \fill [line width=2.0pt, custcol_0_0_0] (314.0,215.0) ellipse (2.0 and 2.0 ); \fill [line width=2.0pt, custcol_0_0_0] (264.0,195.0) ellipse (2.0 and 2.0 ); \fill [line width=2.0pt, custcol_0_0_0] (264.0,235.0) ellipse (2.0 and 2.0 ); \draw [line width=2.0pt, custcol_0_0_0 ] (214.0,226.0) -- (233.0,226.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (234.0,226.0) -- (234.0,243.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (234.0,244.0) -- (215.0,244.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (214.0,244.0) -- (214.0,227.0) ; \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (220.0,241.0) {1};} \draw [line width=2.0pt, custcol_0_0_0] (238.0,234.0) ellipse (4.5 and 4.5 ); \fill [line width=1.0pt, custcol_0_0_0] (244.0,235.0) ellipse (2.0 and 2.0 ); \fill [line width=1.0pt, custcol_0_0_0] (214.0,235.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 (99.0,752.0) {k\_1};} \draw [line width=2.0pt, custcol_0_0_0 ] (94.0,755.0) -- (133.0,755.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (134.0,755.0) -- (134.0,814.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (134.0,815.0) -- (95.0,815.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (94.0,815.0) -- (94.0,756.0) ; \fill [line width=2.0pt, custcol_0_0_0] (114.0,815.0) ellipse (2.0 and 2.0 ); \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_80_80_80, anchor=base west] at (110.0,812.0) {R};} \fill [line width=2.0pt, custcol_0_0_0] (114.0,755.0) ellipse (2.0 and 2.0 ); \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_80_80_80, anchor=base west] at (110.0,770.0) {S};} \draw [line width=3.0pt, custcol_0_0_0 ] (414.0,255.0) -- (494.0,255.0) -- (494.0,645.0) -- (84.0,645.0) -- (84.0,765.0) -- (93.0,765.0) ; \fill [line width=3.0pt, custcol_0_0_0] (84.0,765.0) ellipse (2.0 and 2.0 ); \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (98.0,769.0) {D};} \draw [line width=2.0pt, custcol_0_0_0 ] (95.0,801.0) -- (102.0,805.0) -- (95.0,809.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (84.0,805.0) -- (93.0,805.0) ; \fill [line width=2.0pt, custcol_0_0_0] (84.0,805.0) ellipse (2.0 and 2.0 ); \draw [line width=3.0pt, custcol_0_0_0 ] (135.0,765.0) -- (144.0,765.0) -- (154.0,765.0) -- (154.0,705.0) ; \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (121.0,769.0) {Q};} \fill [line width=3.0pt, custcol_0_0_0] (144.0,765.0) ellipse (2.0 and 2.0 ); \draw [line width=2.0pt, custcol_0_0_0] (139.0,805.0) ellipse (5.0 and 5.0 ); \fill [line width=2.0pt, custcol_0_0_0] (144.0,805.0) ellipse (2.0 and 2.0 ); \draw [line width=2.0pt, custcol_0_0_0] (394.0,805.0) ellipse (9.0 and 9.0 ); \logisimfontA{\fontsize{16pt}{16pt}\fontseries{bx}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (406.0,812.0) {fahrtOG\_o};} \fill [line width=1.0pt, custcol_0_0_0] (384.0,805.0) ellipse (2.0 and 2.0 ); \draw [line width=2.0pt, custcol_0_0_0] (544.0,805.0) ellipse (9.0 and 9.0 ); \logisimfontA{\fontsize{16pt}{16pt}\fontseries{bx}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (556.0,812.0) {fahrtEG\_o};} \fill [line width=1.0pt, custcol_0_0_0] (534.0,805.0) ellipse (2.0 and 2.0 ); \draw [line width=2.0pt, custcol_0_0_0 ] (286.0,7.0) -- (303.0,7.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (304.0,7.0) -- (304.0,24.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (304.0,25.0) -- (287.0,25.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (286.0,25.0) -- (286.0,8.0) ; \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (287.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 (175.0,22.0) {wunschOG\_i};} \fill [line width=2.0pt, custcol_0_0_0] (304.0,15.0) ellipse (2.0 and 2.0 ); \draw [line width=2.0pt, custcol_0_0_0 ] (426.0,7.0) -- (443.0,7.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (444.0,7.0) -- (444.0,24.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (444.0,25.0) -- (427.0,25.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (426.0,25.0) -- (426.0,8.0) ; \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (427.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 (368.0,22.0) {inOG\_i};} \fill [line width=2.0pt, custcol_0_0_0] (444.0,15.0) ellipse (2.0 and 2.0 ); \fill [line width=1.0pt, custcol_b2_b2_b2 ] (44.0,845.0) -- (61.0,845.0) -- (64.0,848.0) -- (64.0,865.0) -- (47.0,865.0) -- (44.0,862.0) -- cycle; \fill [line width=1.0pt, custcol_ff_ff_ff ] (44.0,845.0) rectangle (61.0,862.0) ; \draw [line width=1.0pt, custcol_0_0_0 ] (44.0,845.0) -- (60.0,845.0) ; \draw [line width=1.0pt, custcol_0_0_0 ] (61.0,845.0) -- (61.0,861.0) ; \draw [line width=1.0pt, custcol_0_0_0 ] (44.0,862.0) -- (44.0,846.0) ; \draw [line width=1.0pt, custcol_0_0_0 ] (45.0,862.0) -- (61.0,862.0) -- (64.0,865.0) ; \draw [line width=1.0pt, custcol_0_0_0 ] (44.0,845.0) -- (61.0,845.0) -- (64.0,848.0) -- (64.0,865.0) -- (47.0,865.0) -- (44.0,862.0) -- cycle; \logisimfontA{\fontsize{16pt}{16pt}\fontseries{bx}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (5.0,862.0) {clk\_i};} \fill [line width=1.0pt, custcol_0_0_0] (64.0,855.0) ellipse (2.0 and 2.0 ); \fill [line width=1.0pt, custcol_b2_b2_b2 ] (324.0,845.0) -- (341.0,845.0) -- (344.0,848.0) -- (344.0,865.0) -- (327.0,865.0) -- (324.0,862.0) -- cycle; \fill [line width=1.0pt, custcol_ff_ff_ff ] (324.0,845.0) rectangle (341.0,862.0) ; \draw [line width=1.0pt, custcol_0_0_0 ] (324.0,845.0) -- (340.0,845.0) ; \draw [line width=1.0pt, custcol_0_0_0 ] (341.0,845.0) -- (341.0,861.0) ; \draw [line width=1.0pt, custcol_0_0_0 ] (324.0,862.0) -- (324.0,846.0) ; \draw [line width=1.0pt, custcol_0_0_0 ] (325.0,862.0) -- (341.0,862.0) -- (344.0,865.0) ; \draw [line width=1.0pt, custcol_0_0_0 ] (324.0,845.0) -- (341.0,845.0) -- (344.0,848.0) -- (344.0,865.0) -- (327.0,865.0) -- (324.0,862.0) -- cycle; \logisimfontA{\fontsize{16pt}{16pt}\fontseries{bx}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (262.0,862.0) {reset\_i};} \fill [line width=1.0pt, custcol_0_0_0] (344.0,855.0) ellipse (2.0 and 2.0 ); \draw [line width=2.0pt, custcol_0_0_0 ] (126.0,7.0) -- (143.0,7.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (144.0,7.0) -- (144.0,24.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (144.0,25.0) -- (127.0,25.0) ; \draw [line width=2.0pt, custcol_0_0_0 ] (126.0,25.0) -- (126.0,8.0) ; \logisimfontA{\fontsize{12pt}{12pt}\selectfont\node[inner sep=0, outer sep=0, custcol_0_0_0, anchor=base west] at (127.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 (19.0,22.0) {wunschEG\_i};} \fill [line width=2.0pt, custcol_0_0_0] (144.0,15.0) ellipse (2.0 and 2.0 ); \end{tikzpicture}