You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
814 B
Coq

module td_led ();
`timescale 1ns/1ns // /
reg td_key; // ( initial , 使)
wire td_led; // , 使 wire
//
initial begin
td_key <= 1'b1; //
#200; // 200ns
td_key <= 1'b0;
#500;
td_key <= 1'b1;
#1000;
td_key <= 1'b0;
end
// ,
led u_led(
.key (td_key),
.led (td_led) // wire, led, reg, , alaways, 使 wire
// .xx () // , ,
);
endmodule