olá Posted November 1, 2017 Report Share Posted November 1, 2017 Hey everybody, I'm still new with SystemC. So I'm referring to the first steps: Using Ubuntu I had now problems installing SystemC and getting succesful regression tests. However, my regression tests in Windows with VS2015 and VS2017 ended with 4% or 0%. I've used Cygwin to build the library. Do you have any idea which could have caused the low percentage? What would happen, if I use systemc in this case? Thank you very much for you answer in advance. Quote Link to comment Share on other sites More sharing options...
Philipp A Hartmann Posted November 1, 2017 Report Share Posted November 1, 2017 When you use MSVC 2015/2017, did you make sure to use SystemC 2.3.2? Earlier SystemC versions did not support such recent versions of MSVC. When you say "regression tests", do you mean the SystemC regression test suite? If so, please check the accompanying README_windows.txt for any steps you might have missed. If this still doesn't help, please post some more details on what exact errors you see. Greetings from Duisburg, Philipp Quote Link to comment Share on other sites More sharing options...
AmeyaVS Posted November 1, 2017 Report Share Posted November 1, 2017 Hello @olá, Currently the library built with Cygwin is not directly compatible with the Visual Studio setup. You can build the SystemC library using CMake and Visual Studio Compiler like this: // extract the systemc library //////////////////////////////////////// // vvvvvvvvvvv Important vvvvvvvvvvvvvvvv // open the Visual Studio Command Prompt. // Ensure you have CMake installed and in the PATH environment variable. ///////////////////////////////////////// // cd to systemc library extracted location. // Create a build directory mkdir build // Change into the build directory. cd build // Run CMake configuration // Check the CMake documentation for the Correct Visual Studio Generator Value. cmake -G "Visual Studio 14 2015 Win64" .. // Run the build cmake --build . --config Debug // Open the SystemCLanguage.sln file in the Visual Studio chosen previously. Note: In-case you are completely developing in Cygwin environment you can follow the same steps to build SystemC library and run the regression suite as in a Linux environment. You need to enable pthreads in the SystemC configuration, since the QuickThreads implementation is currently broken in Cygwin 64-bit environment. Best Regards, Ameya Vikram Singh Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.