From cfe8341bc0826ef37504eb67bda26557dc649b49 Mon Sep 17 00:00:00 2001 From: Daniel Jobson Date: Thu, 19 Sep 2024 08:57:17 +0200 Subject: [PATCH] Increase ROM to 8K --- hw/application_fpga/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/application_fpga/Makefile b/hw/application_fpga/Makefile index 064d64b..a7635e8 100644 --- a/hw/application_fpga/Makefile +++ b/hw/application_fpga/Makefile @@ -32,7 +32,7 @@ TARGET_FREQ ?= 21 # 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 +BRAM_FW_SIZE ?= 2048 PIN_FILE ?= application_fpga_tk1.pcf @@ -42,7 +42,7 @@ OBJCOPY ?= llvm-objcopy CC = clang CFLAGS = -target riscv32-unknown-none-elf -march=rv32iczmmul -mabi=ilp32 \ - -static -std=gnu99 -O2 -ffast-math -fno-common -fno-builtin-printf \ + -static -std=gnu99 -Os -ffast-math -fno-common -fno-builtin-printf \ -fno-builtin-putchar -fno-builtin-memcpy -nostdlib -mno-relax -Wall \ -Wpedantic -Wno-language-extension-token -flto -g