-
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
error: ScTool internal error : Record owner is not variable #80
Comments
In the project, there is Generally, I would recommend to rid of |
Thank you very much for the quick reply and the time you spent. |
There is synthesizable subset of SystemC which is supported for hardware synthesis. Custom data types are generally supported. Helper functions are also supported in most cases. |
Thank you for the resources, they are very helpful. |
That needs to be checked. Normally you run a compiler periodically for a new portion of code to ensure the code syntaxis is correct. As soon as you come with large amount of code it is difficult to say how many fixes it requires. General recommendation is to think of which HW cells are generated for SystemC statements you are writing. Many places can be simplified and rewritten more efficiently from HW viewpoint. |
I understand, I will definitely take that into account and do it that way, if necessary I will get in touch again. |
I am currently trying to synthesize each module one by one, now I got this error: --------------------------------------------------------------
Intel Compiler for SystemC (ICSC) version 1.6.12, Feb 10,2024
--------------------------------------------------------------
Top module is ADDER_SUBTRACTOR
Elaboration database created
error: ScTool internal error : SValue::getRecord() incorrect type
sata_sctool: /home/robert/Downloads/sc_tools/icsc/sc_tool/lib/sc_tool/cfg/SValue.cpp:480: sc::SRecord& sc::SValue::getRecord() const: Assertion `false' failed. What does this error mean, how can I fix it? |
Could you provide updated Cmake with svc_target for this target? I see two instances of ADDER_SUBTRACTOR module. |
I just added a new adder subtractor instance in the system module. |
Although I have just pushed a new commit, I am still referring to this: |
That not compiled at my side: Please add 2nd compilation target in CMakeLIst.txt with another main.cpp or ifdef in the current one. Try that it is compiled and passed stage BUILD in ICSC at your side. I wont do any changes in your code. |
Thank you for your patience. |
The problem was in For Another thing, there is almost no reason to use any pointers. Instead of SC object pointers array it needs to use |
Thank you so much, that was so helpful! |
First of all, I want to thank you very much for this great project and all the hard work that has gone into it.
I am currently pursuing my Bachelor's degree in Computer Science and it's been incredibly helpful for my studies.
Since this is my first time using SystemC, I apologize in advance for any poorly written code.
Description:
When running the following command:
I encountered this error:
The issue occurs during the synthesis process.
You can find my repository here: https://github.com/libalis/bachelor.
Additional Information:
I would greatly appreciate any help or insights regarding this issue.
Thank you again for all the effort you’ve put into this amazing project!
The text was updated successfully, but these errors were encountered: