Skip to content

Commit

Permalink
Small Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
IveanEx committed Dec 2, 2024
1 parent 8c1cc3a commit 62ada06
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,4 @@ hemaia_system_vcs_preparation: # In SNAX Docker

hemaia_system_vcs: # In ESAT Server
$(MAKE) -C ./target/sim_chip bin/occamy_chip.vcs
# How to start the execution of the simulation: cd ./target/sim_chip/bin; ./occamy_chip.vcs -gui -R -fgp=num_threads:8
14 changes: 7 additions & 7 deletions target/rtl/cfg/hemaia_chiplet.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
remote_quadrants: [],
// Multi-chip configuration
hemaia_multichip: {
chip_id_width: 8,
router_to_soc_iw: 6,
soc_to_router_iw: 4,
chip_id_width: 8, // Not verified, should never be changed
router_to_soc_iw: 5, // soc_to_router_iw + clog2(chips)
soc_to_router_iw: 4, // Not beneficial for iw > 6
single_chip: false,
single_chip_id: 0,
testbench_cfg: {
// Emulate a four-chips configuration
single_chip_id: 0, // Only used for single chip simulation
testbench_cfg: { // The total number of homogeneous chips (x * y) on the virtual interposer
// Emulate a two-chips configuration
upper_left_coordinate: [0, 0],
lower_right_coordinate: [1, 1]
lower_right_coordinate: [1, 0]
}
}
addr_width: 48,
Expand Down
4 changes: 2 additions & 2 deletions target/sim_chip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ CFG = $(TARGET_RTL)/cfg/lru.hjson

OCCAMYGEN ?= $(ROOT)/util/occamygen/occamygen.py

$(CFG):
$(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"; \
Expand All @@ -179,7 +179,7 @@ $(CFG):
echo "Overriding config file with: $(CFG_OVERRIDE)"; \
cp $(CFG_OVERRIDE) $@; \
fi

FORCE:

testharness/testharness.sv: testharness/testharness.sv.tpl $(CFG)
@echo "[OCCAMYGEN] Generate $@"
Expand Down

0 comments on commit 62ada06

Please sign in to comment.