hw: Add possibility of removing CDC cut between SoC and Cluster#80
hw: Add possibility of removing CDC cut between SoC and Cluster#80Lore0599 merged 4 commits intopulp-platform:develfrom
Conversation
Xeratec
left a comment
There was a problem hiding this comment.
As far as I can tell, the EnAxiCdc options has no effect on what clock source is used on the cluster. In this case, it is possible that there is no CDC and the cluster is running at a different frequency than the host. Would this be a problem?
25bb89a to
df8f8c1
Compare
|
@Xeratec Yes, the parameter is used only to select whether you want the CDC or not. However, the clock signal in the RTL is still different, which means that when building the SoC top level, you must ensure that the cluster clock runs at the same frequency as the SoC clock. If this is not ensured, the system will not work. |
You could also use the |
|
Since I want to ensure that the user configures the cluster adapter correctly, I introduced the AXI CDC enable flag into @fischeti @Xeratec what do you think? If this looks good, we can merge the PR. |
Xeratec
left a comment
There was a problem hiding this comment.
Looks good, I just have one comment about the GCC version. Feel free to proceed as you think is best and merge afterwards.
| Black=\033[0m | ||
| Green=\033[1;32m | ||
| help: ## Show an overview of all Makefile targets. | ||
| help h: ## Show an overview of all Makefile targets. |
iis-env.sh
Outdated
| export VLIB="questa-2022.3 vlib" | ||
| export BASE_PYTHON=/usr/local/anaconda3/bin/python3.11 | ||
| export CHS_SW_GCC_BINROOT=/usr/pack/riscv-1.0-kgf/riscv64-gcc-12.2.0/bin | ||
| export CHS_SW_32_GCC_BINROOT=/usr/pack/riscv-1.0-kgf/default/bin |
There was a problem hiding this comment.
Are you sure about this change? I would avoid using the default version but explicitly specify the version. Before we used riscv64-gcc-12.2.0, now it is pulp-gcc-2.5.0 (default).
Cluster Adapter CDC
This PR introduces the possibility of enabling or disabling the CDC between the SoC and the cluster domains.
Additionally, when the CDC is enabled, it adjusts the parameter for the input FIFO depth to avoid bandwidth limitations between the two domains.