first commit
This commit is contained in:
16
rtl/Blinky.v
Normal file
16
rtl/Blinky.v
Normal file
@@ -0,0 +1,16 @@
|
||||
module Blinky (
|
||||
input clock,
|
||||
input clock_en,
|
||||
output reg led
|
||||
);
|
||||
|
||||
initial begin
|
||||
led <= 1'b0;
|
||||
end
|
||||
|
||||
always @(posedge clock) begin
|
||||
if(clock_en)
|
||||
led <= ~led;
|
||||
end
|
||||
|
||||
endmodule
|
||||
Reference in New Issue
Block a user