From 617a2ff2c2fb7f4671d5681280254949b60be1d1 Mon Sep 17 00:00:00 2001 From: u1 Date: Thu, 21 Nov 2024 08:21:56 +0100 Subject: [PATCH] init --- src/ver/step1.v | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/ver/step1.v diff --git a/src/ver/step1.v b/src/ver/step1.v new file mode 100644 index 0000000..9baa180 --- /dev/null +++ b/src/ver/step1.v @@ -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