This commit is contained in:
u1 2024-11-21 08:21:56 +01:00
commit 617a2ff2c2
1 changed files with 16 additions and 0 deletions

16
src/ver/step1.v Normal file
View File

@ -0,0 +1,16 @@
module SOC (
input CLK,
input RESET,
output [4:0] LEDS,
input RXD,
output TXD
);
reg [4:0] count = 0;
always @(posedge CLK) begin
count <= count + 1;
end
assign LEDS = count;
assign TXD = 1'b0; // not used for now
endmodule