mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-23 21:14:37 +00:00
Commented config mode of synthesis makefile
This commit is contained in:
parent
18333d36cb
commit
7b58683d2d
@ -84,6 +84,14 @@ endif
|
||||
endif
|
||||
|
||||
# adjust config if synthesizing with any modifications
|
||||
# This code is subtle with ifneq. It successively turns off a larger
|
||||
# set of features in order of cycle time limiting.
|
||||
# When mod = orig, all features are ON
|
||||
# When mod = PMP0, the number of PMP entries is set to 0
|
||||
# when mod = noPriv, the privileged unit and PMP are disabled
|
||||
# when mod = noFPU, the FPU, privileged unit, and PMP are disabled
|
||||
# when mod = noMulDiv, the MDU, FPU, privileged unit, and PMP are disabled.
|
||||
|
||||
ifneq ($(MOD), orig)
|
||||
# PMP 0
|
||||
sed -i 's/PMP_ENTRIES \(64\|16\|0\)/PMP_ENTRIES 0/' $(CONFIGDIR)/wally-config.vh
|
||||
|
Loading…
Reference in New Issue
Block a user