Re: [gem5-dev] running system C models as gem5 SimObjects

2017-08-02 Thread Gabe Black
I was wondering, are there any good system C models which can be used as test cases to develop a system C kernel against? Ideally it would be something simple that just exercised the various facilities models expect without the added complexity of actually modeling anything. That might be a good

Re: [gem5-dev] running system C models as gem5 SimObjects

2017-08-02 Thread Matthias Jung
Hey, > Am 27.07.2017 um 09:14 schrieb Andreas Hansson : > > Overall I strongly support aligning gem5 and SystemC further. The best > outcome, in my view, would be if gem5 was transitioned to work on the > SystemC kernel, allowing interoperability and more elaborate event

Re: [gem5-dev] running system C models as gem5 SimObjects

2017-07-27 Thread Gabe Black
I worked on a project with gem5 a while ago where I added context switching to create something pretty similar to what I understand SC_THREADs to be using a standard library call (I think) that I forget the name of, so that part isn't that scary and hopefully wouldn't be too heavy weight. The book

Re: [gem5-dev] running system C models as gem5 SimObjects

2017-07-27 Thread Andreas Hansson
Hi Gabe, The similarity between TLM2 and gem5 is not accidental. We did a lot of work in 2011 and 2012 to make it that way. In fact, we even created a version of the gem5 ports that use the 4-phase TLM2 non-blocking protocol, but ended up never pushing it as it has a fairly sizeable negative

[gem5-dev] running system C models as gem5 SimObjects

2017-07-25 Thread Gabe Black
Hi folks. As a part of some work I'm doing, I've been considering what it would take to run system C models inside gem5 as SimObjects. I'm working through some reading material I have about system C, but I haven't actually tried writing any of it yet. This seems similar to the work that was done