From e3570d790777a95d5e7c735c7cb8735006aa201f Mon Sep 17 00:00:00 2001 From: Dan Rodrigues Date: Sun, 15 Nov 2020 20:42:54 +1100 Subject: [PATCH] Favor shorthand notation for offset part select --- hardware/vdp/vdp_sprite_core.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/vdp/vdp_sprite_core.v b/hardware/vdp/vdp_sprite_core.v index 8ce6774..5c8b1d1 100644 --- a/hardware/vdp/vdp_sprite_core.v +++ b/hardware/vdp/vdp_sprite_core.v @@ -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