From 96746b2de00f4ac647afb6eed6286792a76969b1 Mon Sep 17 00:00:00 2001 From: Daniel Lublin Date: Tue, 11 Oct 2022 17:25:00 +0200 Subject: [PATCH] Clarify BRAM_FW_SIZE --- doc/system_description/software.md | 4 ++-- hw/application_fpga/Makefile | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/system_description/software.md b/doc/system_description/software.md index f8690c2..5356835 100644 --- a/doc/system_description/software.md +++ b/doc/system_description/software.md @@ -26,8 +26,8 @@ specifications: should be the target. * 4 SPRAM x 32 KB => 128 KB RAM for application/software -[^1]: Embedded Block RAM residing in the FPGA, can configured as RAM - or ROM. +[^1]: Embedded Block RAM (also BRAM) residing in the FPGA, can + configured as RAM or ROM. ## Introduction diff --git a/hw/application_fpga/Makefile b/hw/application_fpga/Makefile index f653e1a..b49b550 100644 --- a/hw/application_fpga/Makefile +++ b/hw/application_fpga/Makefile @@ -22,7 +22,8 @@ YOSYS_PATH ?= NEXTPNR_PATH ?= ICESTORM_PATH ?= -# Size in 32-bit words +# Size in 32-bit words, must be divisible by 256 (pairs of EBRs, because 16 +# bits wide; an EBR is 128 32-bits words) BRAM_FW_SIZE ?= 1536 PIN_FILE ?= application_fpga_mta1_usb_v1.pcf