Skip to content

Commit

Permalink
CI: Align CI commit to lleone/hw-sw-switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Lore0599 committed Sep 27, 2024
1 parent e7540aa commit a40ceff
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions chimera.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#
# Moritz Scherer <scheremo@iis.ee.ethz.ch>


CLINTCORES = 46
PLICCORES = 92
PLIC_NUM_INTRS = 92
Expand All @@ -20,7 +21,7 @@ gen_idma_hw:
CHS_SW_LD_DIR = $(CHIM_ROOT)/sw/link

.PHONY: chs-hw-init
chs-hw-init: update_plic gen_idma_hw
chs-hw-init: update_plic gen_idma_hw $(CHIM_SW_LIB)
make -B chs-hw-all CHS_XLEN=$(CHS_XLEN) CHS_SW_LD_DIR=$(CHS_SW_LD_DIR)

.PHONY: snitch-hw-init
Expand Down Expand Up @@ -64,7 +65,7 @@ $(CHIM_ROOT)/hw/regs/chimera_reg_pkg.sv $(CHIM_ROOT)/hw/regs/chimera_reg_top.sv:
# Nonfree components
CHIM_NONFREE_REMOTE ?= git@iis-git.ee.ethz.ch:pulp-restricted/chimera-nonfree.git
CHIM_NONFREE_DIR ?= $(CHIM_ROOT)/nonfree
CHIM_NONFREE_COMMIT ?= deploy # to deploy `chimera-nonfree` repo changes, push to `deploy` tag
CHIM_NONFREE_COMMIT ?= 0825231dfb56fb1ab387d86c4b13bcad7c2fbee9 # to deploy `chimera-nonfree` repo changes, push to `deploy` tag

.PHONY: chim-nonfree-init
chim-nonfree-init:
Expand All @@ -75,8 +76,11 @@ chim-nonfree-init:

-include $(CHIM_ROOT)/bender.mk

# Include subdir Makefiles
# Necessary to build libchimera.a for bootrom.elf
# TODO: Here the make chim-sw cannot work properly FIND SOLUTION !!!!!
-include $(CHIM_ROOT)/sw/sw.mk

# Include subdir Makefiles
-include $(CHIM_ROOT)/utils/utils.mk
# Include target makefiles
-include $(CHIM_ROOT)/target/sim/sim.mk

0 comments on commit a40ceff

Please sign in to comment.