Wednesday, February 2, 2011

SystemC on Mac

SystemC works on Mac!

Thanks to the folks at Logic Poet, SystemC on Mac is much easier than on Windows and Linux. Get then installer here and install it. You know how to install an app in Mac, don't you? don't you?

The important files are installed in /Library/SystemC/Current.
For your compulsory Hello World in SystemC, first create a New Project by keying Shift-Apple-N. When you get this dialog, choose SystemC app:

You can also see there's other types of SystemC projects available including TLM and AMS. Anyway, you'll get a dummy program FOC. Let's name the project "sc_hello". You will then get this:

Build it by hitting Apple-B. Run it by clicking on Product->sc_hello on the control pane on the left:

Congratulations! Now you can forget about SystemC on Linux, or gasp, on Visual Studio!...

2 comments:

  1. Hi,
    after I installed this Suit, indeed they are in /Library/SystemC/Current.

    but when i want to create a new project, there is no choice about SystemC in the template liste as you showed in the second picture..

    so what could be the problem??
    Thans

    ReplyDelete
  2. I have the same problem as well. Can someone help?
    Thx

    ReplyDelete