Skip to content

Instantly share code, notes, and snippets.

@jeffdi
jeffdi / Makefile
Last active July 21, 2022 09:01
VexRiscv Min+Debug+Cache core configuration
SRC := ${shell find . -type f -name \*.scala}
all: VexRiscv.v VexRiscv_Debug.v VexRiscv_Lite.v VexRiscv_LiteDebug.v VexRiscv_IMAC.v VexRiscv_IMACDebug.v VexRiscv_Min.v VexRiscv_MinDebug.v VexRiscv_Full.v VexRiscv_FullDebug.v VexRiscv_FullCfu.v VexRiscv_FullCfuDebug.v VexRiscv_Linux.v VexRiscv_LinuxDebug.v VexRiscv_LinuxNoDspFmax.v VexRiscv_Secure.v VexRiscv_SecureDebug.v
VexRiscv.v: $(SRC)
sbt compile "runMain vexriscv.GenCoreDefault"
VexRiscv_Debug.v: $(SRC)
sbt compile "runMain vexriscv.GenCoreDefault -d --outputFile VexRiscv_Debug"