module LED(WIDTH, CLK, RST_B, OUT); input [3:0] WIDTH; // Duty Ratio (0 - 15) input CLK, RST_B; // Clock, Reset output OUT; // Blinking PWM Output wire dout, pout; // Instance DIV div1(.CLK(CLK), .RST_B(RST_B), .DOUT(dout)); PWM pwm1(.WIDTH(WIDTH), .CLK(dout), .RST_B(RST_B), .POUT(pout)); BLNK blnk1(.IN(pout), .RST_B(RST_B), .OUT(OUT)); endmodule