From 77d9635a2e2be96bc84fb849abf57e85334dba39 Mon Sep 17 00:00:00 2001 From: Eric Jessee Date: Sat, 13 Apr 2024 12:30:01 -0400 Subject: [PATCH] small style changes to appease linter --- rtl/common/sram/amd_bram.sv | 2 +- rtl/common/sram/amd_lutram.sv | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rtl/common/sram/amd_bram.sv b/rtl/common/sram/amd_bram.sv index 606883c..08ae1ba 100644 --- a/rtl/common/sram/amd_bram.sv +++ b/rtl/common/sram/amd_bram.sv @@ -70,7 +70,7 @@ generate if (OUTPUT_FLOPS == 1) begin : g_FLOP_OUTPUT always_ff @(posedge i_rclk) begin o_rdata <= rdata; end -end else begin +end else begin : g_NO_FLOP_OUTPUT assign o_rdata = rdata; end endgenerate diff --git a/rtl/common/sram/amd_lutram.sv b/rtl/common/sram/amd_lutram.sv index c604942..1ab1372 100644 --- a/rtl/common/sram/amd_lutram.sv +++ b/rtl/common/sram/amd_lutram.sv @@ -85,7 +85,7 @@ end * --------------------------------------------------------------------------------------------- */ //This is the only circumstance in which initial blocks are acceptable: on FPGAs with inferred SRAM -generate if (INIT == 1) begin +generate if (INIT == 1) begin: g_READ_MEM initial begin $readmemh(INIT_FILE, lutram); end