peter_cz Posted December 21, 2022 Report Posted December 21, 2022 Is there a way to setup and configure SystemC for development with SystemC, including demos, examples and docs? Quote
AmeyaVS Posted December 21, 2022 Report Posted December 21, 2022 Hello @peter_cz, Yes it is possible to configure an IDE suited for SystemC development. It would be better if you can share your environment and your tools preference, so that others who have the know how can share their experience/setup. Regards, Ameya Vikram Singh Quote
peter_cz Posted December 21, 2022 Author Report Posted December 21, 2022 Since I am new to SystemC I would prefer to have Visual Studio Code, and windows environment or WSL. Is there setup for this or what other preferences are needed? Quote
AmeyaVS Posted December 21, 2022 Report Posted December 21, 2022 You could definitely use VSCode on windows with WSL. You'll need to install C/C++ Extension, along with CMake Extension. You'll need to refer to usual setup requirements for a CMake, C/C++ project using WSL. I don't have a ready reference. But, this should get you going on setting up a basic environment: https://code.visualstudio.com/docs/cpp/config-wsl Regards, Ameya Vikram Singh Quote
peter_cz Posted December 21, 2022 Author Report Posted December 21, 2022 Hmmm. And SystemC? Examples, Demos, can interoperate with MATLAB, pSpice, or CUDA? How to run SystemC? Quote
Eyck Posted December 22, 2022 Report Posted December 22, 2022 You either use a commercial SystemC simulator which comes with plenty examples, demos and alike. Or you use the reference implementation of SystemC from https://systemc.org/resources/standards/ or the github repo (https://github.com/accellera-official/systemc) which also comes with examples how to write SystemC models (https://github.com/accellera-official/systemc/tree/master/examples). Also Doulos has a rich trainigns programm as well as few free tutorials (https://doulos.com/knowhow/systemc/systemc-tutorial/, https://doulos.com/knowhow/systemc/tlm-20/). Reading in between the lines of your question I'd suggest the first option along with the Dolous training. Otherwise you need to get familiar with C++ programming principles since the reference implementation is just a library for C++ and you basically do write C++ programs. Quote
peter_cz Posted December 22, 2022 Author Report Posted December 22, 2022 Thanks. Is there any blogpost which go thru setting up and use of reference implementation? is there a list of commercial SystemC simulator? Quote
Eyck Posted January 29, 2023 Report Posted January 29, 2023 AFAIK there is no actual blog post or tutorial on setting uo VSCode with the reference implementation An option to start with SystemC would be to use a cmake based SystemC project. I created on some time ago, it can be found at https://github.com/Minres/SystemC-Quickstart Then you might import this project into VSCode as described e.g. her: https://www.pragmaticlinux.com/2021/07/import-a-cmake-project-into-visual-studio-code/ I'm not aware a a list of commercial SystemC simulators, you might have to use a search engine of your choice.... Quote
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.