-
Notifications
You must be signed in to change notification settings - Fork 27
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
FST tracer produces empty file #61
Comments
Hi Derek, can you briefly describe the environment you are working in (OS, compiler, etc.)? |
Sure, I'm on Fedora 41 and compiled the project using gcc 14.2.1. Both SystemC (2.3.4) itself and SCC is compiled with C++17. |
I cannot verify this. I used a docker container:
works well and produces a valid FST file. Even when moving fmt to version 11.0.1 and spdlog to 1.14 (using the changes from #60) the FST file gets created properly. |
I did some tinkering and when enabling conan, it did also work for me. However, as soon as I link my system-installed SystemC instead of the one built by conan, it doesn't work anymore. |
The problem is a bug in the SystemC cmake setup (accellera-official/systemc#24). You need to add |
I see, thanks for pointing that out! Now it works for me. Maybe this is something worth noting in the README, as this is a default setting set by SystemC? Other users might stumble upon this too. |
Hello,
I want to confirm that I'm not using the tool incorrectly. When I run one of the examples (e.g., simple_system with the -t flag) that instantiates a tracer, I'm only getting empty fst traces (they are all exactly 119B in size, no matter which example I run). The ftr tracing part seems to be working fine.
However, when I switch the tracing format to SC_VCD, a valid VCD file is generated that can be opened by the regular trace file viewer. Am I doing something wrong?
I tested both the 2024.07 version and also the current development version. My SystemC version is 2.3.4.
The text was updated successfully, but these errors were encountered: