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
to allow running gem5 as a system C model, but sort of in reverse and at a
finer granularity, ie each object as its own thing and not system C as a
large black box.

One thing I was wondering is what sort of complications might make that not
work out. So far, I can imagine how to adapt the system C model into gem5
without too much fuss, but there's still a lot of pages left in the book
I'm reading and I haven't touched the actual spec yet. What was the
thinking behind putting gem5 into system C and not doing something like
what I'm thinking of?

Another thing I'm wondering about is whether it would make sense to try to
replace gem5's port protocol with the one in system C. Obviously that would
involve touching a lot of code, but I was surprised at how similar the
system C port setup and the gem5 one are. It might be nice generally to use
a standardized mechanism that people might already be familiar with and
have an implementation against. That might also obviate the
bridging/adapter ports that are in the current system C/gem5 integration
mechanism. Thoughts?

Gabe
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to