-
Notifications
You must be signed in to change notification settings - Fork 40
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
compiling code with updated codes #55
Comments
Hi, there was a mismatched SpinalHDL version. So, main branch of NaxRiscv should have proper ext/SpinalHDL version now. |
Thank you so much :) I did new git clone of whole project recursively run litex of Nax core with L2 core
it throws following below errors. when i am compiling
Any solution to this problem ? |
This look like a litex issue ? NaxRiscv doesn't explicitly use any FDPE. Did this worked by the past for you ? |
I dont know where the issue is either with litex or with Nax core ( with L2 cache).
Yes it works past for me with litex (with old Nax (without l2 cache ) but now it doesn't compile with L2 cache when i compile only with alone
but it works
|
Ahhhhhhhhhh i see |
Still didnot solve my problem i get following errors while compiling in litex with
|
full output of console is here
|
And you did update litex ? Also, did you deleted the litex's naxriscv python data generated verilog ? |
the pr was just merged in main litex |
yes |
Can you check NaxRiscvLitex_c93d54487019bd02d4c497a6f16e6009.v ? the name of the toplevle clock, if that's clk or if that's socClk. Should be socClk. of module 'NaxRiscvLitex_c93d54487019bd02d4c497a6f16e6009' declared at '/home/hsubedi/instruction_test_bed/litex/litex-install/pythondata-cpu-naxriscv/pythondata_cpu_naxriscv/verilog/NaxRiscvLitex_c93d54487019bd02d4c497a6f16e6009.v:7', named port connection 'clk' |
yes now it is working fine in Litex but there is some probelem in standalone NAX Core
The compiler cannot find the config.h file, which is included in decode.h.
|
full error is here
|
Just tested it on a fresh git clone, worked for me did you compiled spike ?
|
Just did : git clone https://github.com/SpinalHDL/NaxRiscv.git --recursive
sbt "runMain naxriscv.Gen64"
cd NaxRiscv
export NAXRISCV=${PWD}
(cd ext/NaxSoftware && ./init.sh)
cd $NAXRISCV/ext/riscv-isa-sim
mkdir build
cd build
../configure --prefix=$RISCV --enable-commitlog --without-boost --without-boost-asio --without-boost-regex
make -j$(nproc)
cd $NAXRISCV/src/test/cpp/naxriscv
make compile
./testsGen.py
make test-fast Works for me. |
Dear charles,
How you recommend me to compile the updated code with
like which branch to stay in spinal HDL and which branch to stay in main one ?
I get following errors
Error while compiling new nax in litex:
Another error while compiling Updated nax in litex is following
Updated
Errors are such
The text was updated successfully, but these errors were encountered: