-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile Exception while using "make emu EMU_THREADS=8 MFC=1 CONFIG=KunminghuV2Config", #2989
Comments
Thank you for your report. This issue has been reproduced. We will fix it latter. |
Sorry, this is not a bug.
You could:
|
Thank you for your reply. Please note that in the XiangShan Makefile: IMAGE ?= temp
CONFIG ?= DefaultConfig
NUM_CORES ?= 1
MFC ?= 1 The default configuration is DefaultConfig. When I run the command “make emu EMU_THREADS=8 MFC=1”, it initially generates the Verilog code for DefaultConfig, which lacks CHI features. As a result, the emulator uses the Verilog code for DefaultConfig instead of KunminghuV2Config. And, if I first generate the Verilog code for KunminghuV2Config using “make verilog EMU_THREADS=8 MFC=1 CONFIG=KunminghuV2Config”, this action will be overridden when I subsequently execute “make emu EMU_THREADS=8 MFC=1”. |
My previous response might have caused some misunderstanding. Please allow me to clarify: You could run either At present, our emu infrastructure are not ready for CHI, which means you cannot build emu for XiangShan with CHI ( |
“At present, our emu infrastructure are not ready for CHI, which means you cannot build emu for XiangShan with CHI (KunminghuV2Config) by any means. The only workable output of KunminghuV2Config is verilog.” Got it. |
Before start
PLEASE MAKE SURE you have done these:
Describe the question
A clear and concise description of your question.
Compile Exception while using "make emu EMU_THREADS=8 MFC=1 CONFIG=KunminghuV2Config", the error message is:
1 targets failed
xiangshan[chisel].test.runMain subprocess failed
make: *** [Makefile:162: build/rtl/SimTop.v] Error 1
Environment
Operating System: Ubuntu 20.04
gcc version: gcc version 11.2.0 (Ubuntu 11.2.0-19ubuntu1)
mill version: Mill Build Tool version 0.11.1 Java version: 11.0.22, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "Linux", version: 5.15.146.1-microsoft-standard-WSL2, arch: amd64
The commit log:
commit 5961467 (HEAD -> master, origin/master, origin/HEAD)
Author: Xiaokun-Pei peixiaokun23z@ict.ac.cn
Date: Wed May 15 14:23:12 2024 +0800
HPTW, RVH: add the flush function (#2982)
The text was updated successfully, but these errors were encountered: