Skip to content

Commit

Permalink
Maybe this will work
Browse files Browse the repository at this point in the history
  • Loading branch information
SagarDevAchar authored Aug 26, 2024
1 parent eb1c9f2 commit 140d75c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/graphics_engine.v
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ module graphics_engine(

overlay_creator overlay_creator1 (
.overlay_active(overlay_active), .text_active(overlay_text_active),
.x(x), .y(y),
.clk(clk), .rst_n(rst_n)
.x(x), .y(y)
);

sine_layer sine_layer1 (
Expand Down
3 changes: 1 addition & 2 deletions src/overlay_creator.v
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

module overlay_creator(
output wire overlay_active, text_active,
input wire [9:0] x, y,
input wire clk, rst_n
input wire [9:0] x, y
);

//TODO: Double Layer optimization
Expand Down
2 changes: 1 addition & 1 deletion src/sine_layer.v
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module sine_layer (
sub_floor = (a < b) ? 4'd0 : (a - b);
endfunction

function [3:0] add_ceil(input [3:0] a, b);
function automatic [3:0] add_ceil(input [3:0] a, b);
reg [3:0] t;
begin
t = a + b;
Expand Down

0 comments on commit 140d75c

Please sign in to comment.