yosri ben salah Posted June 14, 2017 Report Posted June 14, 2017 (edited) Hi im pretty new to systemC, i want to use Risc_cpu provided with systemC 2.3.1 library to execute C code stored in text file for my project graduation, any response pls how can i do this thanks Edited June 14, 2017 by yosri ben salah Quote
Roman Popov Posted June 14, 2017 Report Posted June 14, 2017 If you are using CMake build, then just pass -DBUILD_EXAMPLES=ON and all bundled examples will be built. Including risc_cpu example. You can run examples using general CTest flow (check documentation on cmake website https://cmake.org/Wiki/CMake/Testing_With_CTest ) Quote
yosri ben salah Posted June 14, 2017 Author Report Posted June 14, 2017 my ystemC environnement is microsoft visual studio 2015 Quote
maehne Posted June 15, 2017 Report Posted June 15, 2017 CMake is also able to generate a Visual Studio 2015 project. However, the risc_cpu example is maybe not a good starting point for what you want to achieve. It lacks a full C toolchain for compiling code into its machine code. Only a basic assembler is provided. Have a look to, e.g., SoCLib for a platform for modeling microprocessor systems using SystemC. Quote
katang Posted July 13, 2017 Report Posted July 13, 2017 Concerning SoCLib, could you please offer a good tutorial (I mean other than the two provided under this title)? Even I was not able to find out what that library is exactly good for. It is OK, that some files were touched last time nearly 10 years ago, that the documentation is half French/half English, usually the /doc subdirs are empty, the source files do not contain any useful comments, etc. Even with a good starting point, it is a kind of reverse engineering, without it is hopeless. To use some IPs with some of my new own IPs, it is mission impossible. 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.