
These examples demonstrate the OCP specific TL2 channel.

To use these examples, you will need to do the following:

1) Edit the SYSTEMC variable in the Makefile included in this directory 
   to point to the directory where systemc is installed in your environment.
   Edit also TARGET_ARCH variable.

2) run gmake -f Makefile.original

3) This will create the example programs in the current directory.

4) run the programs as follows:
> ./simple_example
> ./simple_example_loop_no_log 
> ./simple_event_loop_no_log 
> ./simple_event_loop_newAPI

More information on the examples:

simple_example:
Two simple thread-based scripted cores send a few blocking calls across a 
TL2 channel.

simple_example_loop_no_log:
Same as the simple example except that the master now loops through its 
commands, issuing the same set of requests over and over in order to test
the performance of the channel. Because this is a performance test, logging
is disabled.

simple_event_loop_no_log:
Another "simple" performance test. This time, both master and slave have
been rewritten to use SC_Methods with static sensitivity.

simple_event_loop_newAPI:
This is same as simple_event_loop_no_log but with the new OCP TL2 API
instead of the original OCP TL2 API. For illustrative purposes, the 
original OCP TL2 API commands are kept as comment statements so that the
new TL2 API commands can be seen in the context of the original API.

