-
Notifications
You must be signed in to change notification settings - Fork 146
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
Internal Compiler Error when quoting a character value. #673
Comments
Thank you for reporting this. I apologize that you encountered the error. To determine the cause, we need more information. Are you able to provide the source code that you compiled, such as Testbench.bsv and any files that it imports? Also, is there more to the error message? After "quoting a character value", I would expect to see a number. |
Hi, here is the source code I tried to compile. And there is no more error message. package MultTb;
endmodule: mkTestbench |
Can you use the “attach files” option to upload the file? Because I’m not sure if the text is displaying correctly. For example, I notice an extra quote (“) at the end of the $display arguments? |
You also have not provided the source for the However, I believe the error is because you are using a unicode character in a string somewhere, such as in a
This is something that we overlooked when we recently added Unicode support. We will look at it in the coming weeks, but in the meantime, characters with encodings above 255 should be avoided in strings. The cause of the problem is here (line 128 in The error message is expected to print the encoding number that was found, but it is not being printed because of missing parentheses in line 128 of |
After compiling with the command
bsc -sim -g mkTestbench -u Testbench.bsv
,I wanted to link with the command
bsc -sim -e mkTestbench -o myFirstModel
,and then I get an error message.
Error message: Internal Bluespec Compiler Error:
Please report this failure to the BSC developers, by opening a ticket
in the issue database: https://github.com/B-Lang-org/bsc/issues
The following internal error message should be included in your
correspondence along with any other relevant details:
Bluespec Compiler, version 2023.07-7-g527eaa0b (build 527eaa0)
quoting a character value
The text was updated successfully, but these errors were encountered: