Your IP : 216.73.216.213


Current Path : /opt/alt/python311/share/doc/alt-python311-pyparsing-doc/examples/verilog/
Upload File :
Current File : //opt/alt/python311/share/doc/alt-python311-pyparsing-doc/examples/verilog/jtl2.v

// Verilog HDL for "gates.lib", "jtl2" "_functional"

module jtl2(in, out);

input
	in;

output
	out;
reg 
	out;

parameter
	delay=6;

initial 
	begin
		out = 0;
	end

always @(posedge in) 	// Execute at positive edge of in
	begin
	  out <= #delay in;
	  out <= #(delay+2) 0;
	end

endmodule