/* Automatically generated from https://wokwi.com/projects/341240110454407762 */ | |
`default_nettype none | |
module user_module_341240110454407762( | |
input [7:0] io_in, | |
output [7:0] io_out | |
); | |
wire net1 = io_in[0]; | |
wire net2; | |
wire net3; | |
wire net4; | |
wire net5; | |
wire net6; | |
wire net7; | |
wire net8; | |
wire net9; | |
wire net10 = 1'b0; | |
wire net11 = 1'b1; | |
wire net12 = 1'b1; | |
wire net13; | |
wire net14; | |
wire net15; | |
wire net16; | |
wire net17; | |
wire net18; | |
wire net19; | |
wire net20; | |
wire net21; | |
wire net22; | |
wire net23; | |
wire net24; | |
wire net25; | |
wire net26; | |
wire net27; | |
wire net28; | |
wire net29; | |
wire net30; | |
wire net31; | |
wire net32; | |
wire net33; | |
wire net34; | |
wire net35; | |
wire net36; | |
wire net37; | |
wire net38; | |
wire net39; | |
wire net40; | |
wire net41; | |
wire net42; | |
wire net43; | |
wire net44; | |
wire net45; | |
wire net46; | |
wire net47; | |
wire net48; | |
wire net49; | |
wire net50; | |
wire net51; | |
wire net52; | |
wire net53; | |
wire net54; | |
wire net55; | |
wire net56; | |
wire net57; | |
wire net58; | |
wire net59; | |
wire net60; | |
wire net61; | |
wire net62; | |
wire net63; | |
wire net64; | |
wire net65; | |
wire net66; | |
wire net67; | |
wire net68; | |
wire net69; | |
wire net70; | |
wire net71; | |
assign io_out[0] = net2; | |
assign io_out[1] = net3; | |
assign io_out[2] = net4; | |
assign io_out[3] = net5; | |
assign io_out[4] = net6; | |
assign io_out[5] = net7; | |
assign io_out[6] = net8; | |
assign io_out[7] = net9; | |
and_cell gate1 ( | |
); | |
or_cell gate2 ( | |
); | |
xor_cell gate3 ( | |
); | |
nand_cell gate4 ( | |
); | |
not_cell gate5 ( | |
); | |
buffer_cell gate6 ( | |
); | |
mux_cell mux1 ( | |
); | |
dff_cell flipflop1 ( | |
); | |
dff_cell flipflop3 ( | |
.d (net13), | |
.clk (net1), | |
.q (net14), | |
.notq (net13) | |
); | |
dff_cell flipflop2 ( | |
.d (net15), | |
.clk (net14), | |
.q (net16), | |
.notq (net15) | |
); | |
dff_cell flipflop4 ( | |
.d (net17), | |
.clk (net16), | |
.q (net18), | |
.notq (net17) | |
); | |
dff_cell flipflop6 ( | |
.d (net19), | |
.clk (net20), | |
.q (net21), | |
.notq (net19) | |
); | |
dff_cell flipflop7 ( | |
.d (net22), | |
.clk (net21), | |
.q (net23), | |
.notq (net22) | |
); | |
dff_cell flipflop8 ( | |
.d (net24), | |
.clk (net23), | |
.q (net25), | |
.notq (net24) | |
); | |
dff_cell flipflop9 ( | |
.d (net26), | |
.clk (net25), | |
.q (net27), | |
.notq (net26) | |
); | |
dff_cell flipflop10 ( | |
.d (net28), | |
.clk (net27), | |
.q (net29), | |
.notq (net28) | |
); | |
dff_cell flipflop11 ( | |
.d (net30), | |
.clk (net29), | |
.q (net31), | |
.notq (net30) | |
); | |
dff_cell flipflop12 ( | |
.d (net32), | |
.clk (net31), | |
.q (net33), | |
.notq (net32) | |
); | |
dff_cell flipflop13 ( | |
.d (net34), | |
.clk (net33), | |
.q (net35), | |
.notq (net34) | |
); | |
dff_cell flipflop14 ( | |
.d (net36), | |
.clk (net35), | |
.q (net37), | |
.notq (net36) | |
); | |
dff_cell flipflop15 ( | |
.d (net38), | |
.clk (net37), | |
.q (net39), | |
.notq (net38) | |
); | |
dff_cell flipflop5 ( | |
.d (net40), | |
.clk (net18), | |
.q (net20), | |
.notq (net40) | |
); | |
or_cell gate9 ( | |
.a (net41), | |
.b (net42), | |
.out (net43) | |
); | |
and_cell gate10 ( | |
.a (net43), | |
.b (net44), | |
.out (net45) | |
); | |
buffer_cell gate8 ( | |
.in (net38), | |
.out (net41) | |
); | |
buffer_cell gate12 ( | |
.in (net46), | |
.out (net47) | |
); | |
buffer_cell gate13 ( | |
.in (net48), | |
.out (net49) | |
); | |
buffer_cell gate14 ( | |
.in (net50), | |
.out (net51) | |
); | |
buffer_cell gate15 ( | |
.in (net52), | |
.out (net53) | |
); | |
buffer_cell gate16 ( | |
.in (net54), | |
.out (net55) | |
); | |
buffer_cell gate17 ( | |
.in (net56), | |
.out (net57) | |
); | |
or_cell gate18 ( | |
.a (net37), | |
.b (net34), | |
.out (net58) | |
); | |
and_cell gate19 ( | |
.a (net39), | |
.b (net59), | |
.out (net60) | |
); | |
not_cell gate22 ( | |
.in (net58), | |
.out (net59) | |
); | |
not_cell gate24 ( | |
); | |
and_cell gate26 ( | |
.a (net61), | |
.b (net62), | |
.out (net63) | |
); | |
or_cell gate7 ( | |
.a (net34), | |
.b (net36), | |
.out (net42) | |
); | |
not_cell gate27 ( | |
.in (net57), | |
.out (net44) | |
); | |
or_cell gate20 ( | |
.a (net35), | |
.b (net37), | |
.out (net64) | |
); | |
and_cell gate23 ( | |
.a (net39), | |
.b (net65), | |
.out (net66) | |
); | |
not_cell gate28 ( | |
.in (net64), | |
.out (net65) | |
); | |
or_cell gate25 ( | |
.a (net66), | |
.b (net60), | |
.out (net67) | |
); | |
and_cell gate29 ( | |
.a (net45), | |
.b (net68), | |
.out (net61) | |
); | |
not_cell gate30 ( | |
.in (net67), | |
.out (net68) | |
); | |
or_cell gate31 ( | |
.a (net47), | |
.b (net53), | |
.out (net69) | |
); | |
not_cell gate32 ( | |
.in (net69), | |
.out (net62) | |
); | |
and_cell gate33 ( | |
.a (net41), | |
.b (net59), | |
.out (net46) | |
); | |
and_cell gate34 ( | |
.a (net60), | |
.b (net70), | |
.out (net48) | |
); | |
not_cell gate11 ( | |
.in (net63), | |
.out (net70) | |
); | |
and_cell gate35 ( | |
.a (net66), | |
.b (net70), | |
.out (net50) | |
); | |
and_cell gate36 ( | |
.a (net41), | |
.b (net71), | |
.out (net52) | |
); | |
not_cell gate37 ( | |
.in (net42), | |
.out (net71) | |
); | |
and_cell gate38 ( | |
.a (net39), | |
.b (net71), | |
.out (net54) | |
); | |
and_cell gate39 ( | |
.a (net37), | |
.b (net34), | |
.out (net56) | |
); | |
dff_cell flipflop16 ( | |
.d (net63), | |
.clk (net1), | |
.q (net2) | |
); | |
dff_cell flipflop17 ( | |
.d (net47), | |
.clk (net1), | |
.q (net3) | |
); | |
dff_cell flipflop18 ( | |
.d (net49), | |
.clk (net1), | |
.q (net4) | |
); | |
dff_cell flipflop19 ( | |
.d (net51), | |
.clk (net1), | |
.q (net5) | |
); | |
dff_cell flipflop20 ( | |
.d (net53), | |
.clk (net1), | |
.q (net6) | |
); | |
dff_cell flipflop21 ( | |
.d (net55), | |
.clk (net1), | |
.q (net7) | |
); | |
dff_cell flipflop22 ( | |
.d (net57), | |
.clk (net1), | |
.q (net8) | |
); | |
dff_cell flipflop23 ( | |
.d (net39), | |
.clk (net1), | |
.q (net9) | |
); | |
endmodule |