Igor Plastov Posted April 26, 2021 Report Share Posted April 26, 2021 Hello, I am beginner I had developped model of application in terms of SystemC. Now I am trying to understand workflow from model to software implementation. So, my qustion to community Is there some formal way to make transformation of the SystemC model code to the clean C++ code for desktop console application? Best regards, Igor Quote Link to comment Share on other sites More sharing options...
David Black Posted April 26, 2021 Report Share Posted April 26, 2021 That's an odd question since: 1. SystemC is software (C++ actually). 2. SystemC is used to model software running on hardware. So, most folks would model the hardware and use the software to validate the use cases. The next step would be to implement the hardware and then run the software on the real hardware. Some of the software used in a SystemC model would possibly be transformed into hardware (e.g., using an HLS synthesis tool such as Cadence Stratus, Siemens EDA's Catapult or Xilinx Vitis_HLS) or conventionally with RTL. Where is the software you ask? It depends on your approach to the modeling. 1. In some cases, it is represented by code inside a thread that uses calls to access TLM. In that case, the calls would need to be replaced with direct hardware access (e.g., with memory mapped accesses using a pointer). 2. In more traditional situations, the software would have been cross-compiled and run on an ISS wrapped into the SystemC model. Some companies even sell these. Quote Link to comment Share on other sites More sharing options...
Igor Plastov Posted April 27, 2021 Author Report Share Posted April 27, 2021 Thank you, David! IMHO due to abstract nature of SystemC, handy implemented parallelism and signals, it could be used for simulation of software applications and systems of software applications on feasibility study. In current moment I am looking a bridge for transition from feasibility study to a SW development phase. Something, which could work like HLS, but on the output it will give (with some limitations) a C++ code where SC_METHODs of a model are represented as threads, signals as a glib event, Qt events or D-Bus signals and so on. 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.