Skip to content

Commit

Permalink
Add bootrom build target for chimera
Browse files Browse the repository at this point in the history
  • Loading branch information
Lore0599 committed Sep 27, 2024
1 parent bbc5b41 commit c584887
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Bender.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ packages:
- common_cells
- register_interface
cheshire:
revision: e9fbb914f4f13cb8a52f86780570a292d8aed647
revision: 2eaec75db7bf8e1956ec685608e05dc694512da8
version: null
source:
Git: https://github.com/pulp-platform/cheshire.git
Expand Down Expand Up @@ -140,7 +140,7 @@ packages:
Git: https://github.com/pulp-platform/common_verification.git
dependencies: []
cva6:
revision: 637a0e6cbc8ec395c4bb4f54ee9dc1110d3fb1ac
revision: 630bd959c9cc69a35d461a2abc205310d2edacf8
version: null
source:
Git: https://github.com/Scheremo/cva6.git
Expand Down
2 changes: 1 addition & 1 deletion Bender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package:
dependencies:
register_interface: { git: "https://github.com/pulp-platform/register_interface.git", version: 0.4.3 }
axi: { git: "https://github.com/pulp-platform/axi.git", version: 0.39.2 }
cheshire: { git: "https://github.com/pulp-platform/cheshire.git", rev: e9fbb914f4f13cb8a52f86780570a292d8aed647}
cheshire: { git: "https://github.com/pulp-platform/cheshire.git", rev: lleone/memisland}
snitch_cluster: { git: "https://github.com/pulp-platform/snitch_cluster.git", rev: c12ce9b2af1ac8edf3d4feb18939e1ad20c42225}
common_cells: { git: "https://github.com/pulp-platform/common_cells.git", version: 1.31.1}
idma: { git: "https://github.com/pulp-platform/iDMA.git", rev: 9edf489f57389dce5e71252c79e337f527d3aded}
Expand Down
2 changes: 1 addition & 1 deletion chimera.mk
Original file line number Diff line number Diff line change
Expand Up @@ -65,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 ?= 0825231dfb56fb1ab387d86c4b13bcad7c2fbee9 # to deploy `chimera-nonfree` repo changes, push to `deploy` tag
CHIM_NONFREE_COMMIT ?= 4ad18f61e8db277f9a9d9c7c01ef5d5769552d2c # to deploy `chimera-nonfree` repo changes, push to `deploy` tag

.PHONY: chim-nonfree-init
chim-nonfree-init:
Expand Down
5 changes: 5 additions & 0 deletions sw/sw.mk
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ $(foreach link,$(patsubst $(CHS_SW_LD_DIR)/%.ld,%,$(wildcard $(CHS_SW_LD_DIR)/*.

chim-sw: $(CHIM_SW_LIB) $(CHIM_SW_TESTS)

.PHONY: chim-bootrom-init
chim-bootrom-init: chs-hw-init chim-sw
make -B chs-bootrom-all CHS_XLEN=$(CHS_XLEN) CHS_SW_LD_DIR=$(CHS_SW_LD_DIR)


chim-sw-clean:
@find sw/tests | grep ".*\.elf" | xargs -I ! rm !
@find sw/tests | grep ".*\.dump" | xargs -I ! rm !
Expand Down

0 comments on commit c584887

Please sign in to comment.