initial commit

This commit is contained in:
Jojojoppe
2025-10-01 16:40:05 +02:00
commit 42e9bd0a0a
18 changed files with 147564 additions and 0 deletions

20
HW/toplevel.v Normal file
View File

@@ -0,0 +1,20 @@
`timescale 1ns/1ps
module toplevel(
input wire clk,
input wire reset_n,
input wire button,
output wire led
);
reg led_v;
always @(posedge clk or negedge reset_n) begin
if (!reset_n) begin
led_v <= 1'b0;
end else begin
led_v <= button;
end
end
assign led = led_v;
endmodule