21 lines
1.0 KiB
Plaintext
21 lines
1.0 KiB
Plaintext
|
digraph "example" {
|
||
|
rankdir="LR";
|
||
|
remincross=true;
|
||
|
n3 [ shape=octagon, label="a", color="black", fontcolor="black" ];
|
||
|
n4 [ shape=octagon, label="b", color="black", fontcolor="black" ];
|
||
|
n5 [ shape=octagon, label="c", color="black", fontcolor="black" ];
|
||
|
n6 [ shape=octagon, label="clk", color="black", fontcolor="black" ];
|
||
|
n7 [ shape=octagon, label="y", color="black", fontcolor="black" ];
|
||
|
c11 [ shape=record, label="{{<p8> A|<p9> B}|$2\n$add|{<p10> Y}}" ];
|
||
|
c15 [ shape=record, label="{{<p12> CLK|<p13> D}|$7\n$dff|{<p14> Q}}" ];
|
||
|
c17 [ shape=record, label="{{<p8> A|<p9> B|<p16> S}|$5\n$mux|{<p10> Y}}" ];
|
||
|
c17:p10:e -> c15:p13:w [color="black", style="setlinewidth(3)", label=""];
|
||
|
c11:p10:e -> c17:p9:w [color="black", style="setlinewidth(3)", label=""];
|
||
|
n3:e -> c11:p8:w [color="black", label=""];
|
||
|
n4:e -> c11:p9:w [color="black", label=""];
|
||
|
n5:e -> c17:p16:w [color="black", label=""];
|
||
|
n6:e -> c15:p12:w [color="black", label=""];
|
||
|
c15:p14:e -> n7:w [color="black", style="setlinewidth(3)", label=""];
|
||
|
n7:e -> c17:p8:w [color="black", style="setlinewidth(3)", label=""];
|
||
|
}
|