
This is a simple example to demonstrate OCP TL1 channel constructors

To use this example, 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.

3) This will create the program "ocp_tl1" in the current directory.

4) run the program as follows:
> ./ocp_tl1 ocpParams 1 1 1 ocp0.ocp ocp1.ocp ocp2.ocp ocp3.ocp ocp4.ocp ocp5.ocp

There are 6 master-slave pairs connected with differently configured channels.
The pair number 0 is demonstrating erroneous use of TL1 blocking calls,
and causes an error message always. The rest of the pairs either work or
not depending on the command line parameters.

The parameters of the OCP are in the file "ocpParams." 
The first two numbers are boolean flags, which turn on or off default event
and channel events. Setting them to 0 causes various error messages.
The third number is clock period in nanoseconds for some of the channels
in the simulation. Setting clock period to 0 causes also error messages.

5) If OCP Monitor is installed: Look at the output OCP Monitor files: ocp*.ocp

-Enjoy
