/* Automatically generated from https://wokwi.com/projects/341235575572922964 */ | |
`default_nettype none | |
module user_module_341235575572922964( | |
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; | |
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 ( | |
.d (net13), | |
.clk (net1), | |
.q (net2) | |
); | |
dff_cell flipflop2 ( | |
.d (net2), | |
.clk (net1), | |
.q (net3) | |
); | |
dff_cell flipflop3 ( | |
.d (net3), | |
.clk (net1), | |
.q (net4) | |
); | |
dff_cell flipflop4 ( | |
.d (net4), | |
.clk (net1), | |
.q (net5) | |
); | |
dff_cell flipflop5 ( | |
.d (net5), | |
.clk (net1), | |
.q (net6) | |
); | |
dff_cell flipflop6 ( | |
.d (net6), | |
.clk (net1), | |
.q (net7) | |
); | |
dff_cell flipflop7 ( | |
.d (net7), | |
.clk (net1), | |
.q (net8) | |
); | |
dff_cell flipflop8 ( | |
.d (net8), | |
.clk (net1), | |
.q (net9), | |
.notq (net13) | |
); | |
endmodule |