Jump to content


  • Content Count

  • Joined

  • Last visited

  1. Thank you very much for this additional Information. Yes, I've used sca_tdf::sca_de::sca_in/out to connect a sc_signal from a TLM module to a AMS module! Its good to know that there is a dynamic timestep feature for immediate callbacks in the TDF modules.
  2. Alright, I managed to debug it a bit better and understand what was happening. Long story short, It was an issue the the TLM side way faster than the AMS model was calculating. And the issue I had was actually the TLM waiting and thus not progressing simulation. After fixing this the other issue was the time scales being off a bit.
  3. Hi, I've built an AMS system that works fine on a testbench. Now instead of driving the input signals for my system from the testbench I got a TLM processing model that should drive the inputs and read the outputs of the AMS system. In the user guide there is the discrete-event signals seem to be the element of choice. I connect my TLM based peripherals through the sc_core::sc_signal that gets written/read within a SC_THREAD thats being run periodically. For my AMS modules I use `sca_tdf::sca_de::sca_in/out`. Interconnecting these seems to be no problem. The compiler doesnt throw me
  4. Thank you very much again for your response and these additional links. I will take a look and think the resources will fill the gap in some of my understand around SystemC AMS. In the meantime I also managed to create a small TDF model that contains a simple discretized ODE. That gave me a good initial idea on how to approach using TDF for these purposes. I will play around with that knowledge and see where I land again 🙂
  5. Thank you for your answer, that is very elaborate and concise at the same time. Maybe I could have provided some more background on the purpose of these questions, as I planned to model some interaction between physical/electrical systems (usually represented by some ODE or system of ODEs) and some computing system (in SystemC TLM) -- maybe even a sensor abstraction layer. Being able to model some parts of the electro-physical system in System AMS and interconnect them with the TLM model. I thought through SystemC AMS I might be able to easily model the physical and electrical systems sim
  6. Thanks for your reply. This answer gives me a good idea what is possible with LSF and ELN then, everything that I can linearize I can have in such models. I might have some further questions. Is there a simulation performance hierarchy for the three modelling abstractions (TDF, LSF, ELN)? If I have some more modelling freedom in TDF, would models based on discretized non-linear differential equations be impacting the simulation performance? I see that there are plently of blocks that allow for s-Domain representations (for TDF and LSF), is the simulation performance similar on LSF an
  7. Hello I started learning SystemC AMS recently, and I am getting familiar with this as it reminds me of using Matlab/Simulink (aside from having to write out my signal flow graph in code, which is fine to me). I tried playing around with LSF models for now to get more familiar. I tried to build a model representing a duffing-oscillator (https://en.wikipedia.org/wiki/Duffing_equation). Now I have trouble building the x(t)^3 term of the differential equation. As far as I understood I cannot simply apply the C++-Multiplication to sca_signal nor can I synthesize a cube (or other operation
  • Create New...