From 4c969e815395a42c909de6f2727a821225ba50a8 Mon Sep 17 00:00:00 2001 From: Luca Date: Sun, 29 Dec 2024 02:35:15 +0100 Subject: [PATCH] fix(xc7_bram): set all trailing address bits to 1 --- xc7_bram.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xc7_bram.v b/xc7_bram.v index 0c1b749..e73ca98 100644 --- a/xc7_bram.v +++ b/xc7_bram.v @@ -15,8 +15,8 @@ module xc7_bram #( assign out_data = porta_out[out_addr[16:11]][15:0]; - assign porta_addr = {1'b1, out_addr[10:0], 4'b1}; - assign portb_addr = {1'b1, in_addr[10:0], 4'b1}; + assign porta_addr = {1'b1, out_addr[10:0], 4'b1111}; + assign portb_addr = {1'b1, in_addr[10:0], 4'b1111}; genvar i;