| /* Automatically generated from https://wokwi.com/projects/341136771628663380 */ |
| |
| `default_nettype none |
| |
| module user_module_341136771628663380( |
| input [7:0] io_in, |
| output [7:0] io_out |
| ); |
| wire net1 = io_in[0]; |
| wire net2 = io_in[1]; |
| wire net3 = io_in[2]; |
| wire net4 = io_in[3]; |
| wire net5 = io_in[4]; |
| wire net6 = io_in[5]; |
| wire net7 = io_in[6]; |
| wire net8 = io_in[7]; |
| wire net9; |
| wire net10; |
| wire net11; |
| wire net12; |
| wire net13; |
| wire net14; |
| wire net15; |
| wire net16; |
| wire net17 = 1'b0; |
| wire net18 = 1'b1; |
| wire net19; |
| wire net20; |
| wire net21; |
| wire net22; |
| wire net23; |
| wire net24 = 1'b0; |
| wire net25; |
| wire net26; |
| |
| assign io_out[0] = net9; |
| assign io_out[1] = net10; |
| assign io_out[2] = net11; |
| assign io_out[3] = net12; |
| assign io_out[4] = net13; |
| assign io_out[5] = net14; |
| assign io_out[6] = net15; |
| assign io_out[7] = net16; |
| |
| and_cell gate1 ( |
| |
| ); |
| or_cell gate2 ( |
| |
| ); |
| xor_cell gate3 ( |
| |
| ); |
| nand_cell gate4 ( |
| |
| ); |
| not_cell gate5 ( |
| |
| ); |
| buffer_cell gate6 ( |
| |
| ); |
| mux_cell mux1 ( |
| .a (net6), |
| .b (net5), |
| .sel (net7), |
| .out (net19) |
| ); |
| dff_cell flipflop1 ( |
| |
| ); |
| mux_cell mux2 ( |
| .a (net5), |
| .b (net4), |
| .sel (net7), |
| .out (net20) |
| ); |
| mux_cell mux3 ( |
| .a (net4), |
| .b (net3), |
| .sel (net7), |
| .out (net21) |
| ); |
| mux_cell mux4 ( |
| .a (net3), |
| .b (net2), |
| .sel (net7), |
| .out (net22) |
| ); |
| mux_cell mux5 ( |
| .a (net2), |
| .b (net1), |
| .sel (net7), |
| .out (net23) |
| ); |
| mux_cell mux6 ( |
| .a (net1), |
| .b (net24), |
| .sel (net7), |
| .out (net25) |
| ); |
| mux_cell mux7 ( |
| .a (net24), |
| .b (net6), |
| .sel (net7), |
| .out (net26) |
| ); |
| mux_cell mux8 ( |
| .a (net19), |
| .b (net21), |
| .sel (net8), |
| .out (net14) |
| ); |
| mux_cell mux9 ( |
| .a (net20), |
| .b (net22), |
| .sel (net8), |
| .out (net13) |
| ); |
| mux_cell mux10 ( |
| .a (net21), |
| .b (net23), |
| .sel (net8), |
| .out (net12) |
| ); |
| mux_cell mux11 ( |
| .a (net22), |
| .b (net25), |
| .sel (net8), |
| .out (net11) |
| ); |
| mux_cell mux12 ( |
| .a (net23), |
| .b (net24), |
| .sel (net8), |
| .out (net10) |
| ); |
| mux_cell mux13 ( |
| .a (net25), |
| .b (net24), |
| .sel (net8), |
| .out (net9) |
| ); |
| mux_cell mux14 ( |
| .a (net26), |
| .b (net20), |
| .sel (net8), |
| .out (net15) |
| ); |
| mux_cell mux15 ( |
| .a (net24), |
| .b (net19), |
| .sel (net8), |
| .out (net16) |
| ); |
| endmodule |