Skip to content

Commit

Permalink
[HW]: Integration of IPs with bumping to relative dependencies
Browse files Browse the repository at this point in the history
  - Update IPs dep to include LEF, LIB, DB, GDS
  - Update Chehsire to already include the built bootrom
  • Loading branch information
Scheremo authored and Lore0599 committed Dec 4, 2024
1 parent 85edc54 commit 87d4ca3
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 25 deletions.
14 changes: 7 additions & 7 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: 586cb0225be5c57f5ffcf67bd490763efd9b4d24
revision: 1f8c3eac515ac09dec98f89f67df6954dd89e17a
version: null
source:
Git: https://github.com/pulp-platform/cheshire.git
Expand Down Expand Up @@ -150,7 +150,7 @@ packages:
- fpnew
- tech_cells_generic
ethcluster:
revision: 49adaab00aa652adf8601e296b13dedc3f3b6197
revision: 8bc8ce1e3c63f4120c7055710f9769a9642c64a7
version: null
source:
Git: git@gitlab.tue.nl:es/convolve-private/ethcluster.git
Expand Down Expand Up @@ -202,16 +202,16 @@ packages:
- common_cells
- register_interface
kulcluster:
revision: 6da824eb38f6db629cdbca0d7727fec8be545d6b
revision: 6ecccdbe71edbbde6a5bf149938065369616c96e
version: null
source:
Git: git@gitlab.tue.nl:es/convolve-private/kulcluster.git
dependencies: []
memory_island:
revision: 64828cb7a9ccc1f1656ec92d06129072f445c319
revision: 68c31664bfdba02b74bbaf73889fb306e99fe30b
version: null
source:
Git: https://github.com/pulp-platform/memory_island.git
Git: https://github.com/Lore0599/memory_island
dependencies:
- axi
- cluster_interconnect
Expand Down Expand Up @@ -291,13 +291,13 @@ packages:
dependencies:
- common_verification
tuddcim:
revision: 5254a92569a24d1eac28cb8093ea2a8f81a855d5
revision: 45bf36fc1649f8adcb43bb335ca193e6c9f7e566
version: null
source:
Git: git@gitlab.tue.nl:es/convolve-private/tuddcim.git
dependencies: []
tuedcim:
revision: 8b3ec32ffe3487a59b45fa49391e8a36196a64c9
revision: c7acd066b7e5ed60277078c6ce8c0b31f665e486
version: null
source:
Git: git@gitlab.tue.nl:es/convolve-private/tuedcim.git
Expand Down
12 changes: 6 additions & 6 deletions Bender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ 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: 586cb0225be5c57f5ffcf67bd490763efd9b4d24}
cheshire: { git: "https://github.com/pulp-platform/cheshire.git", rev: 1f8c3eac515ac09dec98f89f67df6954dd89e17a}
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}
memory_island: { git: "https://github.com/pulp-platform/memory_island.git", rev: 64828cb7a9ccc1f1656ec92d06129072f445c319 } # main branch
memory_island: { git: "https://github.com/Lore0599/memory_island", rev: main } # main branch
apb: { git: "https://github.com/pulp-platform/apb.git", version: 0.2.4 }
hyperbus: { git: "https://github.com/pulp-platform/hyperbus.git", rev: f039e601c8b6590181734e6d26ff8b77aa380412 } # branch: chi/add_fsm_with_Tcsh
tech_cells_generic: { git: "https://github.com/pulp-platform/tech_cells_generic.git", version: 0.2.12 }
TUEDCIM: { git: "git@gitlab.tue.nl:es/convolve-private/tuedcim.git", rev: 10102024}
TUEDCIM: { git: "git@gitlab.tue.nl:es/convolve-private/tuedcim.git", rev: 22112024-2}
TUEMEGA: { git: "git@gitlab.tue.nl:es/convolve-private/tuemega.git", rev: 11102024}
TUDDCIM: { git: "git@gitlab.tue.nl:es/convolve-private/tuddcim.git", rev: 11102024-6}
KULCLUSTER: { git: "git@gitlab.tue.nl:es/convolve-private/kulcluster.git", rev: 17102024}
ETHCluster: { git: "git@gitlab.tue.nl:es/convolve-private/ethcluster.git", rev: 17102024-4}
TUDDCIM: { git: "git@gitlab.tue.nl:es/convolve-private/tuddcim.git", rev: 28112024-3}
KULCLUSTER: { git: "git@gitlab.tue.nl:es/convolve-private/kulcluster.git", rev: 29112024}
ETHCluster: { git: "git@gitlab.tue.nl:es/convolve-private/ethcluster.git", rev: 31102024-3}

export_include_dirs:
- hw/include
Expand Down
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ pip install -r requirements.txt
bender checkout

```
If you have all needed dependencies and you want to build the entire Chimera SoC, both RTL and SW, just run

``` shell
make chim-all
```
If you want to build the system step by step, all the necessary make targets are listed below:

To build Cheshire and Snitch run
``` shell
Expand All @@ -53,10 +47,6 @@ To regenerate software tests and libraries:

This step must be executed before building the hardware to ensure the correct generation of the bootrom.

To build the host device bootrom:

`make chim-bootrom-init`

To build Chehsire simulation files for ModelSim:

`make chs-sim-all`
Expand Down
1 change: 1 addition & 0 deletions hw/convolve/chimera_cluster_ethcluster.sv
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ module chimera_cluster_ethcluster

.hart_base_id_i (hart_base_id_i),
.cluster_base_addr_i(cluster_base_addr_i),
.boot_addr_i ({16'h0, boot_addr_i}),

.narrow_in_req_i (clu_axi_adapter_slv_req),
.narrow_in_resp_o (clu_axi_adapter_slv_resp),
Expand Down
4 changes: 2 additions & 2 deletions target/sim/sim.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ CHIM_VLOG_ARGS += +define+HYP0_PRELOAD_MEM_FILE=\"$(HYP0_PRELOAD_MEM_FILE)\"
# an absolute path produce inter-CI-runner file accesses
CHIM_VLOG_ARGS += +define+PATH_TO_HYP_SDF=\"../models/s27ks0641/s27ks0641.sdf\"


# Generate vsim compilation script
$(CHIM_SIM_DIR)/vsim/compile.tcl: chs-hw-init snitch-hw-init
@bender script vsim $(SIM_TARGS) --vlog-arg="$(CHIM_VLOG_ARGS)" > $@
@bender script vsim $(SIM_TARGS) $(EXT_TARGS) --vlog-arg="$(CHIM_VLOG_ARGS)" > $@
echo 'vlog "$(realpath $(CHS_ROOT))/target/sim/src/elfloader.cpp" -ccflags "-std=c++11"' >> $@

# Clean
Expand All @@ -45,5 +46,4 @@ chim-sim-clean:
@rm -rf $(CHIM_SIM_DIR)/vsim/transcript
@rm -f $(CHIM_SIM_DIR)/vsim/compile.tcl


endif # chim_sim_mk

0 comments on commit 87d4ca3

Please sign in to comment.