Skip to content

Commit

Permalink
Favor shorthand notation for offset part select
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-rodrigues committed Nov 15, 2020
1 parent 62d0697 commit e3570d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/vdp/vdp_sprite_core.v
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ module vdp_sprite_core #(
reg [15:0] ram [0:255];
reg [15:0] read_data;

assign hit_list_read_data[i * 16 + 15: i * 16] = read_data;
assign hit_list_read_data[i * 16+:16] = read_data;

always @(posedge clk) begin
if (write_en) begin
Expand Down

0 comments on commit e3570d7

Please sign in to comment.