smadarotem Posted December 24, 2012 Report Posted December 24, 2012 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. Quote
david.wcc Posted December 26, 2012 Report Posted December 26, 2012 I am studying how to modify SystemC to work under windows program with Visual Studio Express 2012. (you can download it from MS official website) However, Visual Studio Express 2012 didn't support MFC. Quote
smadarotem Posted December 26, 2012 Author Report Posted December 26, 2012 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. Quote
david.wcc Posted December 26, 2012 Report Posted December 26, 2012 Entry point is the first problem but I think it is possible to be solved .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. Quote
david.wcc Posted January 10, 2013 Report Posted January 10, 2013 Hi : Sirs I found a technical paper introducing Named pipes to share data bidirectionally synchronously or asynchronously for GUI front-end on a command-line app. Dr. Dobb's Web site : Using Named Pipes to Connect a GUI to a Console App in Windows Quote
Recommended Posts
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.