| /* Automatically generated from https://wokwi.com/projects/341571228858843732 */ |
| |
| `default_nettype none |
| |
| module user_module_341571228858843732( |
| 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 = 1'b0; |
| wire net17 = 1'b1; |
| wire net18 = 1'b1; |
| |
| assign io_out[0] = net1; |
| assign io_out[1] = net9; |
| assign io_out[2] = net10; |
| assign io_out[3] = net11; |
| assign io_out[4] = net12; |
| assign io_out[5] = net13; |
| assign io_out[6] = net14; |
| assign io_out[7] = net15; |
| |
| and_cell gate1 ( |
| .a (net1), |
| .b (net2), |
| .out (net9) |
| ); |
| or_cell gate2 ( |
| |
| ); |
| xor_cell gate3 ( |
| |
| ); |
| nand_cell gate4 ( |
| |
| ); |
| buffer_cell gate6 ( |
| |
| ); |
| mux_cell mux1 ( |
| |
| ); |
| dff_cell flipflop1 ( |
| .d (net3), |
| .clk (net9), |
| .q (net10) |
| ); |
| dff_cell flipflop2 ( |
| .d (net4), |
| .clk (net9), |
| .q (net11) |
| ); |
| dff_cell flipflop3 ( |
| .d (net5), |
| .clk (net9), |
| .q (net12) |
| ); |
| dff_cell flipflop4 ( |
| .d (net6), |
| .clk (net9), |
| .q (net13) |
| ); |
| dff_cell flipflop5 ( |
| .d (net7), |
| .clk (net9), |
| .q (net14) |
| ); |
| dff_cell flipflop6 ( |
| .d (net8), |
| .clk (net9), |
| .q (net15) |
| ); |
| endmodule |