-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from pulp-platform/yt/offloading
Add PULP Cluster Offloading
- Loading branch information
Showing
21 changed files
with
316 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -243,13 +243,13 @@ packages: | |
dependencies: | ||
- common_cells | ||
fpu_interco: | ||
revision: c985d54c2b078ddfbec8c2a498f453410bbdc93e | ||
revision: 4aec4b68424947b0c4cf25fd7c4b907cb9ec3dfa | ||
version: null | ||
source: | ||
Git: https://github.com/pulp-platform/fpu_interco.git | ||
dependencies: | ||
- cv32e40p | ||
- fpnew | ||
- riscv | ||
hci: | ||
revision: b2e6f391aa6c10c03f45b693d80a0aaddecf169b | ||
version: null | ||
|
@@ -381,7 +381,7 @@ packages: | |
dependencies: | ||
- axi_slice | ||
pulp_cluster: | ||
revision: ebc7d1888e2242ea8cb579aab1113e02e08367b4 | ||
revision: 201453dbcedc8f7235b2723363356ba5845e5120 | ||
version: null | ||
source: | ||
Git: https://github.com/pulp-platform/pulp_cluster.git | ||
|
@@ -423,7 +423,7 @@ packages: | |
- hwpe-stream | ||
- tech_cells_generic | ||
redundancy_cells: | ||
revision: 6a011b6f5acf3eca202ed847d6c64474a0bc7cb5 | ||
revision: 482d2f5ed05f25c851f4048f1bd402cc0d2b58b6 | ||
version: null | ||
source: | ||
Git: https://github.com/pulp-platform/redundancy_cells.git | ||
|
@@ -443,7 +443,7 @@ packages: | |
- common_cells | ||
- common_verification | ||
riscv: | ||
revision: 6187537f9994d16bad2d721c0f5ebc5193c0f010 | ||
revision: dd086242d10f248b4051a1fc67ae2b35b989c29c | ||
version: null | ||
source: | ||
Git: [email protected]:AlSaqr-platform/riscv_nn.git | ||
|
@@ -497,7 +497,7 @@ packages: | |
- common_cells | ||
- register_interface | ||
spatz: | ||
revision: 1506445bea978dfa81e0d717a005e84e6fa450b5 | ||
revision: 56544dc2e50acd08cf2c3909267d7daf19f5be19 | ||
version: null | ||
source: | ||
Git: [email protected]:spatz/spatz.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,14 +16,14 @@ dependencies: | |
hyperbus: { git: https://github.com/pulp-platform/hyperbus.git, rev: 2adb7271438cdb96c19fbaf3e2a6bf89ffeee568 } # branch: lv/phys_in_use | ||
car_l2: { git: [email protected]:carfield/carfield_l2_mem.git, rev: d6ab486b2777bf78c38b49352b5977565a272a58 } # branch: main | ||
safety_island: { git: [email protected]:carfield/safety-island.git, rev: b0501345b1741fa96b781ef5d845026fec036fd2 } # branch: param_banks | ||
pulp_cluster: { git: https://github.com/pulp-platform/pulp_cluster.git, rev: ebc7d1888e2242ea8cb579aab1113e02e08367b4 } # branch: ck/carfield-1 | ||
pulp_cluster: { git: https://github.com/pulp-platform/pulp_cluster.git, rev: 201453dbcedc8f7235b2723363356ba5845e5120 } # branch: yt/rapidrecovery | ||
opentitan: { git: https://github.com/alsaqr-platform/opentitan.git, rev: 245d92fe49dc6be32afe3bfb6a133778002d4880 } # branch: carfield | ||
mailbox_unit: { git: [email protected]:pulp-platform/mailbox_unit.git, version: 1.1.0 } | ||
apb: { git: https://github.com/pulp-platform/apb.git, version: 0.2.3 } | ||
timer_unit: { git: https://github.com/pulp-platform/timer_unit.git, version: 1.0.2 } | ||
apb_adv_timer: { git: https://github.com/pulp-platform/apb_adv_timer.git, version: 1.0.4 } | ||
can_bus: { git: [email protected]:AlSaqr-platform/can_bus.git, rev: 230222cc568b49b39a3385b12edaf680657bc69d } | ||
spatz: { git: [email protected]:spatz/spatz.git, rev: 1506445bea978dfa81e0d717a005e84e6fa450b5 } # branch: aottaviano/sync-regs | ||
spatz: { git: [email protected]:spatz/spatz.git, rev: 56544dc2e50acd08cf2c3909267d7daf19f5be19 } # branch: aottaviano/sync-regs | ||
bus_err_unit: { git: [email protected]:carfield/bus_err_unit.git, rev: 47a6436dc4b4b7f4a44f7786033b22c6d01530b2 } # branch: main | ||
common_cells: { git: https://github.com/pulp-platform/common_cells.git, version: 1.30.0 } | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ CHS_ROOT ?= $(shell $(BENDER) path cheshire) | |
|
||
CHS_BOOTMODE ?= 0 # default passive bootmode | ||
CHS_PRELMODE ?= 1 # default serial link preload | ||
CHS_BINARY ?= | ||
CHS_BINARY ?= | ||
CHS_IMAGE ?= | ||
|
||
# Safety Island | ||
|
@@ -52,8 +52,8 @@ SECD_BINARY ?= | |
SECD_BOOTMODE ?= | ||
|
||
# PULP cluster | ||
PULPCL_ROOT ?= $(shell $(BENDER) path pulp_cluster) | ||
PULPCL_BINARY ?= | ||
PULPD_ROOT ?= $(shell $(BENDER) path pulp_cluster) | ||
PULPD_BINARY ?= | ||
|
||
# Spatz cluster | ||
SPATZCL_ROOT ?= $(shell $(BENDER) path spatz) | ||
|
@@ -90,7 +90,7 @@ endif | |
###################### | ||
|
||
CAR_NONFREE_REMOTE ?= [email protected]:carfield/carfield-nonfree.git | ||
CAR_NONFREE_COMMIT ?= df886d3eea670dffdbe4d632a64c7b123b9fac76 | ||
CAR_NONFREE_COMMIT ?= a51afe8cd67a47b83df79e1d0f53d5a8cf22371d | ||
|
||
## Clone the non-free verification IP for the Carfield TB | ||
car-nonfree-init: | ||
|
@@ -191,7 +191,7 @@ car-hw-sim: | |
set SECD_BINARY $(SECD_BINARY); \ | ||
set SAFED_BOOTMODE $(SAFED_BOOTMODE); \ | ||
set SAFED_BINARY $(SAFED_BINARY); \ | ||
set PULPCL_BINARY $(PULPCL_BINARY); \ | ||
set PULPD_BINARY $(PULPD_BINARY); \ | ||
set SPATZCL_BINARY $(SPATZCL_BINARY); \ | ||
set VOPTARGS $(VOPTARGS); \ | ||
set TESTBENCH $(TBENCH); \ | ||
|
@@ -259,20 +259,30 @@ car-sw-build: chs-sw-build car-sw-all | |
|
||
.PHONY: car-init | ||
## Shortcut to initialize carfield with all the targets described above. | ||
car-init: car-checkout car-hw-init car-sim-init safed-sw-init | ||
car-init: car-checkout car-hw-init car-sim-init safed-sw-init pulpd-sw-init | ||
|
||
# Initialize and build Safety Island SW | ||
.PHONY: safed-sw-init | ||
# Initialize and build SW for the Islands | ||
.PHONY: safed-sw-init pulpd-sw-init | ||
# Safety Island | ||
safed-sw-init: $(SAFED_ROOT) $(SAFED_SW_DIR)/pulp-runtime $(SAFED_SW_DIR)/pulp-freertos | ||
|
||
$(SAFED_SW_DIR)/pulp-runtime: $(SAFED_ROOT) | ||
$(MAKE) -C $(SAFED_ROOT) pulp-runtime | ||
$(SAFED_SW_DIR)/pulp-freertos: $(SAFED_ROOT) | ||
$(MAKE) -C $(SAFED_ROOT) pulp-freertos | ||
|
||
# PULP Cluster | ||
pulpd-sw-init: $(PULPD_ROOT) $(PULPD_ROOT)/pulp-runtime $(PULPD_ROOT)/regression-tests | ||
|
||
$(PULPD_ROOT)/pulp-runtime: $(PULPD_ROOT) | ||
$(MAKE) -C $(PULPD_ROOT) pulp-runtime | ||
$(PULPD_ROOT)/regression-tests: $(PULPD_ROOT) | ||
$(MAKE) -C $(PULPD_ROOT) regression-tests | ||
|
||
# For independent boot of an island, we allow to compile the binary standalone. | ||
.PHONY: safed-sw-build | ||
safed-sw-build: safed-sw-init safed-sw-all | ||
.PHONY: safed-sw-build pulpd-sw-build | ||
safed-sw-build: safed-sw-all | ||
pulpd-sw-build: pulpd-sw-all | ||
|
||
############ | ||
# RTL LINT # | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.