Skip to content

Commit

Permalink
Modify the default cfg hjson file
Browse files Browse the repository at this point in the history
  • Loading branch information
IveanEx committed Feb 10, 2025
1 parent be15c5f commit 38343f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
MKFILE_DIR := $(dir $(MKFILE_PATH))

CFG_OVERRIDE ?= target/rtl/cfg/hemaia.hjson
CFG_OVERRIDE ?= target/rtl/cfg/hemaia_tapeout.hjson
CFG = $(realpath $(CFG_OVERRIDE))

clean:
Expand Down
2 changes: 1 addition & 1 deletion target/rtl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ CFG = $(TARGET_RTL)/cfg/lru.hjson
$(CFG): FORCE
@# If the LRU config file doesn't exist, we use the default config.
@if [ ! -e $@ ] ; then \
DEFAULT_CFG="$(TARGET_RTL)/cfg/hemaia.hjson"; \
DEFAULT_CFG="$(TARGET_RTL)/cfg/hemaia_tapeout.hjson"; \
echo "Using default config file: $$DEFAULT_CFG"; \
cp $$DEFAULT_CFG $@; \
fi
Expand Down
2 changes: 1 addition & 1 deletion target/tapeout/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ CFG = $(TARGET_RTL)/cfg/lru.hjson
$(CFG): FORCE
@# If the LRU config file doesn't exist, we use the default config.
@if [ ! -e $@ ] ; then \
DEFAULT_CFG="$(TARGET_RTL)/cfg/hemaia.hjson"; \
DEFAULT_CFG="$(TARGET_RTL)/cfg/hemaia_tapeout.hjson"; \
echo "Using default config file: $$DEFAULT_CFG"; \
cp $$DEFAULT_CFG $@; \
fi
Expand Down

0 comments on commit 38343f8

Please sign in to comment.