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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...