-
Notifications
You must be signed in to change notification settings - Fork 55
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
Error while regenerating SSITH P2 verilog files #34
Comments
Dear Leonardo Alves, I'm able to do 'make compile' successfully in src_SSITH_P2 folder, to I attach here 'log_make.txt', a transcript of my run of 'make Could you please:
If you are still unable to resolve it, could you kindly make a Thanks, |
Hi Nikhil, I hope you are well. The log is similar to yours until line 544, then the error occurs ( |
Hello Leonardo Alves, I still do not have a clear diagnosis about why you're encountering My theory is you may be using a version of 'bsc' that was in transition. I have successfully run 'make compile' in src_SSITH_P2 with two (A) A much older version, an 'official release' that predates the open-source 'bsc':
(B) The latest open-source version of bsc:
based on 'git pull' and 'make all' of:
For this run, I also needed 'git pull' of this (see Note 2 below):
I attach a 'make compile' transcript for this build, for your reference. Note 1: I think you may be using a version between (A) and (B). The error message you see:
suggests to me that the parser is looking for two type parameters Note 2: If you are not using the latest 'bsc' as (B) above, perhaps
Please comment out the def of BSC_PATH of Line 99, This is what I did in (B) above, and it successfully compiles (transcript attached). Nikhil |
As you can see from the above mention, a type/constructor called Meta was recently added to BSC's libraries, and that shouldn't cause a conflict here but it is conflicting because of a bug in BSC. I confirm that the latest BSC fails in this way. The reason that @rsnikhil didn't observe this is because the BSC repo's main branch was renamed to |
Hi. This is the bsc version I have:
I updated Flute repository, but the same error happens. Then, I downloaded bsc again to:
I am having issues with bsc-contrib libraries:
Rebuilding bsc-contrib:
|
Looks like you installed bsc-contrib to two different places and at least one of them is "old"? |
Note that Flute does fail to compile with the latest BSC. You will need to revert to an older BSC -- commit 88d4eef7 is a reasonable point (or earlier). Regarding the error with the libraries: An old version of the contrib libraries seems to have been installed into |
Thanks for the help. I download and installed the bsc commit
Perhaps I should go to an old commit version? |
See #31 |
Thank you @jrtc27, @quark17 and @rsnikhil. The solution @quark17 proposed here B-Lang-org/bsc#329 solved the issue.
|
The bug in BSC that led to type errors about |
Hi, I hope you are well. I am facing the following error while regenerating the verilog files in the src_SSITH_P2 folder with
make compile
command:I also renegerated the verilog files in the
builds/RV64ACDIMSU_Flute_verilator
but I had no problems. Looks like it only happens for the SSITH folder.The text was updated successfully, but these errors were encountered: