Jump to content

Recommended Posts

Hi,

I am new to systemc. I am writing systemc simulator for windows.

I need the user to configure and read registers and view statistics. i want it to do it using GUI (online) and not using files.

is there any written example for that? Are there any recommended tools?

tx,

Smadar.

Share this post


Link to post
Share on other sites

As much as i understand the problem with windows mfc is that it has its own main() and systemC must used its own sc_main() that calls sc_start().

How can you modify systemC to work like that?

The solution could be to create 2 separate processes that communicate on a socket and systemC will check every cycle if there is something on the socket.

Share this post


Link to post
Share on other sites

Entry point is the first problem but I think it is possible to be solved :D .Furthermore, if you want to create separate processes, you still consider windows programming (it provides a real multitask environment). I learn from SystemC. It looks like having it's own scheduler for multitask processing(similar to MicroC/OS). As i knew, there was a thought from OSCI for replacing such scheduler by using OS threads. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×