diff --git a/src/controller.v b/src/controller.v index 5195ece..7c6bac1 100644 --- a/src/controller.v +++ b/src/controller.v @@ -24,7 +24,7 @@ module controller ( reg [3:0] led_binary; assign state_out = {inverted, led_binary}; - reg [11:0] led_mask_i; + reg [11:0] led_mask_i; // internal, without inversion assign led_mask = {12{inverted}} ^ led_mask_i; // Inversion diff --git a/src/debounce.v b/src/debounce.v deleted file mode 100644 index 3d8c4a0..0000000 --- a/src/debounce.v +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (c) 2024 Fabio Ramirez Stern - * SPDX-License-Identifier: Apache-2.0 - */ - -`default_nettype none - -module debounce ( - input wire clock, // clock - input wire res_n, // active low reset - input wire in, // the input to be debounced - - output reg out // debounced output -); - - - always @(posedge clock) begin - - if (!res_n) begin - // - end - - end -endmodule \ No newline at end of file diff --git a/src/rotary_ring_wrapper.v b/src/rotary_ring_wrapper.v index e6eddf6..72eadd8 100644 --- a/src/rotary_ring_wrapper.v +++ b/src/rotary_ring_wrapper.v @@ -66,6 +66,6 @@ module tt_um_faramire_rotary_ring_wrapper ( assign uio_oe = 0; // List all unused inputs to prevent warnings - wire _unused = &{ena, uio_in[7:0], driver_busy, 1'b0}; + wire _unused = &{ena, uio_in[7:0], 1'b0}; endmodule