Open yoyo115956 opened 4 months ago
What version of chipyard are you using?
I was unable to reproduce this
I'm really glad to see your reply!
I'm using 1.7.1 with make CONFIG=SmallBoomConfig
and it's working fine, and I understand that the docs state that I need to use chipyard 1.8.0 or later. After installing all day yesterday, I've been backtracking from 1.11.0 to 1.10.0, 1.9.0 to 1.8.0, and I've always had problems. The problem with installing the environment within the allowed version range is that the maven package cannot be found or something like https://github.com/ucb-bar/constellation/issues/69 or some code changes cause some problems.
My steps are based on this site, from which I know that rolling back to 1.7.1 is less problematic, and actually running make CONFIG=SmallBoomConfig is working properly, but make SUB_PROJECT=constellation CONFIG=TestConfig00 isn't, because it is without the .Generator file. https://blog.csdn.net/diamond_biu/article/details/123035685?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522171931604316800225583835%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=171931604316800225583835&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~first_rank_ecpm_v1~times_rank-14-123035685-null-null.142^v100^pc_search_result_base7&utm_term=chipyard&spm=1018.2226.3001.4187
The detailed code is as follows:
# Download the template and setup environment
git clone https://github.com/ucb-bar/chipyard.git
cd chipyard
./scripts/init-submodules-no-riscv-tools.sh
# build the toolchain
./scripts/build-toolchains.sh riscv-tools
# add RISCV to env, update PATH and LD_LIBRARY_PATH env vars
# note: env.sh generated by build-toolchains.sh
source env.sh
cd sims/verilator
make CONFIG=SmallBoomConfig # this one works fine
make SUB_PROJECT=constellation CONFIG=TestConfig00 # This one creates the problem above
Please use Chipyard 1.11.0, or the latest main. I cannot maintain support for older versions.
If you have the time to create a video tutorial on the proper installation of Constellation based on Chipyard, that would be very kind and generous. These tools are very insteresing and valuable. But it has been challenging to find clear and suitable instructions online, and such a video would greatly assist users start up easier.
May I ask how to get the .Generator here, it reports this error. The procedure is also based on the tutorial.