Skip to content

Commit

Permalink
mostly typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
faramire committed Sep 4, 2024
1 parent e17fabf commit fc51ba4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
21 changes: 12 additions & 9 deletions info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,25 @@ project:
# List your project's source files here. Source files must be in ./src and you must list each source file separately, one per line:
source_files:
- "rotary_ring_wrapper.v"
- "controller.v"
- "rotary_decoder.v"
- "rotary_ring_driver.v"

# The pinout of your project. Leave unused pins blank. DO NOT delete or add any pins.
pinout:
# Inputs
ui[0]: "CLK"
ui[1]: "DT"
ui[2]: "SW"
ui[3]: ""
ui[4]: ""
ui[5]: ""
ui[6]: ""
ui[7]: ""
ui[0]: "rotary encoder: CLK"
ui[1]: "rotary encoder: DT"
ui[2]: "rotary encoder: SW"
ui[3]: "green"
ui[4]: "red"
ui[5]: "blue"
ui[6]: "intensity1"
ui[7]: "intensity2"

# Outputs
uo[0]: "DOUT"
uo[1]: ""
uo[1]: "inverted"
uo[2]: "count0"
uo[3]: "count1"
uo[4]: "count2"
Expand Down
2 changes: 1 addition & 1 deletion src/controller.v
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module controller (

// Inversion
always @(posedge clk) begin
if (!res) begin
if (!res_n) begin
inverted <= 0;
end else begin
if (push) begin
Expand Down
6 changes: 3 additions & 3 deletions src/rotary_ring_wrapper.v
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
*/

`default_nettype none
`include "controller.v"
`include "rotary_decoder.v"
`include "led_ring_driver.v"
// `include "controller.v"
// `include "rotary_decoder.v"
// `include "led_ring_driver.v"

module tt_um_faramire_rotary_ring_wrapper (
input wire [7:0] ui_in, // Dedicated inputs
Expand Down
2 changes: 1 addition & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
SIM ?= icarus
TOPLEVEL_LANG ?= verilog
SRC_DIR = $(PWD)/../src
PROJECT_SOURCES = rotary_ring_wrapper.v
PROJECT_SOURCES = rotary_ring_wrapper.v controller.v rotary_decoder.v rotary_ring_driver.v


ifneq ($(GATES),yes)
Expand Down

0 comments on commit fc51ba4

Please sign in to comment.