matt venn | 6f20cc3 | 2022-08-28 20:45:23 +0200 | [diff] [blame] | 1 | /* Automatically generated from https://wokwi.com/projects/341192113929585235 */ |
2 | |||||
3 | `default_nettype none | ||||
4 | |||||
5 | module user_module_341192113929585235( | ||||
6 | input [7:0] io_in, | ||||
7 | output [7:0] io_out | ||||
8 | ); | ||||
9 | wire net1 = io_in[0]; | ||||
10 | wire net2 = io_in[1]; | ||||
11 | wire net3; | ||||
12 | wire net4 = 1'b0; | ||||
13 | wire net5 = 1'b1; | ||||
14 | wire net6 = 1'b1; | ||||
15 | wire net7; | ||||
16 | |||||
17 | assign io_out[0] = net3; | ||||
18 | |||||
19 | and_cell gate1 ( | ||||
20 | |||||
21 | ); | ||||
22 | or_cell gate2 ( | ||||
23 | .a (net1), | ||||
24 | .b (net2), | ||||
25 | .out (net7) | ||||
26 | ); | ||||
27 | xor_cell gate3 ( | ||||
28 | |||||
29 | ); | ||||
30 | nand_cell gate4 ( | ||||
31 | |||||
32 | ); | ||||
33 | not_cell gate5 ( | ||||
34 | .in (net7), | ||||
35 | .out (net3) | ||||
36 | ); | ||||
37 | buffer_cell gate6 ( | ||||
38 | |||||
39 | ); | ||||
40 | mux_cell mux1 ( | ||||
41 | |||||
42 | ); | ||||
43 | dff_cell flipflop1 ( | ||||
44 | |||||
45 | ); | ||||
46 | endmodule |