Change benchmark to calc MD5 on 1024 softcores

This commit is contained in:
Nikolay Puzanov
2023-06-15 17:40:46 +03:00
parent 89c82cb611
commit 047bd9c42b
21 changed files with 1376 additions and 931 deletions

View File

@@ -1,21 +1,12 @@
PROJECT := fw
SOURCES := crt0.s main.c uprintf.c
SOURCES := crt0.s main.c uprintf.c md5.c
CPU_RAM_REG := ram_reg
ARCH := riscv32-none-elf
CFLAGS := -O2 -Wall -march=rv32i -mabi=ilp32 -mstrict-align \
-nostartfiles \
-ffunction-sections -lgcc \
-nostartfiles -ffunction-sections -lgcc \
-Wl,-Tpicorv32-minimal.ld,-static,-Map,$(PROJECT).map
# CFLAGS := -O3 -Wall -march=rv32i -mabi=ilp32 -mstrict-align \
# -nostartfiles \
# -ffunction-sections \
# -ffreestanding -lgcc \
# -Wl,-T,picorv32-minimal.ld,-static,-Map,$(PROJECT).map
# -nostdlib
ELF = $(PROJECT).elf
BIN = $(PROJECT).bin
ASM = $(PROJECT).asm