Home > SytemC Tutorials > Running the SystemC TLM2 Examples

Running the SystemC TLM2 Examples

This short tutorial is for those of you eager to run TLM 2 examples inside SCLive 3.0.
I will take an arbitrary example here to illustrate the simple procedure.

1) Open a terminal window and navigate to the examples directory:

cd ~/software/TLM-2009-07-15/examples/tlm/lt/

2) In there you will find the src (source directory) as well as the build-unix directory. Go to the build-unix directory and execute the makefile.

cd build-unix
make run

3) This will compile and link the example. Finally this will run the resulting executable (lt.exe) example inside the terminal window. Alternatively you can run the executable yourself by typing:

./lt.exe | less

4) To clean up the directory simply execute the command:

make clean

Et Voila!

David Cabanis

About these ads
Categories: SytemC Tutorials
  1. February 11, 2013 at 10:42 am | #1

    In the Unix file system, the uppermost directory is known as the root directory (see Figure 2). All other directories are located under the root directory. An absolute pathname starts with a slash (/) to represent the root directory, then traces a path through the file system to a specific file or directory. You can specify any file or directory in the file system by means of its absolute pathname.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: