From 200551679cb3e8633ff2a3af8f322d1abece25bf Mon Sep 17 00:00:00 2001 From: openpowerwtf <52765606+openpowerwtf@users.noreply.ggithub.com> Date: Tue, 26 Jul 2022 06:34:38 -0500 Subject: [PATCH] syntax --- dev/verilog/trilib_clk1x/tri_144x78_2r4w.v | 1 + dev/verilog/unisims/bram_model.v | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/verilog/trilib_clk1x/tri_144x78_2r4w.v b/dev/verilog/trilib_clk1x/tri_144x78_2r4w.v index 49b8517..5438b34 100755 --- a/dev/verilog/trilib_clk1x/tri_144x78_2r4w.v +++ b/dev/verilog/trilib_clk1x/tri_144x78_2r4w.v @@ -86,6 +86,7 @@ module tri_144x78_2r4w( input [64-`GPR_WIDTH:77] w_data_in_4 ); + wire unused; // sim array reg [64-`GPR_WIDTH:77] mem[0:143]; diff --git a/dev/verilog/unisims/bram_model.v b/dev/verilog/unisims/bram_model.v index c9b32fc..09b445f 100755 --- a/dev/verilog/unisims/bram_model.v +++ b/dev/verilog/unisims/bram_model.v @@ -27,7 +27,7 @@ module bram_model (DIA, DIB, ENA, ENB, WEA, WEB, SSRA, SSRB, CLKA, CLKB, ADDRA, initial begin integer i; for (i = 0; i < 2**addr_w; i = i + 1) - MEM[i] <= 0; + MEM[i] = 0; end always @(posedge CLKA, posedge CLKB) begin: BRAM_MODEL