diff options
author | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2024-05-13 07:46:45 +0200 |
---|---|---|
committer | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2024-05-13 07:46:45 +0200 |
commit | 48205bf3e8d421b6aa0474a4d120ae5faaaaa670 (patch) | |
tree | b8831bc5ad48d3375a5b05d6d532e2b3e0f2e490 /src/led_unit.v | |
parent | deb7d0a6fc76d5250c238d479cf97d4755abef01 (diff) | |
download | riscv_cpu-48205bf3e8d421b6aa0474a4d120ae5faaaaa670.tar.gz riscv_cpu-48205bf3e8d421b6aa0474a4d120ae5faaaaa670.zip |
refactoring, runs now on fpga
Diffstat (limited to 'src/led_unit.v')
-rw-r--r-- | src/led_unit.v | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/led_unit.v b/src/led_unit.v deleted file mode 100644 index cfcbbdf..0000000 --- a/src/led_unit.v +++ /dev/null @@ -1,18 +0,0 @@ -module led_unit ( - input clk, - input rst, - input we, - output reg [31:0] data_read, - input [31:0] data_write, - output [5:0] led_output -); - -assign led_output = ~data_read[5:0]; - -always @(posedge clk or posedge rst) begin - if (rst) data_read <= 32'b0; - else if (we) data_read <= data_write; - else data_read <= data_read; -end - -endmodule |