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 tb_led ();
`timescale 1ns/1ns // /
reg tb_key; // ( initial , 使)
wire tb_led; // , 使 wire
//
initial begin
tb_key <= 1'b1; //
#200; // 200ns
tb_key <= 1'b0;
#500;
tb_key <= 1'b1;
#1000;
tb_key <= 1'b0;
end
// ,
led u_led(
.key (tb_key),
.led (tb_led) // wire, led, reg, , alaways, 使 wire
// .xx () // , ,
);
endmodule