Skip to content

Commit acdc07a

Browse files
oharboeclaude
andcommitted
asap7/tinyRocket: memories.v's loop variable local to its block
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent 6582666 commit acdc07a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎flow/designs/asap7/tinyRocket/memories.v‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ module data_arrays_0_ext(
2020
);
2121
reg [31:0] Memory [0:63];
2222
reg [5:0] raddr;
23-
integer i;
24-
always @(posedge RW0_clk) begin
23+
always @(posedge RW0_clk) begin : port
24+
integer i;
2525
if (RW0_en && !RW0_wmode) raddr <= RW0_addr;
2626
if (RW0_en && RW0_wmode)
2727
for (i = 0; i < 4; i = i + 1)

0 commit comments

Comments
 (0)